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

Alexander Leidinger Alexander at Leidinger.net
Fri Feb 18 19:43:31 GMT 2005


On Fri, 18 Feb 2005 09:52:34 -0800 (PST)
Doug White <dwhite at gumbysoft.com> wrote:

> On Fri, 18 Feb 2005, Alexander Leidinger wrote:
> 
> > 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.
> 
> That makefile is not used so you're looking in the wrong spot. :)  Thats
> the one that ships from the vendor, which we retain for completeness, but

And this Makefile should represent the intend of the vendor. May not
follow it completely, but it should give a hint what Intel intends to do
in icc.

> the actual build Makefile is in src/gnu/usr.bin/cc.

# grep -R crtbegin /usr/src/gnu/usr.bin/cc/
[empty result]

It's in /usr/src/gnu/lib/csu/Makefile, and it seems to do the same what
/usr/src/contrib/gcc/Makefile.in does regarding crtbegin.o and
crtbeginS.o (it's name crtbegin.So in src/gnu/lib/csu/Makefile).

Bye,
Alexander.

-- 
      ...and that is how we know the Earth to be banana-shaped.

http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7


More information about the freebsd-current mailing list