> On Thu, 26 Mar 1998 15:35:14 -0500, Shaleh <[EMAIL PROTECTED]> said:
Shaleh> -static is a linker flag. Most Makefiles have a LDFLAGS
Shaleh> section. Add it there. If not, find a -l or -L and add it
Shaleh> to the end of that.
Well you should only do this if you want the whole thing s
-static is a linker flag. Most Makefiles have a LDFLAGS section. Add
it there. If not, find a -l or -L and add it to the end of that.
Sudhakar Chandrasekharan wrote:
>
> Where do I add the '-static' (or is it -B static?) flag in the following
> line?
>
> gcc -o foo -02 -fno-strength-reduce -L
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
3 matches
Mail list logo