When I compile the code with “qcc -gstabs+ test.cpp -o test”, it works as
expected.
However, when I compile the code first with “qcc -gstabs+ -c test.cpp -o
test.o” and
then “qcc -o test test.o -lcpp”, I keep getting core dump. I have puzzled my
brain all
day. Can someone tell me the reason?
When I compile the code with “qcc -gstabs+ test.cpp -o test”, it works as
expected.
However, when I compile the code first with “qcc -gstabs+ -c test.cpp -o
test.o” and
then “qcc -o test test.o -lcpp”, I keep getting core dump. I have puzzled my
brain all
day. Can someone tell me the reason?
When I compile the code with “qcc -gstabs+ test.cpp -o test”, it works as
expected.
However, when I compile the code first with “qcc -gstabs+ -c test.cpp -o
test.o” and
then “qcc -o test test.o -lcpp”, I keep getting core dump. I have puzzled my
brain all
day. Can someone tell me the reason?
When I compile the code with “qcc -gstabs+ test.cpp -o test”, it works
as
expected.
However, when I compile the code first with “qcc -gstabs+ -c
test.cpp -o
test.o” and
then “qcc -o test test.o -lcpp”, I keep getting core dump. I have
puzzled my
brain all
day. Can someone tell me the reason?