Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Build a file with -m32



Emmanuel Dreyfus <manu%netbsd.org@localhost> wrote:

> Any advice on how I could modify the amd64 kernel build so that a 
> given file is built with -m32?

I tried in sys/arch/amd64/conf/Makefile.amd64
COPTS.multiboot2_32.c=  -m32

The -m32 is present where I expected it, but:
cc1: error: code model 'kernel' not supported in the 32 bit mode

That may not be the way forward.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index