Commit c6b96c5e authored by Camil Staps's avatar Camil Staps 🐧

Allow building a 32-bit code generator on a 64-bit (linux) platform

parent e4ab7387
# This is for Unix
CC = gcc
CFLAGS = -D_SUN_ -DGNU_C -O -fomit-frame-pointer
CFLAGS = -D_SUN_ -DGNU_C -O -fomit-frame-pointer -m32
AR = ar
RANLIB = ranlib
CFLAGS=-fno-pie -pedantic -Wall -W -O
CFLAGS=-fno-pie -pedantic -Wall -W -O -m32
all: cDirectory.o ipc.o set_return_code_c.o \
......@@ -6,6 +6,7 @@ CLM=clm
(cd main/Unix; make -f Makefile all);
$CLM -ci -I backend -I frontend -I main -I main/Unix -ABC -fusion backendconvert
$CLM -h 32M -nt -nw -ci -nr -I backend -I frontend -I main -I main/Unix \
-I ../libraries/ArgEnvUnix \
-IL ArgEnv \
-l backendC/CleanCompilerSources/backend.a \
-l -m32 \
cocl -o cocl
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment