From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Mon, 15 Dec 2008 07:49:57 -0800 From: "Russ Cox" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net> Subject: Re: [9fans] 9vx on x86-64 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Topicbox-Message-UUID: 621c07c0-ead4-11e9-9d60-3106f5b1d025 > 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 compile just fine using gcc -m32. If your host compiler can't do -m32 then you need to install the vx32-gcc from the sources on the vx32 home page. Russ