[fpc-devel] NoGlobals branch
jonas.maebe at elis.ugent.be
Tue Aug 31 10:25:31 CEST 2010
On 31 Aug 2010, at 00:45, Hans-Peter Diettrich wrote:
> Jonas Maebe schrieb:
>>> D:/repos/NoGlobals/compiler/ppc2.exe -Fux86_64 -Fusystems -Fu../
>>> rtl/units/x86_64-win64 -Fix86_64 -FE. -FUx86_64/units/x86_64-
>>> win64 -dx86_64 -dGDB -dBROWSERLOG -Fux86 pp.pas
>>> in contrast too a later
>>> D:/repos/NoGlobals/compiler/ppcx64.exe -Fu.. -Fu../../rtl/units/
>>> x86_64-win64 -FE. -FUunits/x86_64-win64 -dx86_64 ppudump.pp -Fu../
>>> x86_64 -Fi..
>> ppudump (and the Makefile that builds it, and hence the "current
>> working directory" when compiling it) is located in compiler/utils,
>> and hence an extra "../" is required compared to when building the
>> compiler itself.
> Right, looking in the wrong place :-(
> The real problem seems to be the difference between
> -Fux86 (receives .o and .ppu files)
> -Fu../x86_64 (no .o and .ppu files)
> where building the trunk uses /i386 in both cases.
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.
More information about the fpc-devel