From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@9fans.net Subject: Re: [9fans] 9vx From: "Russ Cox" Date: Fri, 27 Jun 2008 08:17:22 -0700 In-Reply-To: <13426df10806270757h3c364b22wb3bb80312336316d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20080627151526.76D701E8C2B@holo.morphisms.net> Topicbox-Message-UUID: c7e675a0-ead3-11e9-9d60-3106f5b1d025 > building on x86 64 bit. > > first issue is that I get this:make: vx32-gcc: Command not found > > second is that I get this: > gcc -Ilibvx32 -c -g -O3 -MD -std=gnu99 -I. -o libvx32/linux.o libvx32/linux.c > libvx32/linux.c: In function `vx32_sighandler': > libvx32/linux.c:254: error: structure has no member named `rip' > libvx32/linux.c:303: error: structure has no member named `rip' > make: *** [libvx32/linux.o] Error 1 > > which makes sense I guess as we're not 64 bit and IIRC it has a different name. > > Did you want -m32 on those files? I don't understand this well enough > yet to know. > > But lguest just broke big time so if I can get this to work, I'm moving! make 9vx/9vx will build only 9vx and will not need vx32-gcc. if you make clean and then edit the top-level src/Makefrag file to add -m32 to the HOST_CFLAGS and then make 9vx/9vx you are likely to get a working binary. compiling in 64-bit mode is almost certainly not going to work; the plan 9 kernel code is very 32-bit here. and it would be very confused if its own pointers were 64-bit but the user code pointers were 32-bit. russ