Can't link with crtend.o
Daniel Kegel
dank@kegel.com
Thu Feb 26 10:59:00 GMT 2004
Alexander Gdalevich wrote:
> I am trying to build an executable, but my linker complains about an
> : undefined reference to `___do_global_ctors_aux'
>
> This function is defined in crtend.o which I am including in the
> build... Furthermore, I am instructing linker to generate a map file,
> and according to the map file the code for crtend.o does get placed into
> the .text section of the output.
What versions of gcc and binutils are you using,
and how did you build them?
Maybe you could post a minimal test case?
- Dan
------
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