Dieter Gardeike <[email protected]> writes:

> g++ -t -L/usr/local/lib -L/usr/X11R6/lib -lfltk -lXext -lXft -lfontconfig
> -lXinerama -lpthread -ldl -lm -lX11  hello.o   -o hello

Try listing hello.o *before* any libraries; on most Unixish platforms,
including Linux, the linker makes a single pass, and takes only those
portions of static libraries it already knows it needs.

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
Finger [email protected] (NOT a valid e-mail address) for more info.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to