Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> List-Archive: <http://sourceware.cygnus.com/ml/cygwin/> List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com> List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <C9A8E1D07093D111B76A0000F8C9918A03BD4AA4@zrtpd003.us.nortel.com> From: "Christopher Jones" <cbjones AT nortelnetworks DOT com> 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 18:48:17 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01BFDC9B.F864E38A" X-Orig: <cbjones AT nortelnetworks DOT com> ------_=_NextPart_001_01BFDC9B.F864E38A Content-Type: text/plain; charset="iso-8859-1" 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. 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 > ------_=_NextPart_001_01BFDC9B.F864E38A Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Diso-8859-1"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 5.5.2651.65"> <TITLE>RE: New GCC available for testing (TRY 3) -- fixes -mno-cygwin = problem</TITLE> </HEAD> <BODY> <P><FONT SIZE=3D2>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.</FONT></P> <P><FONT SIZE=3D2>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.</FONT></P> <P><FONT SIZE=3D2>#ifndef __CYGWIN__</FONT> <BR><FONT SIZE=3D2>#define __CYGWIN__ __CYGWIN32__</FONT> <BR><FONT SIZE=3D2>#endif</FONT> </P> <P><FONT SIZE=3D2>int main(int argc, char **argv) {</FONT> <BR><FONT SIZE=3D2>return __CYGWIN__;</FONT> <BR><FONT SIZE=3D2>}</FONT> </P> <P><FONT SIZE=3D2>//RTP-CBJONES/...//tmp $ gcc a.c</FONT> <BR><FONT SIZE=3D2>cpp: unrecognized option `-remap'</FONT> <BR><FONT SIZE=3D2>cpp: unrecognized option `-remap'</FONT> <BR><FONT SIZE=3D2>...</FONT> </P> <P><FONT SIZE=3D2>gcc-2.95.2</FONT> <BR><FONT SIZE=3D2>binutils-19990818-2</FONT> </P> <P><FONT SIZE=3D2>Brian</FONT> </P> <P><FONT SIZE=3D2>> -----Original Message-----</FONT> <BR><FONT SIZE=3D2>> From: Chris Faylor [<A = HREF=3D"mailto:cgf AT cygnus DOT com">mailto:cgf AT cygnus DOT com</A>]</FONT> <BR><FONT SIZE=3D2>> Sent: Friday, June 16, 2000 1:18 PM</FONT> <BR><FONT SIZE=3D2>> To: cygwin AT sourceware DOT cygnus DOT com; = bruce AT objectcentral DOT com</FONT> <BR><FONT SIZE=3D2>> Subject: New GCC available for testing (TRY 3) = -- fixes -mno-cygwin</FONT> <BR><FONT SIZE=3D2>> problem</FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> I've uploaded a new version of gcc that does = not use any MSVCRT stuff.</FONT> <BR><FONT SIZE=3D2>> It is at the URL below. AFAIK, only the = specs file has changed.</FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> I understand that adding msvcrt support would = be a wonderful idea, but</FONT> <BR><FONT SIZE=3D2>> it is outside of the scope of what I am = currently trying to do. I'm</FONT> <BR><FONT SIZE=3D2>> just trying to get -mno-cygwin working along = with incorporating a few</FONT> <BR><FONT SIZE=3D2>> bug fixes and improvements in = gcc/binutils. I'm not trying to augment</FONT> <BR><FONT SIZE=3D2>> the -mno-cygwin support at this time.</FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> I'll let Mumit Khan do that, or if someone else = wants to volunteer I'm</FONT> <BR><FONT SIZE=3D2>> willing to send them my sources and = binaries.</FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> Btw, if anyone has specs file changes I would = appreciate </FONT> <BR><FONT SIZE=3D2>> getting patches</FONT> <BR><FONT SIZE=3D2>> to the gcc/config/cygwin.h file rather than to = the specs file itself.</FONT> <BR><FONT SIZE=3D2>> It is a lot less error-prone that way.</FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> cgf</FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> On Thu, Jun 15, 2000 at 11:59:22PM -0400, Chris = Faylor wrote:</FONT> <BR><FONT SIZE=3D2>> >I've uploaded another new version of gcc = and binutils to the URLs</FONT> <BR><FONT SIZE=3D2>> >mentioned below. This version of gcc = seems to address the </FONT> <BR><FONT SIZE=3D2>> issues raised</FONT> <BR><FONT SIZE=3D2>> >by Carl Thompson. However, see also = my response to Dale </FONT> <BR><FONT SIZE=3D2>> Goudey before</FONT> <BR><FONT SIZE=3D2>> >for more details about what I've = done:</FONT> <BR><FONT SIZE=3D2>> ></FONT> <BR><FONT SIZE=3D2>> ><A = HREF=3D"http://sourceware.cygnus.com/ml/cygwin/2000-06/msg00789.html" = TARGET=3D"_blank">http://sourceware.cygnus.com/ml/cygwin/2000-06/msg0078= 9.html</A></FONT> <BR><FONT SIZE=3D2>> ></FONT> <BR><FONT SIZE=3D2>> >Please try this out and send observations = to </FONT> <BR><FONT SIZE=3D2>> cygwin AT sourceware DOT cygnus DOT com.</FONT> <BR><FONT SIZE=3D2>> >There is no need to Cc me. I read = this group religiously.</FONT> <BR><FONT SIZE=3D2>> ></FONT> <BR><FONT SIZE=3D2>> >cgf</FONT> <BR><FONT SIZE=3D2>> ></FONT> <BR><FONT SIZE=3D2>> >On Thu, Jun 15, 2000 at 01:45:01AM -0400, = cgf wrote:</FONT> <BR><FONT SIZE=3D2>> >>I've been pounding away on gcc and = binutils for a day or so </FONT> <BR><FONT SIZE=3D2>> and I think</FONT> <BR><FONT SIZE=3D2>> >>I have something for people to = try. Here's what's new:</FONT> <BR><FONT SIZE=3D2>> >></FONT> <BR><FONT SIZE=3D2>> >>(Note that the below strong positive = statements indicating that</FONT> <BR><FONT SIZE=3D2>> >>something is fixed may well be wishful = thinking.)</FONT> <BR><FONT SIZE=3D2>> >></FONT> <BR><FONT SIZE=3D2>> >>- Elimination of the /tmp\foo errors = from various binutils tools.</FONT> <BR><FONT SIZE=3D2>> >> (Brought about by using a newer = version of libiberty when </FONT> <BR><FONT SIZE=3D2>> building)</FONT> <BR><FONT SIZE=3D2>> >></FONT> <BR><FONT SIZE=3D2>> >>- No more "impure_ptr" errors = when compiling with -mno-cygwin.</FONT> <BR><FONT SIZE=3D2>> >> (After exhaustive = debugging)</FONT> <BR><FONT SIZE=3D2>> >></FONT> <BR><FONT SIZE=3D2>> >>- No more linking of libm.a since = libm.a is really libcygwin.a.</FONT> <BR><FONT SIZE=3D2>> >> Patch from Ron Parker:</FONT> <BR><FONT SIZE=3D2>> >> <A = HREF=3D"http://sourceware.cygnus.com/ml/cygwin/2000-06/msg00161.html" = TARGET=3D"_blank">http://sourceware.cygnus.com/ml/cygwin/2000-06/msg0016= 1.html</A></FONT> <BR><FONT SIZE=3D2>> >></FONT> <BR><FONT SIZE=3D2>> >>- Enable -Bdynamic, -Bstatic and = linking of dlls on the </FONT> <BR><FONT SIZE=3D2>> command line.</FONT> <BR><FONT SIZE=3D2>> >> Patches from Chuck = Wilson:</FONT> <BR><FONT SIZE=3D2>> >> <A = HREF=3D"http://gcc.gnu.org/ml/gcc-patches/2000-05/msg00937.html" = TARGET=3D"_blank">http://gcc.gnu.org/ml/gcc-patches/2000-05/msg00937.htm= l</A></FONT> <BR><FONT SIZE=3D2>> >> <A = HREF=3D"http://sourceware.cygnus.com/ml/binutils/2000-05/msg00340.html" = TARGET=3D"_blank">http://sourceware.cygnus.com/ml/binutils/2000-05/msg00= 340.html</A></FONT> <BR><FONT SIZE=3D2>> >> <A = HREF=3D"http://sourceware.cygnus.com/ml/binutils/2000-05/msg00337.html" = TARGET=3D"_blank">http://sourceware.cygnus.com/ml/binutils/2000-05/msg00= 337.html</A></FONT> <BR><FONT SIZE=3D2>> >></FONT> <BR><FONT SIZE=3D2>> >>- Proper searching of libraries and = header files with -mno-cygwin.</FONT> <BR><FONT SIZE=3D2>> >> Patch from Dale Goudey:</FONT> <BR><FONT SIZE=3D2>> >> <A = HREF=3D"http://sourceware.cygnus.com/ml/cygwin/2000-06/msg00632.html" = TARGET=3D"_blank">http://sourceware.cygnus.com/ml/cygwin/2000-06/msg0063= 2.html</A></FONT> <BR><FONT SIZE=3D2>> >></FONT> <BR><FONT SIZE=3D2>> >>- Defines -Dunix when -mno-cygwin is = not specified. This </FONT> <BR><FONT SIZE=3D2>> was discussed</FONT> <BR><FONT SIZE=3D2>> >> on the Cygwin mailing list = recently. You should be able to undef</FONT> <BR><FONT SIZE=3D2>> >> this by saying -Uunix if it = causes problems.</FONT> <BR><FONT SIZE=3D2>> >></FONT> <BR><FONT SIZE=3D2>> >>- Does not automatically define any = WIN32 or WINNT </FONT> <BR><FONT SIZE=3D2>> environment variables</FONT> <BR><FONT SIZE=3D2>> >> when -mno-win32 is = specified.</FONT> <BR><FONT SIZE=3D2>> >></FONT> <BR><FONT SIZE=3D2>> >>- Eliminates usr/i686-pc-cygwin/include = files.</FONT> <BR><FONT SIZE=3D2>> >></FONT> <BR><FONT SIZE=3D2>> >>- Fixes windres for correct handling of = icons</FONT> <BR><FONT SIZE=3D2>> >> Patch from DJ Delorie:</FONT> <BR><FONT SIZE=3D2>> >> <A = HREF=3D"http://sourceware.cygnus.com/ml/binutils/2000-06/msg00216.html" = TARGET=3D"_blank">http://sourceware.cygnus.com/ml/binutils/2000-06/msg00= 216.html</A></FONT> <BR><FONT SIZE=3D2>> >></FONT> <BR><FONT SIZE=3D2>> >>I think that's it.</FONT> <BR><FONT SIZE=3D2>> >></FONT> <BR><FONT SIZE=3D2>> >>This is available for testing = here:</FONT> <BR><FONT SIZE=3D2>> >></FONT> <BR><FONT SIZE=3D2>> >>Binaries:</FONT> <BR><FONT SIZE=3D2>> >><A = HREF=3D"ftp://ftp.cygnus.com/private/cgf/gcc-2.95.2-2.tar.gz" = TARGET=3D"_blank">ftp://ftp.cygnus.com/private/cgf/gcc-2.95.2-2.tar.gz</= A></FONT> <BR><FONT SIZE=3D2>> >><A = HREF=3D"ftp://ftp.cygnus.com/private/cgf/binutils-19990818-2.tar.gz" = TARGET=3D"_blank">ftp://ftp.cygnus.com/private/cgf/binutils-19990818-2.t= ar.gz</A></FONT> <BR><FONT SIZE=3D2>> >></FONT> <BR><FONT SIZE=3D2>> >>Sources:</FONT> <BR><FONT SIZE=3D2>> >><A = HREF=3D"ftp://ftp.cygnus.com/private/cgf/gcc-2.95.2-2-src.tar.gz" = TARGET=3D"_blank">ftp://ftp.cygnus.com/private/cgf/gcc-2.95.2-2-src.tar.= gz</A></FONT> <BR><FONT SIZE=3D2>> >><A = HREF=3D"ftp://ftp.cygnus.com/private/cgf/binutils-19990818-2-src.tar.gz"= = TARGET=3D"_blank">ftp://ftp.cygnus.com/private/cgf/binutils-19990818-2-s= rc.tar.gz</A></FONT> <BR><FONT SIZE=3D2>> >></FONT> <BR><FONT SIZE=3D2>> >>You should be able to install these by = downloading the </FONT> <BR><FONT SIZE=3D2>> files to an EMPTY</FONT> <BR><FONT SIZE=3D2>> >>DIRECTORY, copying a recent 'setup.exe' = there and typing </FONT> <BR><FONT SIZE=3D2>> 'setup'. Obviously</FONT> <BR><FONT SIZE=3D2>> >>you will have to choose the = "install from the current </FONT> <BR><FONT SIZE=3D2>> directory" option.</FONT> <BR><FONT SIZE=3D2>> >></FONT> <BR><FONT SIZE=3D2>> >>Beware: I have not yet tried this on = Windows 95 and I have done only</FONT> <BR><FONT SIZE=3D2>> >>very minimal testing on Windows = NT.</FONT> <BR><FONT SIZE=3D2>> >></FONT> <BR><FONT SIZE=3D2>> >>Please send success or bug reports to = cygwin AT sourceware DOT cygnus DOT com .</FONT> <BR><FONT SIZE=3D2>> >>If I get enough success reports, I'll = install this on sourceware.</FONT> <BR><FONT SIZE=3D2>> >></FONT> <BR><FONT SIZE=3D2>> >>cgf</FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> -- </FONT> <BR><FONT SIZE=3D2>> = cgf AT cygnus DOT com &nbs= p; &nbs= p; Cygnus Solutions, a Red </FONT> <BR><FONT SIZE=3D2>> Hat company</FONT> <BR><FONT SIZE=3D2>> <A HREF=3D"http://sourceware.cygnus.com/" = TARGET=3D"_blank">http://sourceware.cygnus.com/</A> &nb= sp; <A HREF=3D"http://www.redhat.com/" = TARGET=3D"_blank">http://www.redhat.com/</A></FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> --</FONT> <BR><FONT SIZE=3D2>> Want to unsubscribe from this list?</FONT> <BR><FONT SIZE=3D2>> Send a message to = cygwin-unsubscribe AT sourceware DOT cygnus DOT com</FONT> <BR><FONT SIZE=3D2>> </FONT> </P> </BODY> </HTML> ------_=_NextPart_001_01BFDC9B.F864E38A--