RE: stlport

"Stephen F. Booth" <[email protected]> Fri, 11 Jul 2003 09:32:58 -0400
Newsgroups gmane.comp.gcc.cgicc.general
Message-ID <001601c347b0$f534f2d0$7d779a40@hades>
Try adding the libraries to configure as well: 

(depending on what shell you use)
CXXFLAGS="-I/usr/local/include/stlport" LIBS="-lstdport_gcc -lpthread" \
./configure --prefix=/usr/local

> -----Original Message-----
> From: [email protected] [mailto:help-cgicc-
> [email protected]] On Behalf Of Tufan Oruk
> Sent: Sunday, December 22, 2002 11:53 AM
> To: [email protected]
> Subject: [help-cgicc] stlport
> 
> I want to use cgicc with STLPort. Invoking configure script like
> 
> ./configure \
>         CXXFLAGS="-I/usr/local/include/stlport " \
>         --prefix=/usr/local
> 
> generated
> 
>     configure: error: C++ compiler cannot create executables
> 
> I also tried many variations of configure but failed.  However I can
> compile cgicc (and test programs) by manually modifying auto-generated
> Makefiles. I simply modified CXXFLAGS and add required libraries
> (-lstlport_gcc -lpthread) to LIBS in Makefiles. I think this is not
"the
> right thing" to do.
> 
> What is the proper way to invoke configure script to prepend required
> flags to the makefiles?
> 
> I am using cgicc 3.2.1 on rh 7.2.
> 
> thanks in advance
> 
> tufan
> 
> PS: I do not follow this mailing list, I will appreciate if you reply
to
> my e-mail address.
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> help-cgicc mailing list
> [email protected]
> http://mail.gnu.org/mailman/listinfo/help-cgicc