From: Christopher Faylor <me@cgf.cx>
To: gdb-patches@sources.redhat.com
Subject: Re: MinGW build instructions
Date: Wed, 11 May 2005 19:58:00 -0000 [thread overview]
Message-ID: <20050511191550.GB18308@trixie.casa.cgf.cx> (raw)
In-Reply-To: <01c55659$Blat.v2.4$34414ce0@zahav.net.il>
On Wed, May 11, 2005 at 09:41:35PM +0300, Eli Zaretskii wrote:
>> Date: Wed, 11 May 2005 12:11:53 -0400
>> From: Christopher Faylor
>>
>> You don't have to install 700MB of cygwin to get things working. You
>> should be able to get away with just installing the bits that you need +
>> the mingw compiler. Or, it is possible that a i686-pc-mingw32-gcc
>> wrapper like:
>>
>> #!/bin/sh
>> exec gcc -mno-cygwin "$@"
>>
>> may "just work" with the cygwin version of gcc. The -mno-cygwin option
>> to gcc actually uses the mingw headers and libraries. Unfortunately,
>> there is a problem with cygwin-bleedover for libraries, though, so
>> you have to be careful not to specify any libraries on the command
>> line which exist on cygwin but not in mingw. This is something that
>> I keep meaning to fix in gcc/binutils...
>
>Thanks for the info.
>
>However, what is needed are precise instructions based on actual
>experience. If I were someone who needs for the first time compile a
>GNU package on Windows, it would not help me to know that
>such-and-such setup ``might just work''.
Yes, I know that, Eli. These were hints for someone who might want to
try it. They were not intended as step-by-step instructions since,
obviously I can't provide those. I thought that maybe they'd be
useful for someone who was interested in trying this.
>Also, the configuration that you suggest: some part of Cygwin and the
>MinGW compiler, will probably suffer from incompatibilities due to
>Cygwin file names that the MinGW compiler probably doesn't understand,
>symlinks that the utilities such as ln support, but the MinGW compiler
>might not, etc.
I don't see why. You just install the mingw compiler and put it in your
path. There obviously won't be any cygwin symlinks in the mingw compiler
tar ball.
>I didn't try MSYS, but it sounds that they did resolve these problems
>in a more satisfactory manner.
I doubt it. MSYS's claim to fame is that you don't have to use the
cygwin mount table. AFAIK, it does nothing special with symlinks. Msys
would not have problems with cygwin bleed over I mentioned since
there wouldn't be any cygwin components.
OTOH, as I mentioned, AFAIK all of MSYS's components lag cygwin in terms
of bug fixes and frequency of updates.
It's odd that you apparently don't like my not being specific enough but
then go on to postulate general problems with things that you haven't
tried. But, regardless, I was just offering opinions. It seems like my
offering information has now gotten me into YA debate. I think I'm
learning some kind of lesson here.
>So I don't really understand why you don't like their alternative. Is
>it known to have some serious problems?
How much would you like someone saying "I've got this new version of
tools that I've called CFGPP" if the tools were a repackaging of DJGPP
with some patches? What if the person involved in CFGPP was
occasionally apparently fixing bugs but not pushing them back to DJGPP?
How about if the CFGPP web site made no mention of the fact that it was
95% DJGPP with some changes? How about if CFGPP binaries started
showing up which played badly with DJGPP and people started asking you
to fix DJGPP so that it worked better with CFGPP? How about if people
started asking CFGPP questions in the DJGPP mailing lists?
These are standard problems with a fork and my reaction, as the project
lead for Cygwin, is a typical reaction to a fork. I don't know if MSYS
has serious problems. I haven't heard of any but I'm not going to
endorse it because I use another alternative.
cgf
next prev parent reply other threads:[~2005-05-11 19:15 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-09 20:42 PATCH: Use getche on Win32 Mark Mitchell
2005-05-10 6:01 ` Eli Zaretskii
2005-05-10 11:45 ` Mark Mitchell
2005-05-10 20:05 ` Eli Zaretskii
2005-05-10 20:26 ` Mark Mitchell
2005-05-10 20:31 ` Eli Zaretskii
2005-05-10 20:49 ` Daniel Jacobowitz
2005-05-10 21:41 ` Christopher Faylor
2005-05-11 6:55 ` Christopher Faylor
2005-05-11 7:13 ` Eli Zaretskii
2005-05-11 7:17 ` Mark Mitchell
2005-05-11 7:21 ` MinGW build instructions (was: PATCH: Use getche on Win32) Eli Zaretskii
2005-05-11 7:29 ` MinGW build instructions Mark Mitchell
2005-05-11 7:53 ` Eli Zaretskii
2005-05-11 18:45 ` Christopher Faylor
2005-05-11 19:05 ` Eli Zaretskii
2005-05-11 19:58 ` Christopher Faylor [this message]
2005-05-11 23:16 ` Eli Zaretskii
2005-05-11 6:56 ` PATCH: Use getche on Win32 Mark Mitchell
2005-05-11 13:42 ` Eli Zaretskii
2005-05-13 11:42 ` Mark Mitchell
2005-05-13 15:18 ` Eli Zaretskii
2005-05-11 7:07 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050511191550.GB18308@trixie.casa.cgf.cx \
--to=me@cgf.cx \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox