HP3000-L Archives

May 1999, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Klein <[log in to unmask]>
Reply To:
Date:
Thu, 20 May 1999 12:04:26 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (13 lines)
>I have tried a few other combinations but gcc always comes back with unknow
>file extension for the libsocket.sl share library?

>gcc test.o /usr/lib/libdce.a /usr/lib/cxl.a /usr/lib/libsocket.sl -o test

Try it thusly:

gcc test.o -ldce -lc --for-linker="-WL,XL=/usr/lib/libsocket.sl" -o test

Normal .a are specified with the conventional -l<lib>. Specifying which
shared libraries to use needs to get passed through to LINKEDIT and is
done as above.

ATOM RSS1 RSS2