Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!CS.BROWN.EDU!mlm From: mlm@CS.BROWN.EDU Newsgroups: gnu.g++.lib.bug Subject: Building libg++ Message-ID: <8903171626.AA04371@monaco.cs.brown.edu> Date: 17 Mar 89 16:26:00 GMT References: <13916.8903171453@merak> Sender: daemon@tut.cis.ohio-state.edu Reply-To: mlm@cs.brown.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 23 Turns out that gcc.c as distributed allows you to redefine STANDARD_STARTFILE_PREFIX to be any directory you want. It will check there and in /usr/local/lib for startup files, not in /usr/lib. Unfortunately, most system startup files live in /usr/lib, so unless you define STANDARD_STARTFILE_PREFIX to be /usr/lib, you'll lose. I changed the line in gcc.c char *standard_startfile_prefix_1 = "/usr/local/lib/"; to read char *standard_startfile_prefix_1 = "/usr/lib/"; This way I can specify my own startfile directory, without losing access to the system startup files. Moises ----------------------------------------------------------------------------- Internet/CSnet: mlm@cs.brown.edu BITNET: mlm@browncs.BITNET UUCP: ...!uunet!brunix!mlm Phone: (401)863-7664 USmail: Moises Lejter, Box 1910 Brown University, Providence RI 02912