From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,acc9ab61bd1d843f,start X-Google-Attributes: gidf678f,public X-Google-Thread: 14754d,acc9ab61bd1d843f,start X-Google-Attributes: gid14754d,public From: balay@maverick.mcs.anl.gov (Satish Balay) Subject: How do I pass flags to ld from cc?? Date: 1996/09/05 Message-ID: <8419537168630@maverick.mcs.anl.gov>#1/1 X-Deja-AN: 178723421 distribution: world organization: Argonne National Laboratory, Chicago, Illinois newsgroups: comp.unix.osf.misc,comp.unix.osf.osf Hi, I need to pass the ld flag -rpath from cc, and I tried: cc -rpath PATH -o outputfile [ other_cc_stuff] This does'nt work. Using gcc, I could do: gcc -Wl,-rpath,PATH -o outputfile [ other_cc_stuff] Is there an option equivalent to gcc's -Wl for cc? I'm using a OSF1, V3.2 41 alpha Thanks. Satish Balay