This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Sysroot library search tweak


On Wed, Aug 20, 2003 at 11:32:57PM +0200, Marc Espie wrote:
> On Wed, Aug 20, 2003 at 04:07:48PM -0400, Daniel Jacobowitz wrote:
> > On Wed, Aug 20, 2003 at 12:59:21PM -0700, Geoff Keating wrote:
> > > - You need to update the documentation
> > >
> > > - STANDARD_STARTFILE_PREFIX is defined in some machine-specific files,
> > >   please check that you didn't break them
> > > 
> > > - We should search sysroot/STANDARD_STARTFILE_PREFIX instead, does that work?
> > 
> > Argh.  When I wrote this I checked for other definitions and did not
> > find any - I must have missed openbsd.h and netbsd.h.  The patch is
> > wrong, in that case.
> > 
> > I'm not sure what to do with this.  Those are the only two definitions
> > in the tree, and they're wrapped with:
> > 
> > /* NETBSD_NATIVE is defined when gcc is integrated into the NetBSD
> >    source tree so it can be configured appropriately without using
> >    the GNU configure/build mechanism.  */
> > 
> > #ifdef NETBSD_NATIVE
> > 
> > 
> > Jason, is this code still used for NetBSD?  Marc, how about for OpenBSD?
> 
> Yes, this code is used under OpenBSD.
> We really need to be able to override STANDARD_STARTFILE_PREFIX to point
> at /usr/lib.

Thanks.  In that case, you're probably missing an #undef in openbsd.h
to match the one in netbsd.h - don't you get warnings about that?

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]