Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: From: "Christopher Jones" To: cygwin AT sourceware DOT cygnus DOT com Subject: RE: New GCC available for testing (TRY 3) -- fixes -mno-cygwin pr oblem Date: Thu, 22 Jun 2000 20:23:09 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01BFDCA9.36B00AD6" X-Orig: ------_=_NextPart_001_01BFDCA9.36B00AD6 Content-Type: text/plain; charset="iso-8859-1" When I upgraded earlier this week I used setup.exe (not the 1.48 version) and it apparently didn't unpack gcc correctly. I was missing at least /usr/lib/gcc-lib, maybe more although the tar file was downloaded just fine. Running the same setup.exe and explicitly installing gcc worked. Thanks. Turned out it also didn't unpack a few other things completely... (weird)... so I've fixed all that too as best I can tell. I still can't get AC_CYGWIN to work in configure but the compile of my test case works fine. Brian > -----Original Message----- > From: Chris Faylor [mailto:cgf AT cygnus DOT com] > Sent: Thursday, June 22, 2000 7:12 PM > To: cygwin AT sourceware DOT cygnus DOT com > Subject: Re: New GCC available for testing (TRY 3) -- fixes > -mno-cygwin > pr oblem > > > On Thu, Jun 22, 2000 at 06:48:17PM -0400, Christopher Jones wrote: > >AC_CYGWIN keeps saying 'no' although I'm running configure > from within bash > >and using cygwin latest from two days ago (1.1.2). This > message seemed > >relevant. > > Gcc was released several days ago and I've seen at least one success > report on it. It sounds like something is screwed up in your setup. > 'gcc -v' might show exactly what. > > cgf > > >Trying to compile a simple program like the following > fails... should be > >fairly similar to what autoconf is doing by my reading of the macro. > > > >#ifndef __CYGWIN__ > >#define __CYGWIN__ __CYGWIN32__ > >#endif > > > >int main(int argc, char **argv) { > >return __CYGWIN__; > >} > > > >//RTP-CBJONES/...//tmp $ gcc a.c > >cpp: unrecognized option `-remap' > >cpp: unrecognized option `-remap' > >... > > > >gcc-2.95.2 > >binutils-19990818-2 > > > >Brian > > > >> -----Original Message----- > >> From: Chris Faylor [mailto:cgf AT cygnus DOT com] > >> Sent: Friday, June 16, 2000 1:18 PM > >> To: cygwin AT sourceware DOT cygnus DOT com; bruce AT objectcentral DOT com > >> Subject: New GCC available for testing (TRY 3) -- fixes -mno-cygwin > >> problem > >> > >> > >> I've uploaded a new version of gcc that does not use any > MSVCRT stuff. > >> It is at the URL below. AFAIK, only the specs file has changed. > >> > >> I understand that adding msvcrt support would be a > wonderful idea, but > >> it is outside of the scope of what I am currently trying > to do. I'm > >> just trying to get -mno-cygwin working along with > incorporating a few > >> bug fixes and improvements in gcc/binutils. I'm not > trying to augment > >> the -mno-cygwin support at this time. > >> > >> I'll let Mumit Khan do that, or if someone else wants to > volunteer I'm > >> willing to send them my sources and binaries. > >> > >> Btw, if anyone has specs file changes I would appreciate > >> getting patches > >> to the gcc/config/cygwin.h file rather than to the specs > file itself. > >> It is a lot less error-prone that way. > >> > >> cgf > >> > >> On Thu, Jun 15, 2000 at 11:59:22PM -0400, Chris Faylor wrote: > >> >I've uploaded another new version of gcc and binutils to the URLs > >> >mentioned below. This version of gcc seems to address the > >> issues raised > >> >by Carl Thompson. However, see also my response to Dale > >> Goudey before > >> >for more details about what I've done: > >> > > >> >http://sourceware.cygnus.com/ml/cygwin/2000-06/msg00789.html > >> > > >> >Please try this out and send observations to > >> cygwin AT sourceware DOT cygnus DOT com. > >> >There is no need to Cc me. I read this group religiously. > >> > > >> >cgf > >> > > >> >On Thu, Jun 15, 2000 at 01:45:01AM -0400, cgf wrote: > >> >>I've been pounding away on gcc and binutils for a day or so > >> and I think > >> >>I have something for people to try. Here's what's new: > >> >> > >> >>(Note that the below strong positive statements indicating that > >> >>something is fixed may well be wishful thinking.) > >> >> > >> >>- Elimination of the /tmp\foo errors from various binutils tools. > >> >> (Brought about by using a newer version of libiberty when > >> building) > >> >> > >> >>- No more "impure_ptr" errors when compiling with -mno-cygwin. > >> >> (After exhaustive debugging) > >> >> > >> >>- No more linking of libm.a since libm.a is really libcygwin.a. > >> >> Patch from Ron Parker: > >> >> http://sourceware.cygnus.com/ml/cygwin/2000-06/msg00161.html > >> >> > >> >>- Enable -Bdynamic, -Bstatic and linking of dlls on the > >> command line. > >> >> Patches from Chuck Wilson: > >> >> http://gcc.gnu.org/ml/gcc-patches/2000-05/msg00937.html > >> >> http://sourceware.cygnus.com/ml/binutils/2000-05/msg00340.html > >> >> http://sourceware.cygnus.com/ml/binutils/2000-05/msg00337.html > >> >> > >> >>- Proper searching of libraries and header files with > -mno-cygwin. > >> >> Patch from Dale Goudey: > >> >> http://sourceware.cygnus.com/ml/cygwin/2000-06/msg00632.html > >> >> > >> >>- Defines -Dunix when -mno-cygwin is not specified. This > >> was discussed > >> >> on the Cygwin mailing list recently. You should be > able to undef > >> >> this by saying -Uunix if it causes problems. > >> >> > >> >>- Does not automatically define any WIN32 or WINNT > >> environment variables > >> >> when -mno-win32 is specified. > >> >> > >> >>- Eliminates usr/i686-pc-cygwin/include files. > >> >> > >> >>- Fixes windres for correct handling of icons > >> >> Patch from DJ Delorie: > >> >> http://sourceware.cygnus.com/ml/binutils/2000-06/msg00216.html > >> >> > >> >>I think that's it. > >> >> > >> >>This is available for testing here: > >> >> > >> >>Binaries: > >> >>ftp://ftp.cygnus.com/private/cgf/gcc-2.95.2-2.tar.gz > >> >>ftp://ftp.cygnus.com/private/cgf/binutils-19990818-2.tar.gz > >> >> > >> >>Sources: > >> >>ftp://ftp.cygnus.com/private/cgf/gcc-2.95.2-2-src.tar.gz > >> >>ftp://ftp.cygnus.com/private/cgf/binutils-19990818-2-src.tar.gz > >> >> > >> >>You should be able to install these by downloading the > >> files to an EMPTY > >> >>DIRECTORY, copying a recent 'setup.exe' there and typing > >> 'setup'. Obviously > >> >>you will have to choose the "install from the current > >> directory" option. > >> >> > >> >>Beware: I have not yet tried this on Windows 95 and I > have done only > >> >>very minimal testing on Windows NT. > >> >> > >> >>Please send success or bug reports to > cygwin AT sourceware DOT cygnus DOT com . > >> >>If I get enough success reports, I'll install this on sourceware. > >> >> > >> >>cgf > >> > >> -- > >> cgf AT cygnus DOT com Cygnus Solutions, a Red > >> Hat company > >> http://sourceware.cygnus.com/ http://www.redhat.com/ > >> > >> -- > >> Want to unsubscribe from this list? > >> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com > >> > > -- > cgf AT cygnus DOT com Cygnus Solutions, a Red > Hat company > http://sourceware.cygnus.com/ http://www.redhat.com/ > > -- > Want to unsubscribe from this list? > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com > ------_=_NextPart_001_01BFDCA9.36B00AD6 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: New GCC available for testing (TRY 3) -- fixes -mno-cygwin = pr oblem

When I upgraded earlier this week I used setup.exe = (not the 1.48 version) and it apparently didn't unpack gcc = correctly.  I was missing at least /usr/lib/gcc-lib, maybe more = although the tar file was downloaded just fine.  Running the same = setup.exe and explicitly installing gcc worked.  Thanks.  = Turned out it also didn't unpack a few other things completely... = (weird)... so I've fixed all that too as best I can tell.  I still = can't get AC_CYGWIN to work in configure but the compile of my test = case works fine.

Brian

> -----Original Message-----
> From: Chris Faylor [mailto:cgf AT cygnus DOT com]
> Sent: Thursday, June 22, 2000 7:12 PM
> To: cygwin AT sourceware DOT cygnus DOT com
> Subject: Re: New GCC available for testing (TRY = 3) -- fixes
> -mno-cygwin
> pr oblem
>
>
> On Thu, Jun 22, 2000 at 06:48:17PM -0400, = Christopher Jones wrote:
> >AC_CYGWIN keeps saying 'no' although I'm = running configure
> from within bash
> >and using cygwin latest from two days ago = (1.1.2).  This
> message seemed
> >relevant.
>
> Gcc was released several days ago and I've seen = at least one success
> report on it.  It sounds like something is = screwed up in your setup.
> 'gcc -v' might show exactly what.
>
> cgf
>
> >Trying to compile a simple program like the = following
> fails... should be
> >fairly similar to what autoconf is doing by = my reading of the macro.
> >
> >#ifndef __CYGWIN__
> >#define __CYGWIN__ __CYGWIN32__
> >#endif
> >
> >int main(int argc, char **argv) {
> >return __CYGWIN__;
> >}
> >
> >//RTP-CBJONES/...//tmp $ gcc a.c
> >cpp: unrecognized option `-remap'
> >cpp: unrecognized option `-remap'
> >...
> >
> >gcc-2.95.2
> >binutils-19990818-2
> >
> >Brian
> >
> >> -----Original Message-----
> >> From: Chris Faylor [mailto:cgf AT cygnus DOT com]
> >> Sent: Friday, June 16, 2000 1:18 = PM
> >> To: cygwin AT sourceware DOT cygnus DOT com; = bruce AT objectcentral DOT com
> >> Subject: New GCC available for testing = (TRY 3) -- fixes -mno-cygwin
> >> problem
> >>
> >>
> >> I've uploaded a new version of gcc = that does not use any
> MSVCRT stuff.
> >> It is at the URL below.  AFAIK, = only the specs file has changed.
> >>
> >> I understand that adding msvcrt = support would be a
> wonderful idea, but
> >> it is outside of the scope of what I = am currently trying
> to do.  I'm
> >> just trying to get -mno-cygwin working = along with
> incorporating a few
> >> bug fixes and improvements in = gcc/binutils.  I'm not
> trying to augment
> >> the -mno-cygwin support at this = time.
> >>
> >> I'll let Mumit Khan do that, or if = someone else wants to
> volunteer I'm
> >> willing to send them my sources and = binaries.
> >>
> >> Btw, if anyone has specs file changes = I would appreciate
> >> getting patches
> >> to the gcc/config/cygwin.h file rather = than to the specs
> file itself.
> >> It is a lot less error-prone that = way.
> >>
> >> cgf
> >>
> >> On Thu, Jun 15, 2000 at 11:59:22PM = -0400, Chris Faylor wrote:
> >> >I've uploaded another new version = of gcc and binutils to the URLs
> >> >mentioned below.  This = version of gcc seems to address the
> >> issues raised
> >> >by Carl Thompson.  However, = see also my response to Dale
> >> Goudey before
> >> >for more details about what I've = done:
> >> >
> >> >http://sourceware.cygnus.com/ml/cygwin/2000-06/msg0078= 9.html
> >> >
> >> >Please try this out and send = observations to
> >> cygwin AT sourceware DOT cygnus DOT com.
> >> >There is no need to Cc me.  I = read this group religiously.
> >> >
> >> >cgf
> >> >
> >> >On Thu, Jun 15, 2000 at 01:45:01AM = -0400, cgf wrote:
> >> >>I've been pounding away on gcc = and binutils for a day or so
> >> and I think
> >> >>I have something for people to = try.  Here's what's new:
> >> >>
> >> >>(Note that the below strong = positive statements indicating that
> >> >>something is fixed may well be = wishful thinking.)
> >> >>
> >> >>- Elimination of the /tmp\foo = errors from various binutils tools.
> >> >>  (Brought about by using = a newer version of libiberty when
> >> building)
> >> >>
> >> >>- No more = "impure_ptr" errors when compiling with -mno-cygwin.
> >> >>  (After exhaustive = debugging)
> >> >>
> >> >>- No more linking of libm.a = since libm.a is really libcygwin.a.
> >> >>  Patch from Ron = Parker:
> >> >>  http://sourceware.cygnus.com/ml/cygwin/2000-06/msg0016= 1.html
> >> >>
> >> >>- Enable -Bdynamic, -Bstatic = and linking of dlls on the
> >> command line.
> >> >>  Patches from Chuck = Wilson:
> >> >>  http://gcc.gnu.org/ml/gcc-patches/2000-05/msg00937.htm= l
> >> >>  http://sourceware.cygnus.com/ml/binutils/2000-05/msg00= 340.html
> >> >>  http://sourceware.cygnus.com/ml/binutils/2000-05/msg00= 337.html
> >> >>
> >> >>- Proper searching of = libraries and header files with
> -mno-cygwin.
> >> >>  Patch from Dale = Goudey:
> >> >>  http://sourceware.cygnus.com/ml/cygwin/2000-06/msg0063= 2.html
> >> >>
> >> >>- Defines -Dunix when = -mno-cygwin is not specified.  This
> >> was discussed
> >> >>  on the Cygwin mailing = list recently.  You should be
> able to undef
> >> >>  this by saying -Uunix = if it causes problems.
> >> >>
> >> >>- Does not automatically = define any WIN32 or WINNT
> >> environment variables
> >> >>  when -mno-win32 is = specified.
> >> >>
> >> >>- Eliminates = usr/i686-pc-cygwin/include files.
> >> >>
> >> >>- Fixes windres for correct = handling of icons
> >> >>  Patch from DJ = Delorie:
> >> >>  http://sourceware.cygnus.com/ml/binutils/2000-06/msg00= 216.html
> >> >>
> >> >>I think that's it.
> >> >>
> >> >>This is available for testing = here:
> >> >>
> >> >>Binaries:
> >> >>ftp://ftp.cygnus.com/private/cgf/gcc-2.95.2-2.tar.gz
> >> >>
ftp://ftp.cygnus.com/private/cgf/binutils-19990818-2.t= ar.gz
> >> >>
> >> >>Sources:
> >> >>ftp://ftp.cygnus.com/private/cgf/gcc-2.95.2-2-src.tar.= gz
> >> >>ftp://ftp.cygnus.com/private/cgf/binutils-19990818-2-s= rc.tar.gz
> >> >>
> >> >>You should be able to install = these by downloading the
> >> files to an EMPTY
> >> >>DIRECTORY, copying a recent = 'setup.exe' there and typing
> >> 'setup'. Obviously
> >> >>you will have to choose the = "install from the current
> >> directory" option.
> >> >>
> >> >>Beware: I have not yet tried = this on Windows 95 and I
> have done only
> >> >>very minimal testing on = Windows NT.
> >> >>
> >> >>Please send success or bug = reports to
> cygwin AT sourceware DOT cygnus DOT com .
> >> >>If I get enough success = reports, I'll install this on sourceware.
> >> >>
> >> >>cgf
> >>
> >> --
> >> = cgf AT cygnus DOT com         &nbs= p;           &nbs= p;  Cygnus Solutions, a Red
> >> Hat company
> >> http://sourceware.cygnus.com/   &nb= sp;     http://www.redhat.com/
> >>
> >> --
> >> Want to unsubscribe from this = list?
> >> Send a message to = cygwin-unsubscribe AT sourceware DOT cygnus DOT com
> >>
>
> --
> = cgf AT cygnus DOT com         &nbs= p;           &nbs= p;  Cygnus Solutions, a Red
> Hat company
> http://sourceware.cygnus.com/   &nb= sp;     http://www.redhat.com/
>
> --
> Want to unsubscribe from this list?
> Send a message to = cygwin-unsubscribe AT sourceware DOT cygnus DOT com
>

------_=_NextPart_001_01BFDCA9.36B00AD6--