[fpc-pascal] FPC make all: as.exe not found unless in path
Reinier Olislagers
reinierolislagers at gmail.com
Thu Feb 2 14:37:03 CET 2012
On 2-2-2012 14:07, Henry Vermaak wrote:
> On 02/02/12 13:02, Henry Vermaak wrote:
>> On 02/02/12 12:54, Reinier Olislagers wrote:
>>> 3. Is there some option I can pass to make to let it find the right
>>> binutils?
>>
>> You can pass CROSSBINDIR=/path/to/binutils.
>
> P.S. I realise you're not cross compiling, but setting CROSSBINDIR
> should still add the directory to -FD.
>
Thanks a lot, Henry,
That seems to work when testing "make all" on the command line; only
caveat is that a trailing \ does not work, so I have to make sure I
don't pass that ;)
However, when doing the same with make install:
C:\development\binutils\make.exe
FPC="c:\development\fpcbootstrap\ppc386.exe"
CROSSBINDIR="C:\development\binutils" --directory="c:\development\fpc"
UPXPROG=echo COPYTREE=echo install
I get
....
C:/development/binutils/make.exe -C importtl install
make.exe[4]: Entering directory `c:/development/fpc/utils/importtl'
C:/development/binutils/ginstall.exe -m 755 -d //bin
C:/development/binutils/ginstall.exe: cannot create directory `//bin':
No such f
ile or directory
make.exe[4]: *** [fpc_install] Error 1
make.exe[4]: Leaving directory `c:/development/fpc/utils/importtl'
make.exe[3]: *** [importtl_install] Error 2
Same error seems to happen when running make install without the
CROSSBINDIR option; perhaps something wrong at my end.
I'll delete the source directories and start over...
Amy tips?
Regards,
Reinier
More information about the fpc-pascal
mailing list