Advertisement
TrustCommerce
E-Commerce & credit card processing - the Open Source way!
Advertise here
Not logged in
Log in now
Create an account
Subscribe to LWN
Recent Features
LWN.net Weekly Edition for July 2, 2009
RealtimeKit and the audio problem
VFAT patent avoidance and patent workarounds
LWN.net Weekly Edition for June 25, 2009
Apache attacked by a "slow loris"
gcc -x c <<'EOF' ... EOF
:)
KS2008: Linux 3.0
Posted Sep 16, 2008 16:16 UTC (Tue) by im14u2c (subscriber, #5246) [Link]
Posted Sep 16, 2008 20:16 UTC (Tue) by nix (subscriber, #2304) [Link]
Posted Sep 16, 2008 21:20 UTC (Tue) by jengelh (subscriber, #33263) [Link]
Nah, you can't correct a line once you hit enter. But you can do it in one line:
echo -en '#include <stdio.h>\nint main(void) { return printf("Hello World\\n"); }\n' | gcc -Wall -xc -
Copyright © 2009, Eklektix, Inc. Comments and public postings are copyrighted by their creators. Linux is a registered trademark of Linus Torvalds