Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-12

make[4]: i386-win32-as: (command not found)

6 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Osvaldo Filho

*make[4]: i386-win32-as: *Comando n?o encontrado *(command not found)*

===========
make clean all CPU_TARGET=i386 OS_TARGET=win32
make install CPU_TARGET=i386 OS_TARGET=win32 PREFIX=/home/fpc_inst/fpc_win32 FPC_VERSION=2.4.3

============== result ===========
make -C hermes smart
make[3]: Entrando no diret?rio
`/home/deskxu/DevPascal/fpc_inst_scripts/fpc/packages/hermes' make all LINKSMART=1 CREATESMART=1
make[4]: Entrando no diret?rio
`/home/deskxu/DevPascal/fpc_inst_scripts/fpc/packages/hermes' i386-win32-as --32 -o units/i386-win32/mmx_clr.o src/i386/mmx_clr.as *make[4]: i386-win32-as: Comando n?o encontrado* (command not found) make[4]: ** [mmx_clr.o] Erro 127
make[4]: Saindo do diret?rio
`/home/deskxu/DevPascal/fpc_inst_scripts/fpc/packages/hermes' make[3]: ** [fpc_smart] Erro 2
make[3]: Saindo do diret?rio
`/home/deskxu/DevPascal/fpc_inst_scripts/fpc/packages/hermes' make[2]: ** [hermes_smart] Erro 2
make[2]: Saindo do diret?rio
`/home/deskxu/DevPascal/fpc_inst_scripts/fpc/packages' make[1]: ** [packages_smart] Erro 2
make[1]: Saindo do diret?rio `/home/deskxu/DevPascal/fpc_inst_scripts/fpc' make: ** [build-stamp.i386-win32] Erro 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20101207/203e36ed/attachment.html>

Reply by email

Henry Vermaak
to Osvaldo Filho

2010/12/7 Osvaldo Filho :

make[4]: i386-win32-as: Comando n?o encontrado (command not found)

Posting to another list is not going to change the solution to the problem. You somehow need to install cross binutils for win32. Either find some pre-built binaries, or build it yourself (which is surprisingly easy).

Henry

Reply by email

Osvaldo Filho
to Henry Vermaak

My system:

=========
desktop:~$ dpkg -l *binutil*
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Nome Vers?o Descri??o
+++-==============-==============-============================================ ii binutils 2.20.51.201009 The GNU assembler, linker and binary utiliti
un binutils-doc <nenhuma> (nenhuma descri??o dispon?vel) un binutils-gold <nenhuma> (nenhuma descri??o dispon?vel) un elf-binutils <nenhuma> (nenhuma descri??o dispon?vel) ii mingw32-binuti 2.20-0.1 Minimalist GNU win32 (cross) binutils =========
=========

desktop:~$ dpkg -l *mingw*
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Nome Vers?o Descri??o
+++-==============-==============-============================================ un gcc-mingw32 <nenhuma> (nenhuma descri??o dispon?vel) ii mingw-w64 0~20100125-3fa Minimalist GNU w64 (cross) runtime ii mingw32 4.2.1.dfsg-2ub Minimalist GNU win32 (cross) compiler ii mingw32-binuti 2.20-0.1 Minimalist GNU win32 (cross) binutils ii mingw32-runtim 3.15.2-0ubuntu Minimalist GNU win32 (cross) runtime

2010/12/7 Henry Vermaak

Show quoted text 16 lines
2010/12/7 Osvaldo Filho : > make[4]: i386-win32-as: Comando n?o encontrado (command not found) Posting to another list is not going to change the solution to the problem. You somehow need to install cross binutils for win32. Either find some pre-built binaries, or build it yourself (which is surprisingly easy). Henry -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20101207/df9966ba/attachment.html>

Reply by email

Henry Vermaak
to Osvaldo Filho

2010/12/7 Osvaldo Filho :

Show quoted text 16 lines
My system: ========= desktop:~$ dpkg -l *binutil* Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Nome?????????? Vers?o??????? Descri??o +++-==============-==============-============================================ ii? binutils?????? 2.20.51.201009 The GNU assembler, linker and binary utiliti un? binutils-doc?? <nenhuma>????? (nenhuma descri??o dispon?vel) un? binutils-gold? <nenhuma>????? (nenhuma descri??o dispon?vel) un? elf-binutils?? <nenhuma>????? (nenhuma descri??o dispon?vel) ii? mingw32-binuti 2.20-0.1?????? Minimalist GNU win32 (cross) binutils

Did you pass the correct binutils prefix to make, like I mentioned?

Henry

Reply by email

Henry Vermaak
to Henry Vermaak
Henry Vermaak wrote 19 lines
2010/12/7 Osvaldo Filho : > My system: > > ========= > desktop:~$ dpkg -l *binutil* > Desired=Unknown/Install/Remove/Purge/Hold > | > Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend > |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) > ||/ Nome?????????? Vers?o??????? Descri??o > +++-==============-==============-============================================ > ii? binutils?????? 2.20.51.201009 The GNU assembler, linker and binary > utiliti > un? binutils-doc?? <nenhuma>????? (nenhuma descri??o dispon?vel) > un? binutils-gold? <nenhuma>????? (nenhuma descri??o dispon?vel) > un? elf-binutils?? <nenhuma>????? (nenhuma descri??o dispon?vel) > ii? mingw32-binuti 2.20-0.1?????? Minimalist GNU win32 (cross) binutils Did you pass the correct binutils prefix to make, like I mentioned?

Just to elaborate. If you do this:

dpkg-query -L mingw32-binutils | grep as

You'll see this (hopefully):

/usr/bin/amd64-mingw32msvc-as
/usr/bin/i586-mingw32msvc-as
/usr/amd64-mingw32msvc/bin/as
/usr/share/man/man1/i586-mingw32msvc-as.1.gz
/usr/share/man/man1/amd64-mingw32msvc-as.1.gz
/usr/i586-mingw32msvc/bin/as

By default, the Makefile uses
BINUTILSPREFIX=$(CPU_TARGET)-$(OS_TARGET)-. So, for x86 you can pass BINUTILSPREFIX=i586-mingw32msvc- to make so that it finds the correct binutils.

Henry

Reply by email

Osvaldo Filho
to Henry Vermaak

Solved:

ln -s i586-mingw32msvc-as i386-win32-as

2010/12/7 Henry Vermaak

Show quoted text 49 lines
On 7 December 2010 20:16, Henry Vermaak wrote: > 2010/12/7 Osvaldo Filho : >> My system: >> >> ========= >> desktop:~$ dpkg -l *binutil* >> Desired=Unknown/Install/Remove/Purge/Hold >> | >> Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend >> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) >> ||/ Nome Vers?o Descri??o >> +++-==============-==============-============================================ >> ii binutils 2.20.51.201009 The GNU assembler, linker and binary >> utiliti >> un binutils-doc <nenhuma> (nenhuma descri??o dispon?vel) >> un binutils-gold <nenhuma> (nenhuma descri??o dispon?vel) >> un elf-binutils <nenhuma> (nenhuma descri??o dispon?vel) >> ii mingw32-binuti 2.20-0.1 Minimalist GNU win32 (cross) binutils > > Did you pass the correct binutils prefix to make, like I mentioned? Just to elaborate. If you do this: dpkg-query -L mingw32-binutils | grep as You'll see this (hopefully): /usr/bin/amd64-mingw32msvc-as /usr/bin/i586-mingw32msvc-as /usr/amd64-mingw32msvc/bin/as /usr/share/man/man1/i586-mingw32msvc-as.1.gz /usr/share/man/man1/amd64-mingw32msvc-as.1.gz /usr/i586-mingw32msvc/bin/as By default, the Makefile uses BINUTILSPREFIX=$(CPU_TARGET)-$(OS_TARGET)-. So, for x86 you can pass BINUTILSPREFIX=i586-mingw32msvc- to make so that it finds the correct binutils. Henry -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20101208/0e7dc4cf/attachment.html>

Reply by email