-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Dec 15, 2008, at 6:25 PM, Rodolfo kix Garcia wrote:

gcc -L /usr/local/plan9/lib -L. -ltry -lthread demo1.C -o demo1 ## OK!

I think linking lthread will give you POSIX threads and that -L appends to the list, rather than going before, so /usr/lib will be searched before plan9ports. Try explicitly setting the path of the -l argument. Does -l/usr/local/plan9/lib/libthread.so (or whatever it is) help?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAklG6YAACgkQuv7AVNQDs+xs6QCfZy4CD480VMiv8DN2VyX2ydDs
WzYAn0sEgTbpQM9Z/8ieACzLVBx15okU
=Jzfc
-----END PGP SIGNATURE-----

Reply via email to