RE: using gcc 3.3.3
Thanks. I seemingly compiled gcc 3.4 20040310 successfully, once I had installed bison and flex into cygwin. I'm going to try the decisive test tonight which will be to rename all the g++ files other than the one in gcc_34 directory, compile a C++ program, then rename the cygwin1.dll to cygwin2.dll, then try to run the program. If it runs, I've got gcc 3.4 working correctly. This way, I know that the gcc 3.4 is definitely the only one being used, and that it's not relying on cygwin for the program to run (although it is to run the compiler). Now... is it possible to use -mno-cygwin on the compiler *itself*..., maybe? DISCLAIMER. The contents of this email and its attachments are intended solely for the original recipients and express the views of the authors and not necessarily the Company. If you are not the intended recipient please delete without copying or forwarding and inform the sender that you received it in error. Thank you. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: using gcc 3.3.3
On Tue, Mar 16, 2004 at 10:49:20AM -, [EMAIL PROTECTED] wrote: Thanks. I seemingly compiled gcc 3.4 20040310 successfully, once I had installed bison and flex into cygwin. I'm going to try the decisive test tonight which will be to rename all the g++ files other than the one in gcc_34 directory, compile a C++ program, then rename the cygwin1.dll to cygwin2.dll, then try to run the program. If it runs, I've got gcc 3.4 working correctly. This way, I know that the gcc 3.4 is definitely the only one being used, and that it's not relying on cygwin for the program to run (although it is to run the compiler). Now... is it possible to use -mno-cygwin on the compiler *itself*..., maybe? If it was, that would certainly be self-selectingly off-topic for this *cygwin* list since one of the main points of cygwin is to provide an environment for building GNU tools like GCC. You may want to check out the mingw lists at www.mingw.org which deal with non-cygwin versions of GNU tools. -- Christopher Faylor Cygwin Project Leader Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Using gcc 3.3.3
On Mon, Mar 15, 2004 at 08:21:27PM -, Ben Taylor wrote: I posted a message to 'google groups' and it didn't get any replies in there. But then I started getting emails from you, so I thought that the list was an email-based thing. google groups has (in my experience) a lag time of up to 2 days. If you prefer reading ongoing discussions with a web interface, you should check for information about what archives/interfaces are available. In this case, at http://cygwin.com/ml/lists.html I'm CC'ing you because it sounds as if you want to receive a copy; I apologize if I misunderstand. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Using gcc 3.3.3
On Mon, Mar 15, 2004 at 07:32:56AM -, Ben Taylor wrote: I tried building 3.3.3 using 3.3.1, which didn't work when doing 'make bootstrap'. But then I did a successful 'make bootstrap' of 3.3.2 using 3.3.1. The bootstrapped 3.3.2 works fine, and claims to have been compiled by itself not 3.3.1. Even -mno-cygwin works fine on it. So I'm now happy, in that I've used my 'on-a-plate' compiler to compile myself a better one. But I'm greedy and curious, I want more. So now I've included in the path environment variable the path to this before the cygwin path, and I'm now trying to make bootstrap 3.3.3 using 3.3.2. Do you think it should work? When I type 'man patch' it says 'no manual entry for patch', do I have to install this extra? And what of this Chris geezer, does he have a known email address? Can he be contacted to be asked questions such as this? You must not be paying attention. I (and others) have been responding to this thread on the mailing list. To answer your question: I have no desire to enter into personal dialogs about cygwin. That's why we have a cygwin mailing list. Also, just in case it isn't clear, we will eventually be releasing gcc 3.3.3 (and even 3.4), too, so this exercise is pretty much academic. -- Christopher Faylor Cygwin Project Leader Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Using gcc 3.3.3
At 02:32 AM 3/15/2004, you wrote: Thanks I tried building 3.3.3 using 3.3.1, which didn't work when doing 'make bootstrap'. But then I did a successful 'make bootstrap' of 3.3.2 using 3.3.1. The bootstrapped 3.3.2 works fine, and claims to have been compiled by itself not 3.3.1. Even -mno-cygwin works fine on it. So I'm now happy, in that I've used my 'on-a-plate' compiler to compile myself a better one. But I'm greedy and curious, I want more. So now I've included in the path environment variable the path to this before the cygwin path, and I'm now trying to make bootstrap 3.3.3 using 3.3.2. Do you think it should work? Maybe. Try it. When I type 'man patch' it says 'no manual entry for patch', do I have to install this extra? Yep. You apparently don't have the 'patch' package. Rerun setup and install it. And what of this Chris geezer, does he have a known email address? Can he be contacted to be asked questions such as this? I like to refer to Chris as guru rather than geezer. He reads this list and has already responded to this thread so I think you can surmise from this that he can and will answer some questions. But I can tell you he won't hand-hold you through the process and won't respond to person email on this (that's why he sets his reply-to to the list, as do I). So questions should be directed to the list. However, you might find you get allot of helpful information from the gcc list email archives too. If you haven't ogled it yet, you may want to. -Original Message- From: Larry Hall [mailto:[EMAIL PROTECTED] Sent: 15 March 2004 02:11 To: Ben Taylor; Cygwin List Subject: RE: Using gcc 3.3.3 'man patch'. But according to Chris, who knows more about Cygwin's gcc than I do, -mno-cygwin should be configurable with vanilla gcc sources. So, if you're having difficulty with your locally built gcc/g++, you'll need to figure out what's different in your environment. Larry At 03:58 PM 3/14/2004, you wrote: How do I apply patches to my existing Cygwin installation? -Original Message- From: Larry Hall [mailto:[EMAIL PROTECTED] Sent: 14 March 2004 18:59 To: Ben Taylor; [EMAIL PROTECTED] Subject: Re: Using gcc 3.3.3 At 09:50 AM 3/14/2004, you wrote: Hi I have got Cygwin running on my windows XP pc, using gcc 3.3.1. I downloaded gcc 3.3.3 release, and managed to build it, however when I tried to compile a windows application using it it compiled ok but gave a linker error 'couldn't find crt2.o'. It gave this error when I was trying to compile with -mno-cygwin, which worked with gcc 3.3.1. I found that this file was in c:/cygwin/lib/mingw, but passing an option on to the linker such as -Wl,-Lc:/cygwin/lib/mingw or other variations on this didn't work. However when I copied the crt2.o file to c:/cygwin/lib, it worked! But then I read that -mno-cygwin wasn't included on gcc 3.3.3. So was this a fluke? Or is there a standard way to use gcc 3.3.3 on cygwin? Also if I used g++ 3.3.3 to compile but g++ 3.3.1 that came with cygwin to link, it also works fine! Is it then actually using the benefits of the more modern version? The gcc compiler suite for Cygwin contains patches to include the '-mno-cygwin' switch. Since gcc 3.3.3 isn't part of the Cygwin distribution yet, you would need to patch your local version if you want this functionality prior to it's inclusion in Cygwin. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Larry -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Using gcc 3.3.3
That's strange... I got an email from Chris in addition to the ones I've been getting from you, but none of the previous ones including answers Chris says he's given got to me... don't the people who send mails to the list get replies, or do only the elite members or something? Sorry, I'm really confused. I posted a message to 'google groups' and it didn't get any replies in there. But then I started getting emails from you, so I thought that the list was an email-based thing. And then I get this email from Chris, saying he's already answered loads on the list and haven't I seen it. But no - if it was a internet based thing how come I couldn't see any replies the first time I logged on and in any case if it was internet based rather than email how did you know my email address?? And if you could know it, how couldn't a spammer? Is there some sort of underhand linux forwarding going on that I'm unlikely to understand, or benefit from unless I install linux? Or is it just a simple messaging protocol that I'm failing in my stupidity to pick up on? (BTW I couldn't know which one I was getting emails from as I've got two dumping into the same inbox - although I switched one off because it was getting too much spam, but then I still got these emails from you and one from Chris *after* that, so that can't be the reason. But how do I change my email address to be something cryptic to make sure spammers don't pick up my ACTUAL email address?) -Original Message- From: Larry Hall [mailto:[EMAIL PROTECTED] Sent: 15 March 2004 16:13 To: Ben Taylor; Cygwin List Subject: RE: Using gcc 3.3.3 At 02:32 AM 3/15/2004, you wrote: Thanks I tried building 3.3.3 using 3.3.1, which didn't work when doing 'make bootstrap'. But then I did a successful 'make bootstrap' of 3.3.2 using 3.3.1. The bootstrapped 3.3.2 works fine, and claims to have been compiled by itself not 3.3.1. Even -mno-cygwin works fine on it. So I'm now happy, in that I've used my 'on-a-plate' compiler to compile myself a better one. But I'm greedy and curious, I want more. So now I've included in the path environment variable the path to this before the cygwin path, and I'm now trying to make bootstrap 3.3.3 using 3.3.2. Do you think it should work? Maybe. Try it. When I type 'man patch' it says 'no manual entry for patch', do I have to install this extra? Yep. You apparently don't have the 'patch' package. Rerun setup and install it. And what of this Chris geezer, does he have a known email address? Can he be contacted to be asked questions such as this? I like to refer to Chris as guru rather than geezer. He reads this list and has already responded to this thread so I think you can surmise from this that he can and will answer some questions. But I can tell you he won't hand-hold you through the process and won't respond to person email on this (that's why he sets his reply-to to the list, as do I). So questions should be directed to the list. However, you might find you get allot of helpful information from the gcc list email archives too. If you haven't ogled it yet, you may want to. -Original Message- From: Larry Hall [mailto:[EMAIL PROTECTED] Sent: 15 March 2004 02:11 To: Ben Taylor; Cygwin List Subject: RE: Using gcc 3.3.3 'man patch'. But according to Chris, who knows more about Cygwin's gcc than I do, -mno-cygwin should be configurable with vanilla gcc sources. So, if you're having difficulty with your locally built gcc/g++, you'll need to figure out what's different in your environment. Larry At 03:58 PM 3/14/2004, you wrote: How do I apply patches to my existing Cygwin installation? -Original Message- From: Larry Hall [mailto:[EMAIL PROTECTED] Sent: 14 March 2004 18:59 To: Ben Taylor; [EMAIL PROTECTED] Subject: Re: Using gcc 3.3.3 At 09:50 AM 3/14/2004, you wrote: Hi I have got Cygwin running on my windows XP pc, using gcc 3.3.1. I downloaded gcc 3.3.3 release, and managed to build it, however when I tried to compile a windows application using it it compiled ok but gave a linker error 'couldn't find crt2.o'. It gave this error when I was trying to compile with -mno-cygwin, which worked with gcc 3.3.1. I found that this file was in c:/cygwin/lib/mingw, but passing an option on to the linker such as -Wl,-Lc:/cygwin/lib/mingw or other variations on this didn't work. However when I copied the crt2.o file to c:/cygwin/lib, it worked! But then I read that -mno-cygwin wasn't included on gcc 3.3.3. So was this a fluke? Or is there a standard way to use gcc 3.3.3 on cygwin? Also if I used g++ 3.3.3 to compile but g++ 3.3.1 that came with cygwin to link, it also works fine! Is it then actually using the benefits of the more modern version? The gcc compiler suite for Cygwin contains patches to include the '-mno-cygwin
RE: Using gcc 3.3.3
Oh right! OK, sorry - I didn't know there was a mailing list. I was under the impression that you just sent an email to cygwin and somebody at cygwin who knew the works picked it up, and it went on the mailing list so it came up in searches as a by-product of that. I thought that all message posters got sent all the replies via email, rather than having a website that you have to explicitly check. I've seemingly successfully built gcc 3.3.3 with 3.3.2, which was built from 3.3.1. Doing 'make bootstrap' worked apart from when I tried to compile 3.3.3 with 3.3.1, which didn't work, which is interesting in that each one can only 'give birth' to the next one, rather than skip one. Also, just in case it isn't clear, we will eventually be releasing gcc 3.3.3 (and even 3.4), too, so this exercise is pretty much academic. Well, that is precisely why I am pursuing it, for academic interest. It's not like I actually think that gcc 3.4 will produce so much better code than 3.3.1 for my game that I *need* to have it, but it's the challenge of building it and letting it bootstrap itself that's the fun part of it, at least at the moment anyway. So, while it might not be the typical developer's prime convern, given that I do have this motive, is there any particular configurational route you can suggest to me to enable me to jump up the ladder and be able to build one of the 3.4 snapshots? for instance snapshot 3.3-[mmmdd] might be easily built from 3.3.3, which is then used to build 3.4[mmdd] ??? I'm just eaten up by the fact that 'there's something newer out there... they haven't been sitting on their arses, so they must have been putting some more good into the thing!' Hope this is clear, and sorry for any confusion and my ignorance of linux-based issues. -- Christopher Faylor Cygwin Project Leader Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Using gcc 3.3.3
Unless you set your reply-to, generally you'll see two copies of every reply, since you'll get one copy to you and one from the list. Chris's first two posts were in response to my replies and I set my reply-to to the list. If you're not subscribed to the list, you wouldn't see these messages in your mailbox. If you are subscribed, I can't explain why you didn't see his messages. Larry At 03:21 PM 3/15/2004, you wrote: That's strange... I got an email from Chris in addition to the ones I've been getting from you, but none of the previous ones including answers Chris says he's given got to me... don't the people who send mails to the list get replies, or do only the elite members or something? Sorry, I'm really confused. I posted a message to 'google groups' and it didn't get any replies in there. But then I started getting emails from you, so I thought that the list was an email-based thing. And then I get this email from Chris, saying he's already answered loads on the list and haven't I seen it. But no - if it was a internet based thing how come I couldn't see any replies the first time I logged on and in any case if it was internet based rather than email how did you know my email address?? And if you could know it, how couldn't a spammer? Is there some sort of underhand linux forwarding going on that I'm unlikely to understand, or benefit from unless I install linux? Or is it just a simple messaging protocol that I'm failing in my stupidity to pick up on? (BTW I couldn't know which one I was getting emails from as I've got two dumping into the same inbox - although I switched one off because it was getting too much spam, but then I still got these emails from you and one from Chris *after* that, so that can't be the reason. But how do I change my email address to be something cryptic to make sure spammers don't pick up my ACTUAL email address?) -Original Message- From: Larry Hall [mailto:[EMAIL PROTECTED] Sent: 15 March 2004 16:13 To: Ben Taylor; Cygwin List Subject: RE: Using gcc 3.3.3 At 02:32 AM 3/15/2004, you wrote: Thanks I tried building 3.3.3 using 3.3.1, which didn't work when doing 'make bootstrap'. But then I did a successful 'make bootstrap' of 3.3.2 using 3.3.1. The bootstrapped 3.3.2 works fine, and claims to have been compiled by itself not 3.3.1. Even -mno-cygwin works fine on it. So I'm now happy, in that I've used my 'on-a-plate' compiler to compile myself a better one. But I'm greedy and curious, I want more. So now I've included in the path environment variable the path to this before the cygwin path, and I'm now trying to make bootstrap 3.3.3 using 3.3.2. Do you think it should work? Maybe. Try it. When I type 'man patch' it says 'no manual entry for patch', do I have to install this extra? Yep. You apparently don't have the 'patch' package. Rerun setup and install it. And what of this Chris geezer, does he have a known email address? Can he be contacted to be asked questions such as this? I like to refer to Chris as guru rather than geezer. He reads this list and has already responded to this thread so I think you can surmise from this that he can and will answer some questions. But I can tell you he won't hand-hold you through the process and won't respond to person email on this (that's why he sets his reply-to to the list, as do I). So questions should be directed to the list. However, you might find you get allot of helpful information from the gcc list email archives too. If you haven't ogled it yet, you may want to. -Original Message- From: Larry Hall [mailto:[EMAIL PROTECTED] Sent: 15 March 2004 02:11 To: Ben Taylor; Cygwin List Subject: RE: Using gcc 3.3.3 'man patch'. But according to Chris, who knows more about Cygwin's gcc than I do, -mno-cygwin should be configurable with vanilla gcc sources. So, if you're having difficulty with your locally built gcc/g++, you'll need to figure out what's different in your environment. Larry At 03:58 PM 3/14/2004, you wrote: How do I apply patches to my existing Cygwin installation? -Original Message- From: Larry Hall [mailto:[EMAIL PROTECTED] Sent: 14 March 2004 18:59 To: Ben Taylor; [EMAIL PROTECTED] Subject: Re: Using gcc 3.3.3 At 09:50 AM 3/14/2004, you wrote: Hi I have got Cygwin running on my windows XP pc, using gcc 3.3.1. I downloaded gcc 3.3.3 release, and managed to build it, however when I tried to compile a windows application using it it compiled ok but gave a linker error 'couldn't find crt2.o'. It gave this error when I was trying to compile with -mno-cygwin, which worked with gcc 3.3.1. I found that this file was in c:/cygwin/lib/mingw, but passing an option on to the linker such as -Wl,-Lc:/cygwin/lib/mingw or other variations on this didn't work. However when I copied the crt2.o file to c:/cygwin/lib
Re: Using gcc 3.3.3
At 09:50 AM 3/14/2004, you wrote: Hi I have got Cygwin running on my windows XP pc, using gcc 3.3.1. I downloaded gcc 3.3.3 release, and managed to build it, however when I tried to compile a windows application using it it compiled ok but gave a linker error 'couldn't find crt2.o'. It gave this error when I was trying to compile with -mno-cygwin, which worked with gcc 3.3.1. I found that this file was in c:/cygwin/lib/mingw, but passing an option on to the linker such as -Wl,-Lc:/cygwin/lib/mingw or other variations on this didn't work. However when I copied the crt2.o file to c:/cygwin/lib, it worked! But then I read that -mno-cygwin wasn't included on gcc 3.3.3. So was this a fluke? Or is there a standard way to use gcc 3.3.3 on cygwin? Also if I used g++ 3.3.3 to compile but g++ 3.3.1 that came with cygwin to link, it also works fine! Is it then actually using the benefits of the more modern version? The gcc compiler suite for Cygwin contains patches to include the '-mno-cygwin' switch. Since gcc 3.3.3 isn't part of the Cygwin distribution yet, you would need to patch your local version if you want this functionality prior to it's inclusion in Cygwin. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Using gcc 3.3.3
What I don't get is why when I built 3.3.3 using 'make' and then 'make install' (it failed to do 'make bootstrap') it relied on the fact that cygwin was installed in the first place. Why then is that, does it require some unix based functionality that only cygwin provides to a windows pc? -Original Message- From: Larry Hall [mailto:[EMAIL PROTECTED] Sent: 14 March 2004 18:59 To: Ben Taylor; [EMAIL PROTECTED] Subject: Re: Using gcc 3.3.3 At 09:50 AM 3/14/2004, you wrote: Hi I have got Cygwin running on my windows XP pc, using gcc 3.3.1. I downloaded gcc 3.3.3 release, and managed to build it, however when I tried to compile a windows application using it it compiled ok but gave a linker error 'couldn't find crt2.o'. It gave this error when I was trying to compile with -mno-cygwin, which worked with gcc 3.3.1. I found that this file was in c:/cygwin/lib/mingw, but passing an option on to the linker such as -Wl,-Lc:/cygwin/lib/mingw or other variations on this didn't work. However when I copied the crt2.o file to c:/cygwin/lib, it worked! But then I read that -mno-cygwin wasn't included on gcc 3.3.3. So was this a fluke? Or is there a standard way to use gcc 3.3.3 on cygwin? Also if I used g++ 3.3.3 to compile but g++ 3.3.1 that came with cygwin to link, it also works fine! Is it then actually using the benefits of the more modern version? The gcc compiler suite for Cygwin contains patches to include the '-mno-cygwin' switch. Since gcc 3.3.3 isn't part of the Cygwin distribution yet, you would need to patch your local version if you want this functionality prior to it's inclusion in Cygwin. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Using gcc 3.3.3
How do I apply patches to my existing Cygwin installation? -Original Message- From: Larry Hall [mailto:[EMAIL PROTECTED] Sent: 14 March 2004 18:59 To: Ben Taylor; [EMAIL PROTECTED] Subject: Re: Using gcc 3.3.3 At 09:50 AM 3/14/2004, you wrote: Hi I have got Cygwin running on my windows XP pc, using gcc 3.3.1. I downloaded gcc 3.3.3 release, and managed to build it, however when I tried to compile a windows application using it it compiled ok but gave a linker error 'couldn't find crt2.o'. It gave this error when I was trying to compile with -mno-cygwin, which worked with gcc 3.3.1. I found that this file was in c:/cygwin/lib/mingw, but passing an option on to the linker such as -Wl,-Lc:/cygwin/lib/mingw or other variations on this didn't work. However when I copied the crt2.o file to c:/cygwin/lib, it worked! But then I read that -mno-cygwin wasn't included on gcc 3.3.3. So was this a fluke? Or is there a standard way to use gcc 3.3.3 on cygwin? Also if I used g++ 3.3.3 to compile but g++ 3.3.1 that came with cygwin to link, it also works fine! Is it then actually using the benefits of the more modern version? The gcc compiler suite for Cygwin contains patches to include the '-mno-cygwin' switch. Since gcc 3.3.3 isn't part of the Cygwin distribution yet, you would need to patch your local version if you want this functionality prior to it's inclusion in Cygwin. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Using gcc 3.3.3
Building gcc (natively) always requires a working gcc to be present, how else would it compile itself? Ben Taylor wrote: What I don't get is why when I built 3.3.3 using 'make' and then 'make install' (it failed to do 'make bootstrap') it relied on the fact that cygwin was installed in the first place. Why then is that, does it require some unix based functionality that only cygwin provides to a windows pc? -Original Message- From: Larry Hall [mailto:[EMAIL PROTECTED] Sent: 14 March 2004 18:59 To: Ben Taylor; [EMAIL PROTECTED] Subject: Re: Using gcc 3.3.3 At 09:50 AM 3/14/2004, you wrote: Hi I have got Cygwin running on my windows XP pc, using gcc 3.3.1. I downloaded gcc 3.3.3 release, and managed to build it, however when I tried to compile a windows application using it it compiled ok but gave a linker error 'couldn't find crt2.o'. It gave this error when I was trying to compile with -mno-cygwin, which worked with gcc 3.3.1. I found that this file was in c:/cygwin/lib/mingw, but passing an option on to the linker such as -Wl,-Lc:/cygwin/lib/mingw or other variations on this didn't work. However when I copied the crt2.o file to c:/cygwin/lib, it worked! But then I read that -mno-cygwin wasn't included on gcc 3.3.3. So was this a fluke? Or is there a standard way to use gcc 3.3.3 on cygwin? Also if I used g++ 3.3.3 to compile but g++ 3.3.1 that came with cygwin to link, it also works fine! Is it then actually using the benefits of the more modern version? The gcc compiler suite for Cygwin contains patches to include the '-mno-cygwin' switch. Since gcc 3.3.3 isn't part of the Cygwin distribution yet, you would need to patch your local version if you want this functionality prior to it's inclusion in Cygwin. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Using gcc 3.3.3
On Sun, Mar 14, 2004 at 01:59:13PM -0500, Larry Hall wrote: At 09:50 AM 3/14/2004, you wrote: Hi I have got Cygwin running on my windows XP pc, using gcc 3.3.1. I downloaded gcc 3.3.3 release, and managed to build it, however when I tried to compile a windows application using it it compiled ok but gave a linker error 'couldn't find crt2.o'. It gave this error when I was trying to compile with -mno-cygwin, which worked with gcc 3.3.1. I found that this file was in c:/cygwin/lib/mingw, but passing an option on to the linker such as -Wl,-Lc:/cygwin/lib/mingw or other variations on this didn't work. However when I copied the crt2.o file to c:/cygwin/lib, it worked! But then I read that -mno-cygwin wasn't included on gcc 3.3.3. So was this a fluke? Or is there a standard way to use gcc 3.3.3 on cygwin? Also if I used g++ 3.3.3 to compile but g++ 3.3.1 that came with cygwin to link, it also works fine! Is it then actually using the benefits of the more modern version? The gcc compiler suite for Cygwin contains patches to include the '-mno-cygwin' switch. Since gcc 3.3.3 isn't part of the Cygwin distribution yet, you would need to patch your local version if you want this functionality prior to it's inclusion in Cygwin. Actually, -mno-cygwin has been part of standard gcc for some time. The cygwin version of gcc does have some additional patches which make things more robust but for gcc 3.4, these changes are all part of the base. So, the bottom line is that -mno-cygwin should more or less work in most versions of gcc. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Using gcc 3.3.3
'man patch'. But according to Chris, who knows more about Cygwin's gcc than I do, -mno-cygwin should be configurable with vanilla gcc sources. So, if you're having difficulty with your locally built gcc/g++, you'll need to figure out what's different in your environment. Larry At 03:58 PM 3/14/2004, you wrote: How do I apply patches to my existing Cygwin installation? -Original Message- From: Larry Hall [mailto:[EMAIL PROTECTED] Sent: 14 March 2004 18:59 To: Ben Taylor; [EMAIL PROTECTED] Subject: Re: Using gcc 3.3.3 At 09:50 AM 3/14/2004, you wrote: Hi I have got Cygwin running on my windows XP pc, using gcc 3.3.1. I downloaded gcc 3.3.3 release, and managed to build it, however when I tried to compile a windows application using it it compiled ok but gave a linker error 'couldn't find crt2.o'. It gave this error when I was trying to compile with -mno-cygwin, which worked with gcc 3.3.1. I found that this file was in c:/cygwin/lib/mingw, but passing an option on to the linker such as -Wl,-Lc:/cygwin/lib/mingw or other variations on this didn't work. However when I copied the crt2.o file to c:/cygwin/lib, it worked! But then I read that -mno-cygwin wasn't included on gcc 3.3.3. So was this a fluke? Or is there a standard way to use gcc 3.3.3 on cygwin? Also if I used g++ 3.3.3 to compile but g++ 3.3.1 that came with cygwin to link, it also works fine! Is it then actually using the benefits of the more modern version? The gcc compiler suite for Cygwin contains patches to include the '-mno-cygwin' switch. Since gcc 3.3.3 isn't part of the Cygwin distribution yet, you would need to patch your local version if you want this functionality prior to it's inclusion in Cygwin. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Using gcc 3.3.3
On Sun, Mar 14, 2004 at 09:11:09PM -0500, Larry Hall wrote: 'man patch'. But according to Chris, who knows more about Cygwin's gcc than I do, -mno-cygwin should be configurable with vanilla gcc sources. So, if you're having difficulty with your locally built gcc/g++, you'll need to figure out what's different in your environment. The -mno-cygwin option works but you still have to install mingw components for complete functionality just like in the cygwin distribution. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Using gcc 3.3.3
Thanks I tried building 3.3.3 using 3.3.1, which didn't work when doing 'make bootstrap'. But then I did a successful 'make bootstrap' of 3.3.2 using 3.3.1. The bootstrapped 3.3.2 works fine, and claims to have been compiled by itself not 3.3.1. Even -mno-cygwin works fine on it. So I'm now happy, in that I've used my 'on-a-plate' compiler to compile myself a better one. But I'm greedy and curious, I want more. So now I've included in the path environment variable the path to this before the cygwin path, and I'm now trying to make bootstrap 3.3.3 using 3.3.2. Do you think it should work? When I type 'man patch' it says 'no manual entry for patch', do I have to install this extra? And what of this Chris geezer, does he have a known email address? Can he be contacted to be asked questions such as this? -Original Message- From: Larry Hall [mailto:[EMAIL PROTECTED] Sent: 15 March 2004 02:11 To: Ben Taylor; Cygwin List Subject: RE: Using gcc 3.3.3 'man patch'. But according to Chris, who knows more about Cygwin's gcc than I do, -mno-cygwin should be configurable with vanilla gcc sources. So, if you're having difficulty with your locally built gcc/g++, you'll need to figure out what's different in your environment. Larry At 03:58 PM 3/14/2004, you wrote: How do I apply patches to my existing Cygwin installation? -Original Message- From: Larry Hall [mailto:[EMAIL PROTECTED] Sent: 14 March 2004 18:59 To: Ben Taylor; [EMAIL PROTECTED] Subject: Re: Using gcc 3.3.3 At 09:50 AM 3/14/2004, you wrote: Hi I have got Cygwin running on my windows XP pc, using gcc 3.3.1. I downloaded gcc 3.3.3 release, and managed to build it, however when I tried to compile a windows application using it it compiled ok but gave a linker error 'couldn't find crt2.o'. It gave this error when I was trying to compile with -mno-cygwin, which worked with gcc 3.3.1. I found that this file was in c:/cygwin/lib/mingw, but passing an option on to the linker such as -Wl,-Lc:/cygwin/lib/mingw or other variations on this didn't work. However when I copied the crt2.o file to c:/cygwin/lib, it worked! But then I read that -mno-cygwin wasn't included on gcc 3.3.3. So was this a fluke? Or is there a standard way to use gcc 3.3.3 on cygwin? Also if I used g++ 3.3.3 to compile but g++ 3.3.1 that came with cygwin to link, it also works fine! Is it then actually using the benefits of the more modern version? The gcc compiler suite for Cygwin contains patches to include the '-mno-cygwin' switch. Since gcc 3.3.3 isn't part of the Cygwin distribution yet, you would need to patch your local version if you want this functionality prior to it's inclusion in Cygwin. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/