CODE
loading cache ./config.cache
checking whether make sets ${MAKE}... no
checking for gcc... arm-linux-gcc # or whatever I set CC to be
checking whether the C compiler (arm-linux-gcc -O -g) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
checking whether make sets ${MAKE}... no
checking for gcc... arm-linux-gcc # or whatever I set CC to be
checking whether the C compiler (arm-linux-gcc -O -g) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
I've tried setting CC to gcc, cc, arm-linux-gcc, and g++, and I get the same results every time.
When I tried an even more basic program, hello.cpp, I received the following:
CODE
root@collie: /media/card/.../tetex-src-3.0 # gcc -O -g hello.cpp
hello.cpp: 1: 22: iostream.h: No such file or directory
hello.cpp: In function `int main()':
hello.cpp: 5: error: `cout' undeclared (first use of this function)
hello.cpp: 5: error: (Each undeclared identifier is reported only once for each function it appears in.)
hello.cpp: 8: 2: no newline at end of file
hello.cpp: 1: 22: iostream.h: No such file or directory
hello.cpp: In function `int main()':
hello.cpp: 5: error: `cout' undeclared (first use of this function)
hello.cpp: 5: error: (Each undeclared identifier is reported only once for each function it appears in.)
hello.cpp: 8: 2: no newline at end of file
Since I get similar results when I try to compile hello.c, I'm certain that I need to set variables for certain paths; unfortunately, I have no idea what those varialbes would be, or what paths I need to set! What do I need to do in order to compile things successfully?
