LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   gcc error while compiling gawk (https://www.linuxquestions.org/questions/linux-from-scratch-13/gcc-error-while-compiling-gawk-48205/)

iceman47 03-04-2003 09:43 AM

gcc error while compiling gawk
 
I'm getting an error while compiling gawk:
Code:

configure: error: installation or configuration problem: C compiler cannot create executables.
I tried with gcc 2.95, 3.0 and 3.2.
Does anyone know something about this?

Mara 03-04-2003 11:39 AM

Create a very, very simple program, something like
Code:

#include <stdio.h>

int main(void) {
    printf("Hello world!");
    return 0;
}

And try to compile it:
gcc progname

iceman47 03-04-2003 12:12 PM

Thanks for your reply mara, but it works again.
(haven't changed anything in the meantime :confused: ).
btw, it did compile fine untill I got to the gawk compile (made a very very simpel program too ;) ).
Then it was checking if gcc -s works and then I got that error.
Anyways, thanks for the input


All times are GMT -5. The time now is 05:24 AM.