This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

Re: cross gcc for pc windos x86 as host and powerpc as target



>/cygdrive/e/build-gcc/gcc/libgcc.a(eabi.o)(.got2+0x8): undefined reference to
>`__SDATA_START__'
>/cygdrive/e/build-gcc/gcc/libgcc.a(eabi.o)(.got2+0xc): undefined reference to
>`__SBSS_END__'
>/cygdrive/e/build-gcc/gcc/libgcc.a(eabi.o)(.got2+0x14): undefined reference to
>`__SDATA2_START__'
>/cygdrive/e/build-gcc/gcc/libgcc.a(eabi.o)(.got2+0x18): undefined reference to
>`__SBSS2_END__'

>Am i missing some startup file here ?
>I copied some target crt.o file to /usr/target/include directory.

Those four symbols are what are used bu eabi to define where the small
data/bss segments are.  the crt.o file you grabbed is probably the
wrong one. You could search the names in the crt.o files to see if any
of the define the missing symbols and then try linking with that
one...

-- 
Peter Barada                             pbarada@wavemark.com
Wizard                                   
WaveMark Technologies, Inc.              

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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