[Tinyos-help] BUG: tinyos-2 libtoscomm.so needs -fPIC flag
(w/patch)
Philip Levis
pal at cs.stanford.edu
Tue Jan 9 16:51:59 PST 2007
On Jan 9, 2007, at 3:48 PM, David Gay wrote:
> On 1/9/07, Daniel Goertzen <daniel.goertzen at norscan.com> wrote:
>> libtoscomm.so is a shared library but is not built with the -fPIC
>> flag. I
>> assume that some systems are forgiving of this, but gentoo x86_64
>> with
>> gcc-4.1.1 is not.
>
> Added. Given that a quick google (and gcc documentation perusal)
> doesn't answer this question, maybe you know the answer:
> - the current env JNI lib uses -fpic
> - you suggested -fPIC for the serial one
>
> Do both work? Only -fPIC? Etc, etc, expand at will ;-)
I thought this (PIC vs. pic) was a cygwin versus Linux issue.
Phil
More information about the Tinyos-help
mailing list