mips-elf-g++ link error
ChengHsin Hsu
chs@lucent.com
Thu Apr 25 06:54:00 GMT 2002
hi,
You may need to assign a link script.
Please refer to http://sources.redhat.com/ml/newlib/2001/msg00407.html
Thanks,
Bear.
S Sathyanarayanan wrote:
>Hi ,
>
>I have successfully build a gcc compiler for mips-elf target with
>newlib.
>
>While i try to compile a simple helloworld program,it gives me following
>errors,
>/mnt/engr224/sankhya/gnu/release/sathyas/cross/mips/binutils2/mips-elf/lib/crt0.
>o: In function `zerobss':
>/mnt/engr224/sankhya/gnu/src/views/sathyas/src/gnu/gcc-2.95/libgloss/mips/crt0.S
>(.text+0xac): undefined reference to `get_mem_info'
>/mnt/engr224/sankhya/gnu/src/views/sathyas/src/gnu/gcc-2.95/libgloss/mips/crt0.S
>(.text+0xb4): undefined reference to `__stack'
>/mnt/engr224/sankhya/gnu/src/views/sathyas/src/gnu/gcc-2.95/libgloss/mips/crt0.S
>(.text+0xb8): undefined reference to `__stack'
>/mnt/engr224/sankhya/gnu/release/sathyas/cross/mips/binutils2/mips-elf/lib/crt0.
>o: In function `init':
>/mnt/engr224/sankhya/gnu/src/views/sathyas/src/gnu/gcc-2.95/libgloss/mips/crt0.S
>(.text+0xdc): undefined reference to `hardware_init_hook'
>.............
>
>Please clarify.
>
>Thanks,
>sathyas
>
>
>
>------
>Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
>Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
>
------
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