|
Boost Users : |
Subject: Re: [Boost-users] relocation R_X86_64_32 against
From: Koteswara Rao Ruvva (ruvva_at_[hidden])
Date: 2014-03-04 17:40:26
That worked. Thank you Matthieu & Jason.
________________________________
From: Matthieu Brucher <matthieu.brucher_at_[hidden]>
To: boost-users_at_[hidden]
Sent: Monday, March 3, 2014 4:00 PM
Subject: Re: [Boost-users] relocation R_X86_64_32 against
> You need to use the -fPIC option when building your code also. Any object
> files that are to be placed into a static library for the x86_64
> architecture must be compiled using position-independent code.
That's not exactly true. Only code that can end up in a _shared_
library (i.e. source code of a shared library or a static library that
is linked against a shared library) needs to be
compiled with this
option.
Matthieu
-- Information System Engineer, Ph.D. Blog: http://matt.eifelle.com LinkedIn: http://www.linkedin.com/in/matthieubrucher Music band: http://liliejay.com/ _______________________________________________ Boost-users mailing list Boost-users_at_[hidden] http://lists.boost.org/mailman/listinfo.cgi/boost-users
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net