Re: [fpc-pascal] FPC make all: as.exe not found unless in path
On 2-2-2012 14:48, Henry Vermaak wrote: > On 02/02/12 13:37, Reinier Olislagers wrote: >> >> 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': > > It's trying to create the install directory. You probably want to > provide it with a prefix of some sort to tell it where to do that. Use > INSTALL_PREFIX. > > Marco's buildfaq is a very good resource for building fpc: > > http://www.stack.nl/~marcov/buildfaq.pdf Thanks, one of the reasons I'm writing this is because I keep forgetting what the build FAQ says, rereading it, getting confused and trying again ;) I see I'm actually passing PREFIX=c:\development\fpc in the make install step in my code I guess I should change that to INSTALL_PREFIX=c:\development\fpc Thanks again, Reinier ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] FPC make all: as.exe not found unless in path
On 02/02/12 13:37, Reinier Olislagers wrote: 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': It's trying to create the install directory. You probably want to provide it with a prefix of some sort to tell it where to do that. Use INSTALL_PREFIX. Marco's buildfaq is a very good resource for building fpc: http://www.stack.nl/~marcov/buildfaq.pdf Henry ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] FPC make all: as.exe not found unless in path
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 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] FPC make all: as.exe not found unless in path
On Thu, Feb 2, 2012 at 9:54 AM, 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 > > 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 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] FPC make all: as.exe not found unless in path
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. Henry ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] FPC make all: as.exe not found unless in path
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. Henry ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] FPC make all: as.exe not found unless in path
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 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal