Article View: gnu.gcc.help
Article #52240Re: gcc2.3.3 on Solaris2.1 and run-time search path
From: Greg Onufer
Date: Thu, 14 Jan 1993 20:57
Date: Thu, 14 Jan 1993 20:57
16 lines
1373 bytes
1373 bytes
In <1993Jan13.174149.26740@jarvis.csri.toronto.edu> edwin@csri.toronto.edu (Edwin Allum) writes: >Is there gcc2.3.3 support for the run-time search path LD_RUN_PATH and/or >preferably the Solaris2.1 cc -R run-time library search path option. An easy work-around is to just call the compiler during the link phase like: foo: foo.o bar.o LD_RUN_PATH=/foo/bar gcc -o foo foo.o bar.o The linker will use the environment variable or get the information passed in from the compiler front end. Since gcc doesn't yet support the -R flag, I've just set the environment variable while linking. This method works with both compilers. Cheers!greg
Technical Details
Message-ID:
<llbktfINNhs2@exodus.Eng.Sun.COM>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!spool.mu.edu!uwm.edu!cs.utexas.edu!sun-barr!male.EBay.Sun.COM!exodus.Eng.Sun.COM!crackle!exodusReferences:
<1993Jan13.174149.26740@jarvis.csri.toronto.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,38dbc19e7660e21e X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-01-14 16:11:35 PST Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!spool.mu.edu!uwm.edu!cs.utexas.edu!sun-barr!male.EBay.Sun.COM!exodus.Eng.Sun.COM!crackle!exodus From: exodus@crackle.Eng.Sun.COM (Greg Onufer) Newsgroups: gnu.gcc.help Subject: Re: gcc2.3.3 on Solaris2.1 and run-time search path Date: 14 Jan 1993 20:57:19 GMT Organization: Sun Microsystems Inc., Mountain View, CA Lines: 16 Distribution: usa Message-ID: <llbktfINNhs2@exodus.Eng.Sun.COM> References: <1993Jan13.174149.26740@jarvis.csri.toronto.edu> NNTP-Posting-Host: crackle Keywords: solaris