On Wed, Jun 2, 2010 at 4:16 AM, CA Gorski <[email protected]> wrote: > When I try to compile Graphics32 (http://graphics32.org) against carbon I > get > > Error: Generating PIC, but reference is not PIC-Safe > > for GR32_Blend.pas > lea edi, [eax+DivTable] > > Why is FPC generating PIC here?
It's default mode for darwin target. Try to compile the project with the additional compiler option (Project Compiler Options->Other->Custom options): -Cg- This should disable PIC code generation. fpc-pascal mailing list is the better place to ask about it: http://lists.freepascal.org/mailman/listinfo/fpc-pascal thanks, dmitry -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
