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

Tomas Hajny XHajT03 at hajny.biz
Thu Feb 2 14:53:18 CET 2012


On Thu, February 2, 2012 13:58, Reinier Olislagers wrote:
> Wooops... see inline
> On 2-2-2012 13:54, Reinier Olislagers 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
> I get
> Error: Assembler as.exe not found...
> and make errors out
>>
>> 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?

I assume that you're aware of the compiler option -FD (which can be passed
to makefiles e.g. using "OPT=-FD..." or by having it in fpc.cfg unless
using option -n too), right?

Tomas





More information about the fpc-pascal mailing list