delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/17/16:33:09

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.3 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_NUMERIC_HELO,SPF_HELO_PASS,TW_RW,TW_WX,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
connect(): No such file or directory
From: Paul Bibbings <paul DOT bibbings AT gmail DOT com>
Subject: Re: gcc: building gcc-4.5.0 for Cygwin
Date: Sat, 17 Apr 2010 21:32:02 +0100
Lines: 44
Message-ID: <878w8lx1kt.fsf@gmail.com>
References: <87y6go3743 DOT fsf AT gmail DOT com> <4BC904E3 DOT 60500 AT verizon DOT net>
Mime-Version: 1.0
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (windows-nt)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Jerry DeLisle <jvdelisle AT verizon DOT net> writes:
> I have not had any problems building with Cygwin 1.7 on WinNT or Win7.
> You do have to make sure you have the mpc complex math library
> installed.  Other than that I have had no problems.
>
> Jerry

I've had no problems with the build itself, as far as I can tell.  The
issue I faced was over paths to the cyg<...>.dlls that it put in
/opt/gcc-4.5.0/bin, having configured it to install in
/opt/gcc-4.5.0. Obviously the runtime for programs built with gcc-4.5.0
requires these over the counterparts installed in /usr/bin by the Cygwin
versions with the same name.  As I reported in a previous post, I get
around this presently by adding a run target to my makefiles which
prepends /opt/gcc-4.5.0 to the path before running.  As I regularly
switch between several versions, including the Cygwin-installed gcc-3
and gcc-4, using the `alternatives' system, I had wanted to avoid
hard-setting the path only to face the same issues when switching away
from 4.5, which I am really only using to get a head start on C++0x.

The .dlls in question are:

    21:10:29 Paul Bibbings AT JIJOU
    ~ $ls -l /opt/gcc-4.5.0/bin | grep dll
    -rwxr-xr-x 1 ...  437743 Apr 15 09:08 cyggcc_s-1.dll
    -rwxr-xr-x 1 ...  271146 Apr 15 09:08 cyggomp-1.dll
    -rwxr-xr-x 1 ...   55679 Apr 15 09:08 cygssp-0.dll
    -rwxr-xr-x 1 ... 5829289 Apr 15 09:07 cygstdc++-6.dll

Maybe I am missing something in having these in the first place.  I
didn't get any new .dlls for gcc-4.4.1, for instance:

    21:20:52 Paul Bibbings AT JIJOU
    ~ $ls -l /opt/gcc-4.4.1/bin | grep dll

    21:22:23 Paul Bibbings AT JIJOU

Can I ask, how did you configure your build?  Do you have these .dlls?
Also, do you have gcc-3 and/or -4 installed, with the .dlls these
require in /usr/bin?

Regards

Paul Bibbings


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

- Raw text -


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