Hi,

Here's what I am doing on AIX 5.2 with g++ 4.1.1


Step1: ln -s `g++ -print-file-name=libstdc++.a`


Step2: g++ -static-libgcc -L. -o CArchive1 CMain.cxx libLog_1.a -lstdc
+
+ -static


After Step2, I get multiple ld errors 0711-317 - unresolved
references. Can someone point out as to what's wrong here. I need to
create this executable self-contained so that it can be used on
another AIX 5.2 system without g++ installed there.


Thanks in advance.

_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to