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]

Re: mips-elf-g++ link error


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


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