Scott wrote:
Sorry about the top posting; I've never used gmail's web interface before. I
didn't realize it did that.
All those files *are* in /usr/include but I didn't install gcc. I'm using a
Knoppix usb as a host.
The only thing I had to install was bison.
I haven't looked at knoppix in many years.
Try running 'apt-get install g++'
You can also try:
echo > hello.c << EOF
#include <stdio.h>
int main()
{
printf("Hello World!\n");
printf("Demo\n");
return 0;
}
EOF
g++ -o hello hello.c
./hello
I know it is a C program but g++ will compile it.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style