[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
g++ linking probs
From: |
nu2007 |
Subject: |
g++ linking probs |
Date: |
27 Mar 2007 08:30:24 -0700 |
User-agent: |
G2/1.0 |
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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- g++ linking probs,
nu2007 <=