diff options
| author | Frans Kaashoek <kaashoek@mit.edu> | 2012-09-07 17:39:04 -0400 |
|---|---|---|
| committer | Frans Kaashoek <kaashoek@mit.edu> | 2012-09-07 17:39:04 -0400 |
| commit | cf57e525c14eb2a5f3dd9a16fd78de61ed76a974 (patch) | |
| tree | 8163bff2e8e75f06ae18073b6005e985e41b843b /mkfs.c | |
| parent | 2ae8392a5c203a7b1bc5b8bff5eabc8b5eab8972 (diff) | |
| download | xv6-labs-2022-cf57e525c14eb2a5f3dd9a16fd78de61ed76a974.tar.xz xv6-labs-2022-cf57e525c14eb2a5f3dd9a16fd78de61ed76a974.zip | |
Remove -m32 flag from native gcc compiler
But check that mkfs.c is building with LP64
Diffstat (limited to 'mkfs.c')
| -rw-r--r-- | mkfs.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |
