[fpc-pascal] make fpc

Brian Winfrey bwcode4u at gmail.com
Mon Nov 22 17:48:01 CET 2010


On Mon, Nov 22, 2010 at 1:48 AM, Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:
>
> On 21 Nov 2010, at 19:03, Brian Winfrey wrote:
>
>> What version should fpc display (Revision: 16393).
>>
>> When I get latest and make /usr/bin/fpc is at version 2.4.2.
>>
>> fpc -vut dummy.pas
>> ...
>> Compiler: /usr/lib/fpc/2.4.2/ppc386
>> Using executable path: /usr/lib/fpc/2.4.2/
>> Using unit path: /usr/lib/fpc/2.4.2/units/i386-linux/rtl/
>> ...
>>
>> The output indicates that 2.4.3 directories are created and 2.4.3
>> compiler is used.
>>
>> I run
>>  make clean build && make install INSTALL_PREFIX="/usr"
>
> There are two separate things: the installed FPC versions, and the default
> FPC version. The default FPC version is determined by the symbolic links
> /usr/bin/ppc386, /usr/bin/ppcx64 etc (or /usr/local/bin/ppc386 etc on
> non-Linux). A "make install" will add a new FPC version, but it does not
> make it the default. If you want to do that, change the symlinks to point to
> the new compiler version. The "fpc" utility is only a wrapper that calls
> through to ppc386/ppcx64/... and has no version itself.
>
>
> Jonas
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>

I thought there was a sym link involved, but I mis-remembered it being
fpc.  That clears it up thanks.

Brian



More information about the fpc-pascal mailing list