Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: ezee on June 30, 2010, 07:46:16 PM

Title: configure: error: C compiler cannot create executables
Post by: ezee on June 30, 2010, 07:46:16 PM
trying to rebuild grub from scratch using the source found here: ftp://ftp.nluug.nl/pub/metalab/distributions/tinycorelinux/2.x/tcz/src/grub-0.97-patched.tbz2

I've used tce-load -wi to build gcc, and each time I try to do ./configure in the grub source dir, I get:

configure: error: C compiler cannot create executables


tried it with each of the following gcc extensions, get the same error each time:
gcc-3.3.6.tce
gcc-4.4.0.tcel
gcc.tcel
Title: Re: configure: error: C compiler cannot create executables
Post by: maro on June 30, 2010, 08:03:11 PM
Are you using the 'compiletc.tcz' meta-extension (or only a gcc extension without all the others)? If not using 'compiletz.tcz' you are likely to miss some required component.

Have you actually tried to compile something yourself? I'd call that my "hello world test": it means to create a minimal source file (e.g. containing the infamous statement to print "hello world"), compile it, and execute the compilation result.
Title: Re: configure: error: C compiler cannot create executables
Post by: ezee on June 30, 2010, 09:17:54 PM
that did it, thanks.