This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Problems to link shared objects for AIX 4.2
- To: gilles dot brunet at bagnolet dot tecsi dot com
- Subject: Re: Problems to link shared objects for AIX 4.2
- From: Erik Mouw <J dot A dot K dot Mouw at its dot tudelft dot nl>
- Date: Wed, 19 Apr 2000 19:10:19 +0200 (MET DST)
- Cc: gcc at gcc dot gnu dot org
- Organization: Eric conspiracy secret labs
On Tue, 18 Apr 2000 20:05:38 +0200, Gilles Brunet wrote:
> I need to generate shared objects produced in C++ to run on AIX 4.2 and the
> linker produce unresolved externals that should not cause a problem; It
> seems that all required libraries are present. Here is the command line and
> the result :
>
> /usr/local/bin/gcc -DAIX -shared -g -O0 -frtti -fexceptions -o
^^^
You're talking about C++ objects, so use the GNU C++ compiler to get your
program linked: g++.
Erik
--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/