Re: [gtk-list] gcc -static on Solaris



Marc wrote:

> Here is the linking part of my Makefile:
> 
> gcc -static my_object_files.o \
> /usr/local/lib/libgtk.a /usr/local/lib/libgdk.a /usr/local/lib/libglib.a
> \
> -L/usr/openwin/lib -lX11 -lXext -lm -lsocket -lnsl -o my_prog_static

> Any hints ?

You can't do that. There is no static version of libdl, so you'll have to
make dynamic linking with libdl.so. See Solaris FAQ for details.

-- 
 .-.   .-.    Life is a sexually transmitted disease.
(_  \ /  _)
     |        dave@srce.hr
     |        dave@fly.cc.fer.hr



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]