problem with m68k-elf-gcc
amitvikram muttigi
amitvik@hotmail.com
Sun May 11 08:43:00 GMT 2003
Hi all,
I ve built m68k-elf-gcc on latest version of cywin running on win 2k. I
followed "build gnu tools for arm-elf" document of Bill Gatlliff and used
sources of gcc2.95.3, binutils 2.11.2 and newlib1.11.0. But now the
m68k-elf-gcc compiler doesnt work at all. Even for a simple program it gives
error as follows:
/m68kelf/m68k-elf/bin/ld: warning: cannot find entry symbol _start:
defaulting to 80000074
/m68kelf/m68k-elf/lib/crt0.o: In function 'start':
/m68kelf/m68k-elf/lib/crt0.o(.text+0x2): undefined reference to '__stack'
/m68kelf/m68k-elf/lib/crt0.o(.text+0x58): undefined reference to
'__FINI_SECTION__'
/m68kelf/m68k-elf/lib/crt0.o(.text+0x38): undefined reference to
'hardware_init_hook'
/m68kelf/m68k-elf/lib/crt0.o(.text+0x48): undefined reference to
'software_init_hook'
/m68kelf/m68k-elf/lib/crt0.o(.text+0x5e): undefined reference to 'atexit'
/m68kelf/m68k-elf/lib/crt0.o(.text+0x64): undefined reference to
'__INIT_SECTION__'
/m68kelf/m68k-elf/lib/crt0.o(.text+0x84): undefined reference to 'exit'
/m68kelf/lib/gcc-lib/lib/m68k-elf/2.95.3/libgcc.a(__main.o): In function
__do global_ctors':
/cygdrive/d/crossgccsrc/gcc-2.95.3/gccobj/gcc/../../gcc/libgcc2.c(.text+0x3a):undefined
reference to 'atexit'
collect2: ld returned 1 exit status
This same error was reported by Dipak Jha way back in Aug 2002 but I didnt
find any solutions in the mailing list. Can please somebody help me.
Thanks in advance.
Bye
Amitvikram M.
Deepti Electronics & Electro Optics Pvt. ltd
Bangalore
_________________________________________________________________
Take this "News" quiz. Win cool prizes.
http://server1.msn.co.in/sp03/cnn/index.asp Click 'n play!
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list