[fpc-devel]Stable tree broken for FreeBSD? [maintenance ramblings]

Peter Vreman peter at freepascal.org
Thu Mar 20 09:04:58 CET 2003


> Hi,
>
> using the fixes branch from this morning I try:
>
> OS_TARGET=freebsd gmake all
>
> which ends in:
>
> ppc386 -dUNIX  -dNOMOUSE -dNOGPM -Xs -OG2p3 -n -Fi../inc -Fi../i386
> -Fi../unix -FE. -di386 -dRELEASE -I../objpas ../unix/sysutils.pp
> fina.inc(101,11) Error: Identifier not found DOS
> fina.inc(101,15) Error: Illegal qualifier
> fina.inc(101,22) Fatal: Syntax error, ; expected but ( found
> gmake[4]: *** [sysutils.ppu] Error 1
> gmake[4]: Leaving directory
> `/usr/home/asmodai/software/fpc/fpc-test/rtl/freebsd'
>
> Which is logical, hasunix is not set, so fina.inc skips to the DOS part
> of the code.
>
> I guess hasunix in the ifdef part of fina.inc checks the -dHASUNIX
> passed to fpc.

There was a problem with the RTL that files from the main branch and fixes
branch got mixed up. At least the HASUNIX is a main branch thing.


> In rtl/freebsd/Makefile I don't get this:
>
> ifeq ($(findstring 1.0.2,$(FPC_VERSION)),)
> ifeq ($(findstring 1.0.4,$(FPC_VERSION)),)
> override FPCOPT+=-Ur
> endif
> endif
>
> 1.0.4 has no -Ur, so I wonder, can this be stripped?

No, it does exactly what you say: no -Ur for 1.0.4 and 1.0.2. See the info
page of make for $(findstring x,y) information







More information about the fpc-devel mailing list