Questions related to our use of crtbegin{,S,T}.o

Alexander Leidinger Alexander at Leidinger.net
Fri Feb 18 12:21:51 GMT 2005


Hi,

I'm investigating an issue in icc regarding crtbeginT.o. We don't have this,
but based upon reading /usr/src/contrib/gcc/Makefile.in it seems to be
needed for linking "gcc -static" compiles (and icc references it in static
C++ compiles only)... but maybe not on FreeBSD.

Our gcc uses crtbegin.o in any case (excluding linking shared libs here, I
haven't looked at how [gi]cc behave there), icc links with crtbeginT.o in
the -static case.

I've looked at crtstuff.c and it seems crtbeginT.o is the same as crtbegin.o
in our case. Can anyone familiar with those internals confirm this or
explain me some things I may have misinterpreted?

Bye,
Alexander.

-- 
http://www.Leidinger.net  Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org     netchild @ FreeBSD.org  : PGP ID = 72077137
I really had to act; 'cause I didn't have any lines.
		-- Marilyn Chambers



More information about the freebsd-current mailing list