Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: Joe Mario <mario@zk3.dec.com>
To: Satish Balay <balay@maverick.mcs.anl.gov>
Cc: mario
Subject: Re: How do I pass flags to ld from cc??
Date: 1996/09/09	[thread overview]
Message-ID: <323447B5.41C6@zk3.dec.com> (raw)
In-Reply-To: 8419537168630@maverick.mcs.anl.gov


Satish Balay wrote:
 
>         I need to pass the ld flag -rpath from cc, and I tried:
>         cc -rpath PATH -o outputfile [ other_cc_stuff]
...
>         Is there an option equivalent to gcc's -Wl for cc?

-Wl, will work.  The cc(1) manpage describes which -Wx, options map
to which phases of the compilation.

For example, the following cc line will pass the -v verbose flag
to the linker.
	cc a.c -Wl,-v

Joe



      reply	other threads:[~1996-09-09  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-09-05  4:00 How do I pass flags to ld from cc?? Satish Balay
1996-09-09  4:00 ` Joe Mario [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox