help-cgicc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[help-cgicc] Solution: Problem compiling the cgicc library on AIX 4.3


From: Naipaul Ojar
Subject: [help-cgicc] Solution: Problem compiling the cgicc library on AIX 4.3
Date: Fri, 22 Nov 2002 15:59:16 +0000

Update of Submission dated:
Mon, 2 Sep 2002 11:09:55 +0100
Mon, 2 Sep 2002 18:06:46 +0100

The g++ compiler's linker does not work with AIX at all.  The problem is
with the linker 'ld'

There are a number of areas that identify this problem:-
1. The Bull WebSite identifies a modified gcc compiler - not c++ compiler
that is pre-built and will
2. The g++ makefile clearly says that the linker it may not work on AIX
4.3.3
3. There is a bug reported to IBM that the g++ compiler does not work on
AIX, a fix was released, but
     my AIX build included the fix and it still did not work.

The native AIX compiler does link using the gnu make util.

If you have the AIX Compiler, the xlC_r works just fine.

use the following:-


   export LIBPATH=.:/usr/local/lib:/lib:/usr/lib


   export CC='xlC_r -qcpluscmt'
   export CXX='xlC_r'
   export LIBS='-lpthreads'
   rm -f config.cache
   ./configure --disable-shared --with-libwww-ssl --enable-cplusplus
--enable-cgi-server


Being part of IBM I was able to get the copiler license quite eaily.

If you wish, I can send you my built version o fthe libcgicc.a and the demo
programs.
   - over 3.5Mb






reply via email to

[Prev in Thread] Current Thread [Next in Thread]