From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Message-id: From: Pietro Gagliardi To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> In-reply-to: <4946E785.9000202@kix.es> Date: Mon, 15 Dec 2008 18:34:23 -0500 References: <95568f93ecebea5f9de8bbf366d7325d.squirrel@webmail.kix.es> <4946E785.9000202@kix.es> Subject: Re: [9fans] 9P in C++ Topicbox-Message-UUID: 625361b6-ead4-11e9-9d60-3106f5b1d025 -----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-----