[fpc-devel] Hitting bug 4733

Peter Vreman peter at freepascal.org
Fri Apr 7 11:02:41 CEST 2006


> On 07/04/06, Michael Van Canneyt <michael at freepascal.org> wrote:
>
> <snip>
>
>> > Now, brave as I am I checked out svn and tried to build the beast,
>> > with the -fPIC directive, but I failed miserably
>>
>> -fPIC is for gcc, ld erroneously assumes that the code comes from gcc
>> :-)
>>
>> > because I could simply not figure out where to set that flag. I tried
>> > different makefiles but none seemed to
>> > make it for me...
>> > (Generally, I am not even sure compiling with -fPIC will resolve my
>> problem...)
>>
>> No.
>>
>> I see that you have used version 2.0.0 of FPC. Can you try to use 2.0.2
>> ?
>
> I can try this out this evening, I'll keep you informed !

Forget 2.0.x. The PIC support is only in 2.1.1 with the -Cp switch.






More information about the fpc-devel mailing list