delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/21/21:08:41

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Tue, 21 Aug 2001 21:01:35 -0400
From: Christopher Faylor <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: C compiler cannot create executables
Message-ID: <20010821210135.C24583@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <NEBBLJLHGNFOIKMBDNANGEGECOAA DOT dwjohnson AT dwjohnson DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <NEBBLJLHGNFOIKMBDNANGEGECOAA.dwjohnson@dwjohnson.com>; from dwjohnson@dwjohnson.com on Tue, Aug 21, 2001 at 06:05:50PM -0600

On Tue, Aug 21, 2001 at 06:05:50PM -0600, David Johnson wrote:
>I am trying to install PostgreSQL and when I run ./configure I get the
>error:
>*******************************************
>$ ./configure
>loading cache ./config.cache
>checking host system type... i686-pc-cygwin
>checking which template to use... win
>checking whether to build with locale support... no
>checking whether to build with recode support... no
>checking whether to build with multibyte character support... no
>checking whether to build with Unicode conversion support... no
>checking for default port number... 5432
>checking for default soft limit on number of connections... 32
>checking for gcc... gcc
>checking whether the C compiler (gcc  ) works... no
>configure: error: installation or configuration problem: C compiler cannot
>cre
>e executables.
>*******************************************
>
>When I look at config.log, I see:
>
>*******************************************
>This file contains any messages produced by compilers while^M
>running configure, to aid debugging if configure makes a mistake.^M
>^M
>configure:629: checking host system type^M
>configure:655: checking which template to use^M
>configure:818: checking whether to build with locale support^M
>configure:847: checking whether to build with recode support^M
>configure:877: checking whether to build with multibyte character support^M
>configure:929: checking whether to build with Unicode conversion support^M
>configure:960: checking for default port number^M
>configure:994: checking for default soft limit on number of connections^M
>configure:1118: checking for gcc^M
>configure:1231: checking whether the C compiler (gcc  ) works^M
>configure:1247: gcc -o conftest    conftest.c  1>&5^M
>/usr/bin/ld: unrecognized option `--dll-search-prefix=cyg'^M
>/usr/bin/ld: use the --help option for usage information^M
>collect2: ld returned 1 exit status^M
>configure: failed program was:^M
>
>#line 1242 "configure"
>#include "confdefs.h"
>
>main(){return(0);}
>~
>*******************************************
>
>
>Can anyone provide any solutions?

You're using a version of ld which does not recognize this option.

You probably have an old version of binutils.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019