[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Solaris & libtool (continued)
From: |
Пухальский Юрий Андреевич |
Subject: |
RE: Solaris & libtool (continued) |
Date: |
Tue, 22 Mar 2005 19:21:38 +0300 |
Yes, the first line fails, and second succeeds.
-----Original Message-----
From: Ralf Wildenhues [mailto:address@hidden
Sent: Tuesday, March 22, 2005 17:39 PM
To: Пухальский Юрий Андреевич
Cc: address@hidden
Subject: Re: Solaris & libtool (continued)
To verify this: can you please try executing the following commands:
echo 'int main () { return 0; }' > a.c
# the next line should fail:
cc -o a -g a.c -lf77compat -R/opt/SUNWspro/lib/v8plus:/opt/SUNWspro/lib
-L/opt/SUNWspro/lib/v8plus -L/opt/SUNWspro/prod/lib/v8plus -L/opt/SUNWspro/lib
-L/opt/SUNWspro/prod/lib -L/usr/ccs/lib -L/lib -L/usr/lib -lompstubs -lfui
-lfai -lfai2 -lfsumai -lfprodai -lfminlai -lfmaxlai -lfminvai -lfmaxvai -lfsu
-lsunmath -lm
# but this line should succeed:
cc -o a -g a.c -lf77compat -R/opt/SUNWspro/lib/v8plus:/opt/SUNWspro/lib
-L/opt/SUNWspro/lib/v8plus -L/opt/SUNWspro/prod/lib/v8plus -L/opt/SUNWspro/lib
-L/opt/SUNWspro/prod/lib -L/usr/ccs/lib -L/lib -L/usr/lib -zallextract
-lompstubs -zdefaultextract -lfui -lfai -lfai2 -lfsumai -lfprodai -lfminlai
-lfmaxlai -lfminvai -lfmaxvai -lfsu -lsunmath -lm
Some more fun reading about it (more a note to self):
http://forum.sun.com/thread.jspa?threadID=18543&tstart=45
http://developers.sun.com/tools/cc/documentation/ss10_docs/mr/man1/cc.1.html
Regards,
Ralf