On Sat, Feb 07, 2004 at 07:13:41PM +0100, Georg Baum spake thusly:
 
> A short summary: you need to install stlport somewhere. Then you invoke 
> configure with
> 
> ./configure $YOUR_USUAL_OPTIONS --with-extra-inc=/usr/include/stlport 
> CXXFLAGS="-DCXX_GLOBAL_CSTD -ftemplate-depth-30 -nostdinc++" 
> LDFLAGS="-lstlport -lm"

I have here

--with-extra-lib=/home/mv/STLport-4.5.3/lib
--with-extra-inc=/home/mv/STLport-4.5.3/stlport
CXXFLAGS=-nostdinc++ -ftemplate-depth-30
LDFLAGS=-L/home/mv/STLport-4.5.3/lib -lstlport_gcc -lpthread

(leaving out non-relevant things)

Seems you'll have to play around a little :-(
 
> Of course you have to adapt the stlport include dir. You may also need 
> different libs in LDFLAGS if configure fails and complains that the c 
> compiler cannot produce executables. config.log will tell what libs are 
> needed in this case.

Indeed. And of course LD_LIBRARY_PATH before running.
 
> 
> Georg
> 

- Martin 

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to