This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

problem with m68k-elf-gcc


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


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