aboutsummaryrefslogtreecommitdiffstats
path: root/src/standalone/upg5
diff options
context:
space:
mode:
authorklaar36 <klas.arvidsson@liu.se>2017-05-19 14:14:53 +0200
committerklaar36 <klas.arvidsson@liu.se>2017-05-19 14:14:53 +0200
commit411162469c343883b97c2463227ecf4e268d9060 (patch)
treed538d21d1d9678aa2f71198d55ec8b44367204a1 /src/standalone/upg5
parentd620fc0a5139645d3146405f0f54b5df32951dc1 (diff)
downloadpintos-rs-411162469c343883b97c2463227ecf4e268d9060.tar.gz
compile upg5 with -m32
Diffstat (limited to 'src/standalone/upg5')
-rw-r--r--src/standalone/upg5/pagedir.c2
-rw-r--r--src/standalone/upg5/verify_adr.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/standalone/upg5/pagedir.c b/src/standalone/upg5/pagedir.c
index 7ef78a3..b60d871 100644
--- a/src/standalone/upg5/pagedir.c
+++ b/src/standalone/upg5/pagedir.c
@@ -2,7 +2,7 @@
this is done is disclosed. As a student you shall not compile this
file, but instead compile your program with the .o file as:
- gcc -Wall -Wextra -std=c99 -pedantic -g verify_adr.c pagedir.o
+ gcc -Wall -Wextra -std=c99 -pedantic -m32 -g verify_adr.c pagedir.o
*/
#error Read comment above. Leave this line in place.
diff --git a/src/standalone/upg5/verify_adr.c b/src/standalone/upg5/verify_adr.c
index 6aba06e..9bac64f 100644
--- a/src/standalone/upg5/verify_adr.c
+++ b/src/standalone/upg5/verify_adr.c
@@ -16,7 +16,7 @@
*
* Recommended compilation command:
*
- * gcc -Wall -Wextra -std=gnu99 -pedantic -g pagedir.o verify_adr.c
+ * gcc -Wall -Wextra -std=gnu99 -pedantic -m32 -g pagedir.o verify_adr.c
*/
#error Read comment above and then remove this line.