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

@ Normal 0 21 false false false DE X-NONE X-NONE Volodya
Well, just do that in project-config.jam? Or, alternatively, remove project-config.jam -- and have only user-config.jam be used. Okay, but which one is that? (location?)
I can see your name in the jam files very often, thus you are to be the one who can help me out, dont' ya? @Dick Normal 0 21 false false false DE X-NONE X-NONE
If you build an executable that will dynamically load (with dlopen) shared libraries, then all of its code, including whatever it gets from static libraries, has to be compiled and linked with -fPIC. >This leads us to compile and link all of our code, including boost libraries, with -fPIC.
bullseye! that's the problem that we have.. thus we have to turn on the fPIC option.. But I don't get it work for the intel compiler.... Do you have a solution? -- Sicherer, schneller und einfacher. Die aktuellen Internet-Browser - jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/chbrowser

Sören Freudiger wrote:
bullseye! that's the problem that we have.. thus we have to turn on the fPIC option.. But I don't get it work for the intel compiler.... Do you have a solution?
I have not used the Intel compiler in several years. I have been using only G++ on Linux. Our user-config.jam has something like this line: using gcc : 4.1.2 : /usr/bin/g++ : <compileflags>"-fPIC" <linkflags>"-fPIC" ; You might add the linkflags as well as the compileflags option to your user-config. -- Dick Hadsell 203-992-6320 Fax: 203-992-6001 Reply-to: hadsell@blueskystudios.com Blue Sky Studios http://www.blueskystudios.com 1 American Lane, Greenwich, CT 06831-2560

"Sören Freudiger" wrote:
Well, just do that in project-config.jam? Or, alternatively, remove project-config.jam -- and have only user-config.jam be used.
Okay, but which one is that? (location?)
See http://www.boost.org/boost-build2/doc/html/bbv2/overview/configuration.html
I can see your name in the jam files very often, thus you are to be the one who can help me out, dont' ya?
I am *a* one who can help, but by no means "the one". - Volodya
participants (3)
-
"Sören Freudiger"
-
Richard Hadsell
-
Vladimir Prus