makelib/config-i686.make
author Jan Vrany <jan.vrany@fit.cvut.cz>
Thu, 14 Nov 2019 21:20:37 +0000
changeset 282 668f26396e1d
parent 244 8de3e1d78d6a
child 303 7276ef940aa3
permissions -rw-r--r--
Rakefiles: oops, use `\` in `INSTALLBASE` path on Windows ...otherwise Windows command such as `md` get confused.

#
# Common definition for i686 arch
#
CPU_INTERN_H=cpu_i386.h
DEFS += -D__amd64_mode32__
CCCONFOPT = -m32

# When performing partial linking, we have to specify `-m elf_i386` in case
# we're compiling 32bit version on otherwise 64bit system - by far the most
# common case these days. If the system is truly 32bit, `-m elf_i386` won't
# hatm.
CLASSLIB_LD=ld -m elf_i386