Nano1994 / freenos

Automatically exported from code.google.com/p/freenos
GNU General Public License v3.0
1 stars 0 forks source link

Add -m32 to CFLAGS to build FreeNOS with x86_64 compilers #67

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently compilation fails with 64-bit compilers with at
least the following error:

CXX lib/liballoc/ListAllocator.o
bin/bench/Main.cpp: Assembler messages:
bin/bench/Main.cpp:37: Error: suffix or operands invalid for `mov'
bin/bench/Main.cpp:38: Error: suffix or operands invalid for `mov'

The system should be able to compile with the -m32
compiler flag, to generate 32-bit code instead of 64-bit.

Original issue reported on code.google.com by coenbijlsma on 7 Aug 2009 at 11:45

GoogleCodeExporter commented 9 years ago
ORIGINAL COMMENT FROM nieklinnenbank
Also see the following test by Dracie on ArchLinux: 
http://pastebin.com/f11828ae7

Original comment by coenbijlsma on 7 Aug 2009 at 11:46