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

Marcos Douglas md at delfire.net
Thu Feb 2 14:08:03 CET 2012


On Thu, Feb 2, 2012 at 9:54 AM, Reinier Olislagers
<reinierolislagers at gmail.com> wrote:
>
> 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?

Please, see this:
http://wiki.freepascal.org/Installing_Lazarus#Compiling.2Finstalling_FPC_and_Lazarus_from_Sources_of_SVN_.28Win32.29

Marcos Douglas



More information about the fpc-pascal mailing list