[fpc-pascal] FPC make all: as.exe not found unless in path

Reinier Olislagers reinierolislagers at gmail.com
Thu Feb 2 13:54:23 CET 2012


Hi all,

Tinkering with my bootstrap SVN updater/installer.
Directory layout:

c:\development\binutils: as.exe, make.exe etc
Got these from
http://svn.freepascal.org/svn/fpcbuild/tags/release_2_6_0/install/binw32/

c:\development\fpcbootstrap\ppc386.exe
from
ftp.freepascal.org/pub/fpc/dist/2.6.0/bootstrap/i386-win32-ppc386.zip

c:\development\fpc: fpc fixes_2.6 source

When I run this command:
C:\development\binutils\make.exe
FPC="c:\development\fpcbootstrap\ppc386.exe"
--directory="c:\development\fpc" UPXPROG=echo COPYTREE=echo all

When I add c:\development\binutils to the path, it does seem to work.

How can I solve this, e.g.:
1. Would moving ppc386.exe to the binutils dir help?
2. Can I modify the path on the fly (I recall that will be
difficult/impossible to do on Linux/OSX anyway)?
3. Is there some option I can pass to make to let it find the right
binutils?
4. Something else I haven't thought about?

Thanks,
Reinier



More information about the fpc-pascal mailing list