Print this page
4474 DTrace Userland CTF Support
4475 DTrace userland Keyword
4476 DTrace tests should be better citizens
4479 pid provider types
4480 dof emulation missing checks
Reviewed by: Bryan Cantrill <bryan@joyent.com>

@@ -43,20 +43,20 @@
 
 cat > Makefile <<EOF
 all: main altlib.so
 
 main: main.o
-        gcc -o main main.o
+        gcc -m32 -o main main.o
 
 main.o: main.c
-        gcc -c main.c
+        gcc -m32 -c main.c
 
 altlib.so: altlib.o
-        gcc -shared -o altlib.so altlib.o -lc
+        gcc -m32 -shared -o altlib.so altlib.o -lc
 
 altlib.o: altlib.c
-        gcc -c altlib.c
+        gcc -m32 -fPIC -c altlib.c
 EOF
 
 cat > altlib.c <<EOF
 void
 go(void)