Re: [gtk-list] Re: static link w/gtk



Matt Rosencrantz wrote:
> >
> I actually did read the man page and so I tried as you suggested:
> gcc -static -lgtk -lgdk -lglib -lX11 -lXext -lm -o twiz twiz.o interface.o
> io.o
> 
> (*.o had already been built with gcc -c ...)
> 
try:
gcc -o twiz twiz.o interface.o -static -lgtk -lgdk -lglib -shared -lX11
-lXext -lm

-- 
Ronan BOURLIER				phone : +1 (248) 357 0657
Radioss Consulting Corporation		fax   : +1 (248) 357 2962
Central Park Plaza, suite 518           email : ronan@radioss.com
26211 Central Park Blvd			WWW   : http://www.radioss.com
Southfield, MI - 48076



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