Skip to content
Snippets Groups Projects
Commit cf57e525 authored by Frans Kaashoek's avatar Frans Kaashoek
Browse files

Remove -m32 flag from native gcc compiler

But check that mkfs.c is building with LP64
parent 2ae8392a
No related branches found
No related tags found
No related merge requests found
......@@ -146,7 +146,7 @@ _forktest: forktest.o $(ULIB)
$(OBJDUMP) -S _forktest > forktest.asm
mkfs: mkfs.c fs.h
gcc -m32 -Werror -Wall -o mkfs mkfs.c
gcc -Werror -Wall -o mkfs mkfs.c
UPROGS=\
_cat\
......
......@@ -11,6 +11,10 @@
#include "stat.h"
#include "param.h"
#ifndef _LP64
#error "Integers are not 32 bits"
#endif
int nblocks = 985;
int nlog = LOGSIZE;
int ninodes = 200;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment