I am running under aix4.3 using g++!
I am trying to link a module, but getting a problem.
When I specify
g++-3.2.1 -g -O0 -Wall -Wno-unused -Werror -o foo foo.o
/usr/ibmcxx/lib/libC.a /lib/crt0.o /usr/lib/libm.a /usr/lib/libg.a
/usr/lib/libc.a /usr/lib/libpthreads.a
/usr/gnu/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/3.2.1/libgcc.a -bstatic
I get an error message
ld: 0706-006 Cannot find or open library file: -l stdc++
ld:open(): A file or directory in the path name does not exist.
ld: 0706-006 Cannot find or open library file: -l gcc_s
ld:open(): A file or directory in the path name does not exist.
ld: 0706-005 Cannot find or open file: libgcc.a
ld:open(): A file or directory in the path name does not exist.
ld: 0706-006 Cannot find or open library file: -l gcc_s
ld:open(): A file or directory in the path name does not exist.
ld: 0706-005 Cannot find or open file: libgcc.a
ld:open(): A file or directory in the path name does not exist.
Now, I did specify the location of libgcc.a, so why is it complaining?
Does anyone know of tutorials for this sort of problem
I found one good site,
http://unix.ittoolbox.com