This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: error with m68k-elf


Have you configured, built, and installed binutils first?
Building gcc actually runs binutils tools, and the 386
errors you're getting might be from the 'host' binutils.

Helfried Tschemmernegg wrote:
> 
> Hi!
> 
> I have configured GCC with ./configure --target=m68k-elf
> 
> But when I call make all install I get the following error:
> 
> ./opcodes/.libs/libopcodes.a(disassemble.o): In function `disassembler':
> /usr/src/binutils-2.10/opcodes/./disassemble.c:142: undefined reference to
> `print_insn_i386_att'
> /usr/src/binutils-2.10/opcodes/./disassemble.c:140: undefined reference to
> `print_insn_i386_intel'
> collect2: ld returned 1 exit status
> make[3]: *** [objdump.exe] Error 1
> make[3]: Leaving directory `/usr/src/binutils-2.10/binutils'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/src/binutils-2.10/binutils'
> make[1]: *** [all-recursive-am] Error 2
> make[1]: Leaving directory `/usr/src/binutils-2.10/binutils'
> make: *** [all-binutils] Error 2
> 
> Did I configure GCC incorrectly or is it another problem. I work with
> Cygwin running on Windows NT.
> 
> thank you
>   Helfried
> 
> --
> Sent through GMX FreeMail - http://www.gmx.net

-- 
*******************************************
*   Russell Shaw, B.Eng, M.Eng(Research)  *
*      email: russell@webaxs.net          *
*      Australia                          *
*******************************************

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]