view more/ @ 1254:9df779cde3e9

Tweak uClibc config to add __progname support and debuggable pthreads.
author Rob Landley <>
date Wed, 29 Sep 2010 15:18:08 -0500
parents d169a2c6f410
children ce5212c0fc05
line wrap: on
line source


. sources/ || exit 1

# This script compiles stuff under the final system, using distcc to call out
# to the cross compiler.  It calls run-from-build with a here document.

# Note that the first line of the script is a few spaces followed by a comment
# character.  This gives some harmless data for the linux boot process (serial
# initialization) to consume and discard before it gets to the command prompt.
# (The comment character is just so you can see how much got eaten.)

# If you cat your own script into, you probably also need
# to start with a line of spaces like that.  Just FYI.

more/ 60 more/ "$1" << 'EOF'
# Show free space
# Smoke test for the compiler
gcc -s /usr/src/thread-hello2.c -lpthread -o /tmp/hello &&