[fpc-devel] NoGlobals branch

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Aug 30 14:09:01 CEST 2010


On 20 Aug 2010, at 12:20, Hans-Peter Diettrich wrote:

> 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..
>
> which results in
>
> Fatal: Can't find unit cpubase used by node
>
> IMO there is one "../" too  much in the -Fu paths.

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.


Jonas



More information about the fpc-devel mailing list