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

Osvaldo Filho arquivostcf at gmail.com
Wed Dec 8 16:55:55 CET 2010


Solved:

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

2010/12/7 Henry Vermaak <henry.vermaak at gmail.com>

> On 7 December 2010 20:16, Henry Vermaak <henry.vermaak at gmail.com> wrote:
> > 2010/12/7 Osvaldo Filho <arquivostcf at gmail.com>:
> >> 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
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20101208/0e7dc4cf/attachment-0003.html>


More information about the Lazarus mailing list