From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,a5ecfa241d9de067 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-07-25 08:09:16 PST Newsgroups: comp.unix.osf.osf1 Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!agate!darkstar.UCSC.EDU!news.hal.COM!olivea!decwrl!pa.dec.com!datum.nyo.dec.com!niagara.nyo.dec.com!frank From: frank@niagara.nyo.dec.com (Frank Wortner) Subject: Re: Passing flags from cc to ld Message-ID: <1994Jul25.143303.27125@datum.nyo.dec.com> Keywords: cc ld dynamic linker rpath Sender: usenet@datum.nyo.dec.com (USENET News System) Reply-To: frank@nyo.dec.com Organization: Digital Equipment Corporation X-Newsreader: mxrn 6.18-16 References: Date: Mon, 25 Jul 1994 14:33:03 GMT In article , jrozes@musketeers.tufts.edu (Jonathan Rozes) writes: |>What I need is something like gcc's -Xlinker switch that tells |>cc to ust blindly pass the next argument to the linker. Try something like this: cc -Wl,-rpath,/some/where ... CC replaces the commas "," with spaces before passing the options to the linker. GCC also accepts the same syntax for passing linker options. Frank