Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Feb 2005 20:44:09 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Doug White <dwhite@gumbysoft.com>
Cc:        current@freebsd.org
Subject:   Re: Questions related to our use of crtbegin{,S,T}.o
Message-ID:  <20050218204409.43a58ff5@Magellan.Leidinger.net>
In-Reply-To: <20050218094758.V59283@carver.gumbysoft.com>
References:  <20050218132054.mzsbi4yhzc4gcwck@netchild.homeip.net> <20050218094758.V59283@carver.gumbysoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 18 Feb 2005 09:52:34 -0800 (PST)
Doug White <dwhite@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050218204409.43a58ff5>