This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc: building gcc-4.5.0 for Cygwin

Jerry DeLisle <> 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@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@JIJOU
    ~ $ls -l /opt/gcc-4.4.1/bin | grep dll

    21:22:23 Paul Bibbings@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?


Paul Bibbings

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]