Article View: news.software.readers
Article #81048Re: [slrn] 0.9.7.1: IRIX compiling problem+solution
From: Daniel E. Macks
Date: Mon, 02 Jul 2001 15:57
Date: Mon, 02 Jul 2001 15:57
45 lines
2749 bytes
2749 bytes
Thomas Schultz <tststs@gmx.de> said:
>* Daniel E. Macks [2001-06-27 23:51] :
>[...]
>> IRIX ld uses -rpath instead of -R, and leaving out the comma makes cc
>> think that the whole thing is the flag, vs. flag with an argument
>
>gcc accepts the line with or without the comma, so I guess I can
>simply insert it for 0.9.7.2. AFAIK, -R is understood by more linkers
>than -rpath, so I'd like to stick to it if possible. GNU ld uses
>-rpath, but supports -R for compatibility. Does the same apply to the
>IRIX ld or do we need a test in configure?
It looks like IRIX likes things its own way.
Using SGI's precompiled gcc package, for which 'gcc -v' reports:
Reading specs from /usr/freeware/lib/gcc-lib/mips-sgi-irix6.2/2.95.2/specs
gcc version 2.95.2 19991024 (release)
here's what I get (sorry about the long lines):
gcc /tmp/slrn-0.9.7.1/src/objs/chkslang.o -o /tmp/slrn-0.9.7.1/src/objs/chkslang -L/usr/local/lib -Wl,-R/usr/local/lib -lslang -lm
(null): WARNING 1 : Unknown option: R/usr/local/lib (ignored).
gcc /tmp/slrn-0.9.7.1/src/objs/chkslang.o -o /tmp/slrn-0.9.7.1/src/objs/chkslang -L/usr/local/lib -Wl,-R,/usr/local/lib -lslang -lm
(null): WARNING 1 : Unknown option: R (ignored).
ld32: FATAL 9 : I/O error (/usr/local/lib): No such device
gcc /tmp/slrn-0.9.7.1/src/objs/chkslang.o -o /tmp/slrn-0.9.7.1/src/objs/chkslang -L/usr/local/lib -Wl,-rpath/usr/local/lib -lslang -lm
(null): WARNING 1 : Unknown option: rpath/usr/local/lib (ignored).
gcc /tmp/slrn-0.9.7.1/src/objs/chkslang.o -o /tmp/slrn-0.9.7.1/src/objs/chkslang -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lslang -lm
[no error]
I get the same results with IRIX cc (MIPSpro Compilers: Version 7.30).
Let me know if there's anything else that'd be useful to try.
dan
--
Daniel Macks
dmacks@sas.upenn.edu
dmacks@netspace.org
http://www.netspace.org/~dmacks
Technical Details
Message-ID:
<slrn9k16ei.qp3.dmacks@mail1.sas.upenn.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!info1.fnal.gov!nntp.upenn.edu!dmacksReferences:
<slrn9jkscp.lv2.dmacks@mail2.sas.upenn.edu> <slrn9juhju.1tu.tststs@starflower.tststs.ddns.org>Show Full Headers
Complete Article Headers
Message-ID: <slrn9k16ei.qp3.dmacks@mail1.sas.upenn.edu> Subject: Re: [slrn] 0.9.7.1: IRIX compiling problem+solution Date: Mon, 02 Jul 2001 15:57:06 +0000 From: dmacks@mail.sas.upenn.edu (Daniel E. Macks) References: <slrn9jkscp.lv2.dmacks@mail2.sas.upenn.edu> <slrn9juhju.1tu.tststs@starflower.tststs.ddns.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!info1.fnal.gov!nntp.upenn.edu!dmacks Newsgroups: news.software.readers Organization: University of Pennsylvania Lines: 44 NNTP-Posting-Host: mail1.sas.upenn.edu User-Agent: slrn/0.9.5.7 (UNIX)