[LC++]static vs dynamic linking.

Rokicki, Andrew ARokicki at US.TIAuto.com
Tue May 6 20:27:02 UTC 2003

	I have been searching the web for several hours now 
and I can't find an answer to this:

When I link my code dynamically it works.
something like this 
        $(CXX) -o $(TARGET) $(OBJS) $(LDFLAGS)

When I add -static it I get a Segmentation Fault.

        $(CXX) -static  -o $(TARGET) $(OBJS) $(LDFLAGS)

I am using RH 8.0 with gcc 3.2.
What am I missing ? 
Thanks for your help.

More information about the tuxCPProgramming mailing list