Port-amd64 archive

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

Build a file with -m32


I am working on multiboot support for amd64, and I have a C funciton 
to call from locore.S before we witch to 64 bit mode. After a few 
experiment, it seems that calling 64 bit code from 32 bit code causes
a lot of mess, and I would like to build the function with -m32.

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

Emmanuel Dreyfus

Home | Main Index | Thread Index | Old Index