summaryrefslogtreecommitdiff
path: root/libraries/dietlibc/README.SLACKWARE
diff options
context:
space:
mode:
authormarkus reichelt <slackbuilds@mareichelt.de>2010-05-14 01:06:11 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-05-16 22:24:35 -0500
commitd22501b876eeb6e154be3330316604801f6f3e07 (patch)
treec9020e80b6108bd52c945bd2185a2a7d3c1d6e2b /libraries/dietlibc/README.SLACKWARE
parent729a6e3b63bd3b6b47c673b057d5e4ef7d8530e4 (diff)
downloadslackbuilds-d22501b876eeb6e154be3330316604801f6f3e07.tar.gz
libraries/dietlibc: Added (small libc implementation).
Diffstat (limited to 'libraries/dietlibc/README.SLACKWARE')
-rw-r--r--libraries/dietlibc/README.SLACKWARE17
1 files changed, 17 insertions, 0 deletions
diff --git a/libraries/dietlibc/README.SLACKWARE b/libraries/dietlibc/README.SLACKWARE
new file mode 100644
index 0000000000..83f4c6a72a
--- /dev/null
+++ b/libraries/dietlibc/README.SLACKWARE
@@ -0,0 +1,17 @@
+You can verify that dietlibc was successfully installed on your system
+by entering the following on a bash prompt, f.e.:
+
+printf '#include <unistd.h>\nint main(){write(1,"hello\\n",6);}\n' >_tmp.c
+diet gcc -O2 -s _tmp.c
+./a.out
+
+you should see "hello" printed on screen
+
+"size a.out" entered on prompt should print something like like this:
+
+text data bss dec hex filename
+679 8 40 727 2d7 a.out
+
+Please note: You may get strange results on Slackware 13-64 multilib systems,
+(like $ARCH being ignored by dietlibc's make itself).
+Therefore it is recommended to build only on clean (64/32bit) installs.