Vitaut wrote:
> I install fltk from source on OpenSuSE 10.3. When I was doing "sh 
> ./configure", I received:
> 
> "checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... configure: error: cannot run C 
> compiled programs.
> If you meant to cross compile, use `--host'.
> See `config.log' for more details."

        Sounds like your compiler installation isn't working.

        Are you able to compile + run simple C programs with gcc?
        eg. save this as hello.c:

#include <stdio.h>
int main() {
    printf("hello\n");
    return(0);
}

        ..then compile and run as:

gcc hello.c ; ./a.out

        If it gives errors, that's the problem.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to