cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: compile libcurl dynamically with cross-compiler

From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Wed, 21 Nov 2007 02:35:06 -0600

> configure: error: C compiler cannot create executables

I am guessing this means one of two things:

configure is trying to compile and run some sort of test application, but
it fails because the exe is compiled for the target, and it's trying to
run it on the host. Like Dan said, check the "config.log" file for errors
like "Failed program was..."

I have also seen this error with mingw when there are "scraps" left
over from a previous attempt. Sometimes deleting the source tree and
starting over from scratch will solve the problem.

 - Jeff
Received on 2007-11-21