Re: [9fans] 9P in C++

2008-12-15 Thread Pietro Gagliardi
On Dec 15, 2008, at 9:16 PM, sqweek wrote: On Tue, Dec 16, 2008 at 8:34 AM, Pietro Gagliardi wrote: 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 -

Re: [9fans] 9P in C++

2008-12-15 Thread sqweek
On Tue, Dec 16, 2008 at 8:34 AM, Pietro Gagliardi wrote: > 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

Re: [9fans] 9P in C++

2008-12-15 Thread Pietro Gagliardi
-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 /us

Re: [9fans] 9P in C++

2008-12-15 Thread Rodolfo kix Garcia
Pietro Gagliardi escribió: Given extern "C"{ #include <9p.h> // or whatever you do } you can link 9p into a C++ program easily. Thanks Pietro :-) I use: #include stdio.h #include blablabla.h extern void threadmain(int c, char *a[]) Now the file compiles. But I have other problem. gcc -L.

Re: [9fans] 9P in C++

2008-12-15 Thread Pietro Gagliardi
On Dec 15, 2008, at 10:45 AM, Rodolfo kix García wrote: Hi! I am working in an c++ application on linux and I would like to use a filesystem to access to the application data. Somebody knows any 9P implementation of 9P in C++? Thanks, Saludos, kix. -- Rodolfo García AKA kix http://www.kix.

Re: [9fans] Wireless cards

2008-12-15 Thread Sergey Zhilkin
Hi ! As far as I know, madwifi is a driver fot atheros based WiFi Ethernet. Atheros is unsupported by Plan9 :( For start - http://groups.google.ru/group/comp.os.plan9/browse_thread/thread/9ddd97114994fdbb?pli=1 2008/12/15 > Hello, > > I was wondering if Plan 9 supports wireless Ethernet in it

Re: [9fans] Wireless cards

2008-12-15 Thread a
Yes, see the supported hardware page Devon linked. In summary: we have a few, not many. We could certainly use more. We have enough that you can likely find one that works, but not enough that what you happen to already have already works (unless you're like me, and haven't bought a wi-fi card sinc

Re: [9fans] 9P in C++

2008-12-15 Thread Iruata Souza
On Mon, Dec 15, 2008 at 1:45 PM, Rodolfo kix García wrote: > Hi! > > I am working in an c++ application on linux and I would like to use a > filesystem to access to the application data. > > Somebody knows any 9P implementation of 9P in C++? > any issues with using the ones in C? iru

Re: [9fans] 9P in C++

2008-12-15 Thread sqweek
On Tue, Dec 16, 2008 at 12:45 AM, Rodolfo kix García wrote: > Hi! > > I am working in an c++ application on linux and I would like to use a > filesystem to access to the application data. > > Somebody knows any 9P implementation of 9P in C++? Don't see one at http://9p.cat-v.org/implementations

Re: [9fans] 9vx on x86-64

2008-12-15 Thread Russ Cox
>> 9vx -PSX 2>&1 | cat >log > this creates a log of 138 MB :( (19MB gzipped) 19 MB gzipped doesn't sound so bad. Can you send it to me (not to 9fans) as an attachment, or put it up somewhere that I can fetch it from? > However, I think I solved it without actually solving it, > gcc flags changed

Re: [9fans] 9vx on x86-64

2008-12-15 Thread Russ Cox
> gcc -m64 -c -nostdinc -Ilibvxc/include -g -O3 -MD -std=gnu99 -I. -fno- > stack-protector -m80387 -mfp-ret-in-387 -o libvxc/abort.o libvxc/ > abort.c It looks like you edited the VX32_CC line to say gcc -m64. That's wrong. $(VX32_CC) is supposed to be an i386 ELF compiler. You should be able to

[9fans] 9P in C++

2008-12-15 Thread Rodolfo kix García
Hi! I am working in an c++ application on linux and I would like to use a filesystem to access to the application data. Somebody knows any 9P implementation of 9P in C++? Thanks, Saludos, kix. -- Rodolfo García AKA kix http://www.kix.es/ EA4ERH (@IN80ER)

Re: [9fans] Wireless cards

2008-12-15 Thread Devon H. O'Dell
2008/12/15 : > Hello, > > I was wondering if Plan 9 supports wireless Ethernet in its current > state. If it does (and I just can't find it), could you please give me > a link to follow. If it does not, I guess I will just begin to analyze > my current wireless driver (for Linux) madwifi. Please

Re: [9fans] 9vx on x86-64

2008-12-15 Thread simplicity
It seems not working on LFS64 (pure-64 linux.from scratch) vx64? bash-3.2$ make gcc -m64 -c -nostdinc -Ilibvxc/include -g -O3 -MD -std=gnu99 -I. -fno- stack-protector -m80387 -mfp-ret-in-387 -o libvxc/abort.o libvxc/ abort.c gcc -m64 -c -nostdinc -Ilibvxc/include -g -O3 -MD -std=gnu99 -I. -fno

Re: [9fans] 9vx on x86-64

2008-12-15 Thread prem
> 9vx -PSX >log 2>&1 I just executed 9vx -P -S -X -r -u glenda and pasted what was written on the linux console. > 9vx -PSX 2>&1 | cat >log this creates a log of 138 MB :( (19MB gzipped) However, I think I solved it without actually solving it, gcc flags changed from -g -03 to -g, it works like

[9fans] Wireless cards

2008-12-15 Thread theotherjimmy
Hello, I was wondering if Plan 9 supports wireless Ethernet in its current state. If it does (and I just can't find it), could you please give me a link to follow. If it does not, I guess I will just begin to analyze my current wireless driver (for Linux) madwifi. Thank you for reading my first p