building a cross compiler for linux

Domen Vrankar domen.vrankar@gmail.com
Tue Dec 12 09:54:00 GMT 2006


I'm using this tutorila: http://x.cygwin.com/docs/cg/prog-build-cross.html
for building a cygwin cross compiler for linux.

I built binutils sucessfully but when trying to build gcc I get:

configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

This happens even though I use --host=i686-pc-linux.

Has annyone an idea why this is happening?

I'm using Debian etch, server with two 32 bit pentium processors

r. Domen

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list