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

From: Alexander Leidinger <Alexander_at_Leidinger.net>
Date: Fri, 18 Feb 2005 20:44:09 +0100
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 _at_ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7
Received on Fri Feb 18 2005 - 18:43:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:28 UTC