Boost logo

Boost :

Subject: [boost] Re2: boost 1.42 - compile toolsset=intel-linux with fPIC
From: Sören Freudiger (muffmolch_at_[hidden])
Date: 2010-02-16 11:39:24


Normal 0 21 false
  false false DE X-NONE X-NONE
                                                                            
                                                                            
                                                                            
                                                                            
                                                                            
                                                                            
                                                                            
                                                                            
                                                                            
                                                                            
                                                                            
                                                                            
                                                                            
                                                                            
                                                                            
                                                                            
                                                                            
                                                  

> Take a look at project-config.jam -- it already has 'using intel....'.
     

> I suggest you remove whatever setting you've made in
tools/build/v2/user-config.jam.

  But that's especially what I wanna to: add the fPIC flag for the
gcc version it works fine!)

    > Further, why are you even trying to use -fPIC. When
building shared libraries, -fPIC is used already.

  Some of our guys have to link because of certain reasons against
the static libs from boost and obtain the error boost should be compiled
with turned on fPIC flag...

  -SirAnn

      -----Ursprüngliche Nachricht-----

Von: boost-bounces_at_[hidden] [mailto:boost-bounces_at_[hidden]]
Im Auftrag von Vladimir Prus

Gesendet: Dienstag, 16. Februar 2010 17:18

An: boost_at_[hidden]

Betreff: Re: [boost] boost 1.42 - compile toolsset=intel-linux with fPIC
    

  "Sören Freudiger" wrote:

  > Hello

> I just try to compile boost 1.42 on the Altix-HPC in Munic. Problem is
     

> that I need to compile it with turned on -fPIC cxx-flag.

> > Following steps I'd done:

> > 1. run ./bootstrap.h --prefix=... --with-toolset=intel-linux 2.
modify

> tools/build/v2/user_config.jam:

> > ...

> using intel-linux : : : <cxxflags>-fPIC ; ...

> > (according to

> http://www.boost.org/boost-

build2/doc/html/bbv2/reference/tools.html#bbv2.reference.tools.compiler.intel)
       

> > 3. run ./bjam

> > --> error:

> error: at

> /home/hlrb2/pr95gi/lu78wol/libs/boost_1_42_0/tools/build/v2/build/proj
    

> ect.jam:884

> error: duplicate initialization of intel-linux with the following

> parameters:

> error: version = <unspecified>

> error: previous initialization at

> /home/hlrb2/pr95gi/lu78wol/libs/boost_1_42_0/tools/build/v2/build/proj
    

> ect.jam:884

> > What's the matter? What point did I miss?

     
_______________________________________________

Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost

-- 
NEU: Mit GMX DSL über 1000,- ¿ sparen!
http://portal.gmx.net/de/go/dsl02

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk