[fpc-devel] NoGlobals branch
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Tue Aug 31 21:00:23 CEST 2010
Jonas Maebe schrieb:
> The -FU (note the capital U) parameter specifies where the compiled
> units are stored (-FUx86_64/units/x86_64-win64). If you have .o and .ppu
> files in the x86 directory, you put them there yourself somehow (either
> on the command line or by modifying the default Lazarus project file),
> because the Makefile and the default Lazarus project file in svn do not
> put any files there. You will have to manually delete them.
Okay, these files are from my ppnew.lpi.
Now I tried again, for the default target. For some reason compiler
units are compiled into multiple directories:
D:/FPC/2.4.0/bin/i386-win32/ppc386.exe -Ur -Xs -O2 -n -Fui386 -Fusystems
-FuD:/repos/NoGlobals/rtl/units/i386-win32 -Fii386 -FE.
-FUi386/units/i386-win32 -dRELEASE -di386 -dGDB -dBROWSERLOG -Fux86 pp.pas
--> x86/cpubase and i386/cpuinfo in i386/units/i386-win32
Later on this one fails:
D:/repos/NoGlobals/compiler/ppc386.exe -Ur -Xs -O2 -n -Fu..
-FuD:/repos/NoGlobals/rtl/units/i386-win32 -FE. -FUunits/i386-win32
-di386 -dRELEASE ppudump.pp -Fu../i386 -Fi..
Fatal: Can't find unit cpubase used by node
--> cpuinfo *also* in utils/units/i386-win32, but *not* cpubase
Inspecting the trunk directory, after make all, both cpubase and cpuinfo
binaries are in i386/units/i386-win32 - how that?
D:/repos/fpc-2.5.trunk/compiler/ppc386.exe -Ur -Xs -O2 -n -Fu..
-FuD:/repos/fpc-2.5.trunk/rtl/units/i386-win32 -FE. -FUunits/i386-win32
-di386 -dRELEASE ppudump.pp -Fu../i386 -Fi..
I cannot see any -Fu../x86 here, so how can x86/cpubase be found here?
DoDi
More information about the fpc-devel
mailing list