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
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel