[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] GCC Compiler
> After doing ./configure I found that the GCC compiler wasn't
> installed. So, I installed it. After running ./configure once again
> I now have an error message which says "checking whether the C
> compiler (gcc ) works ... no
> configure: error: installation or configuration problem: C compiler
> cannot create executables."
>
What happens if you take the following C program (cut & paste into hello.c):
#include <stdio.h>
int main()
{
puts ("Wotcha!");
return 0;
}
and type:
gcc -o hello hello.c
Nice simple gcc test. If this fails....is the development libc installed?
(ie, are there lots and lots of files in /usr/include all called <summat>.h)
? If not, you'll need them.
Chris...
--
@}-,'-------------------------------------------------- Chris Johnson --'-{ [at]
/ "(it is) crucial that we learn the difference / sixie [at] nccnet.co.uk \
/ between Sex and Gender. Therein lies the key / \
/ to our freedom" -- LB / www.nccnet.co.uk/~sixie \
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.