Index: uspace/dist/src/c/demos/edit/build
===================================================================
--- uspace/dist/src/c/demos/edit/build	(revision c0cef6f938006513bcdf3e25c4649ce73b376407)
+++ uspace/dist/src/c/demos/edit/build	(revision c486f830240edece7f2000d5b9def7f3663a69bd)
@@ -11,3 +11,3 @@
 as -o search.o search.s
 
-ld -T /inc/_link.ld -o edit_ sheet.o edit.o search.o /lib/libc.a /lib/libsoftint.a
+ld -T /inc/_link.ld -o edit_ sheet.o edit.o search.o /lib/libc.a -lgcc
Index: uspace/dist/src/c/demos/hello/build
===================================================================
--- uspace/dist/src/c/demos/hello/build	(revision c0cef6f938006513bcdf3e25c4649ce73b376407)
+++ uspace/dist/src/c/demos/hello/build	(revision c486f830240edece7f2000d5b9def7f3663a69bd)
@@ -2,3 +2,3 @@
 cc -S -o hello.s hello.i
 as -o hello.o hello.s
-ld -T /inc/_link.ld -o hello hello.o /lib/libc.a /lib/libsoftint.a
+ld -T /inc/_link.ld -o hello hello.o /lib/libc.a -lgcc
Index: uspace/dist/src/c/demos/hello/build.gcc
===================================================================
--- uspace/dist/src/c/demos/hello/build.gcc	(revision c0cef6f938006513bcdf3e25c4649ce73b376407)
+++ uspace/dist/src/c/demos/hello/build.gcc	(revision c486f830240edece7f2000d5b9def7f3663a69bd)
@@ -1,2 +1,2 @@
-gcc -nostdlib -nostdinc -I/inc/c -Wl,-T/inc/_link.ld -L/lib -lc -lsoftint -o hello hello.c
+gcc -nostdlib -nostdinc -I/inc/c -Wl,-T/inc/_link.ld -L/lib -lc -lgcc -o hello hello.c
 
Index: uspace/dist/src/c/demos/tetris/build
===================================================================
--- uspace/dist/src/c/demos/tetris/build	(revision c0cef6f938006513bcdf3e25c4649ce73b376407)
+++ uspace/dist/src/c/demos/tetris/build	(revision c486f830240edece7f2000d5b9def7f3663a69bd)
@@ -14,3 +14,3 @@
 as -o tetris.o tetris.s
 
-ld -T /inc/_link.ld -o tetris_ scores.o screen.o shapes.o tetris.o /lib/libc.a /lib/libsoftint.a
+ld -T /inc/_link.ld -o tetris_ scores.o screen.o shapes.o tetris.o /lib/libc.a -lgcc
Index: uspace/dist/src/c/demos/tetris/build.gcc
===================================================================
--- uspace/dist/src/c/demos/tetris/build.gcc	(revision c0cef6f938006513bcdf3e25c4649ce73b376407)
+++ uspace/dist/src/c/demos/tetris/build.gcc	(revision c486f830240edece7f2000d5b9def7f3663a69bd)
@@ -3,4 +3,4 @@
 gcc -nostdinc -I/inc/c -c -Drestrict= shapes.c
 gcc -nostdinc -I/inc/c -c -Drestrict= tetris.c
-gcc -nostdlib -Wl,-T/inc/_link.ld -L/lib -o tetris_ scores.o screen.o shapes.o tetris.o -lc -lsoftint
+gcc -nostdlib -Wl,-T/inc/_link.ld -L/lib -o tetris_ scores.o screen.o shapes.o tetris.o -lc -lgcc
 
Index: uspace/dist/src/c/demos/top/build
===================================================================
--- uspace/dist/src/c/demos/top/build	(revision c0cef6f938006513bcdf3e25c4649ce73b376407)
+++ uspace/dist/src/c/demos/top/build	(revision c486f830240edece7f2000d5b9def7f3663a69bd)
@@ -8,3 +8,3 @@
 as -o top.o top.s
 
-ld -T /inc/_link.ld -o top_ screen.o top.o /lib/libc.a /lib/libsoftint.a
+ld -T /inc/_link.ld -o top_ screen.o top.o /lib/libc.a -lgcc
