This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problems to link shared objects for AIX 4.2


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/




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]