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

[How] Static linking



Where do I add the '-static' (or is it -B static?) flag in the following
line?

gcc -o foo -02 -fno-strength-reduce -L/usr/X11R6/lib bar.o blat.o -lXm -lXt
-lSM -lICE -lXext -lX11

I want motif to be statically compiled.

S.
-- 
  "If a gun can protect something as important as a bar, it is good
         enough to protect my family." -- Homer J. Simpson
Sudhakar C13n                          International Websites Engineer
               http://people.netscape.com/thaths/


--
To UNSUBSCRIBE, email to debian-mentors-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: