Displaying 1 result from an estimated 1 matches for "dmanything".
Did you mean:
anything
2008 Jul 31
0
Static Linking, C++ Exceptions
...grams to reproduce
this, they work fine. %gs is nonzero and everybody is happy. But on my
big hulking app, I can throw and catch an exception immediately on
entry to main and it segfaults faithfully.
Relevant compiler flags are these:
g++ -c -o whatever.o -O0 -ggdb -Wno-deprecated -Werror -fPIC
-Dmanything -Imanydirs whatever.cpp
g++ -o whatever -static -static-libgcc many.o -Lmanydirs -lpthread
-lanotherlib -lzlib -lesmtp -lnsl -lrpcsvc -lcrypt -lacl -ldl -lrt
-landmanymore
So I'm looking for some guidance on what things I could try to isolate
this in a smaller app.
--
Darrin