Scott wrote:
On May 22, 2017 3:33:47 PM MST, Bruce Dubbs <[email protected]> wrote:
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.

I can't do apt-get on the Knoppix machine as it's not attached to a network. 
However, the hello.c compilation went off without a hitch.

Sorry, I can't help any more. It seems to be a distro specific problem and not having internet access makes it worse. Maybe someone else will have some suggestions.

  -- 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

Reply via email to