Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-09-14 Thread Christopher Faylor
On Mon, Jul 25, 2005 at 05:33:19PM -0400, Christopher Faylor wrote: >On Mon, Jul 25, 2005 at 05:23:54PM -0400, DJ Delorie wrote: >>>Maybe one solution would be to patch pex-win32 for mingw so that it >>>could understand '#!' style shell scripts? That would at least allow >>>bootstrapping. >> >>Tha

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-26 Thread Paolo Bonzini
Paolo, could you go back and think about the bootstrapping problem from MinGW's perspective? I had considered cygwin, that had some problems because of the executable-file extension. I had also thought of using batch files via config.build, but got stuck because Windows. does not have as f

RE: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-25 Thread Danny Smith
From: Christopher Faylor Sent: Tuesday, July 26, 2005 9:33 AM > > On Mon, Jul 25, 2005 at 05:23:54PM -0400, DJ Delorie wrote: > >>Maybe one solution would be to patch pex-win32 for mingw so that it > >>could understand '#!' style shell scripts? That would at > least allow > >>bootstrapping

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-25 Thread Christopher Faylor
On Mon, Jul 25, 2005 at 05:23:54PM -0400, DJ Delorie wrote: >>Maybe one solution would be to patch pex-win32 for mingw so that it >>could understand '#!' style shell scripts? That would at least allow >>bootstrapping. > >That would be wonderful, and that's exactly the right place to put it >too.

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-25 Thread DJ Delorie
> Maybe one solution would be to patch pex-win32 for mingw so that it > could understand '#!' style shell scripts? That would at least > allow bootstrapping. That would be wonderful, and that's exactly the right place to put it too. I'm assuming I can persuade one of you to do that? ;-) I'm g

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-25 Thread Christopher Faylor
On Mon, Jul 25, 2005 at 04:48:45PM -0400, DJ Delorie wrote: >> Presumably, people with blanket write privs and people responsible for >> the build machinery. > >Yup, that's them. > >I did a little historical digging on this item, and the original >trigger was http://gcc.gnu.org/ml/gcc-patches/2005-

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-25 Thread DJ Delorie
> Presumably, people with blanket write privs and people responsible for > the build machinery. Yup, that's them. I did a little historical digging on this item, and the original trigger was http://gcc.gnu.org/ml/gcc-patches/2005-05/msg00280.html where Paolo needed to switch from symlinks to har

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-25 Thread Christopher Faylor
On Mon, Jul 25, 2005 at 03:37:55PM +0200, Fran?ois-Xavier Coudert wrote: >Coming back to this topic. > >Nobody has answered to one of my questions: if the mingw/cygwin >maintainers can't approve such a patch, who can? Presumably, people with blanket write privs and people responsible for the build

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-25 Thread François-Xavier Coudert
Coming back to this topic. Nobody has answered to one of my questions: if the mingw/cygwin maintainers can't approve such a patch, who can? FX

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-22 Thread Mark Mitchell
Ross Ridge wrote: Right. The real solution is to separate libgcc from the rest of the compiler; you should be able to (a) use configure to detect features of your as/ld, (b) build the compiler, (c) install it, and, only then, (d) start building libraries. Sorry, but I don't see the releven

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-22 Thread Ross Ridge
Ross Ridge wrote: >I don't see how the existance of configure changes the fact the GCC >compiler driver exists, DJ Delorie wrote: >At the time you're running configure, the gcc driver does *not* exist, >but you *do* need to run as and ld to test what features they support, >information which is ne

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-22 Thread Mark Mitchell
Ross Ridge wrote: Ross Ridge wrote: I don't see how the existance of configure changes the fact the GCC compiler driver exists, DJ Delorie wrote: At the time you're running configure, the gcc driver does *not* exist, but you *do* need to run as and ld to test what features they support,

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-21 Thread Ross Ridge
Ross Ridge wrote: > I don't see how the existance of configure changes the fact the GCC > compiler driver exists, DJ Delorie wrote: > At the time you're running configure, the gcc driver does *not* exist, > but you *do* need to run as and ld to test what features they support, > information which

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-21 Thread DJ Delorie
> I don't see how the existance of configure changes the fact the GCC > compiler driver exists, At the time you're running configure, the gcc driver does *not* exist, but you *do* need to run as and ld to test what features they support, information which is needed in order to *build* gcc. It's

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-21 Thread Ross Ridge
Ross Ridge wrote: > You already have a not-so-small C program that's supposed to know > where as and ld are. DJ Delorie wrote: > You're forgetting about configure. I don't see how the existance of configure changes the fact the GCC compiler driver exists, is capable of running and as and ld, and

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-21 Thread DJ Delorie
> You already have a not-so-small C program that's supposed to know > where as and ld are. You're forgetting about configure.

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-20 Thread Paolo Bonzini
Heck, it can even search $PATH for us. That sounds like a good idea to me. Please assign the bug to me. I am not receiving Bugzilla mail for some reason, I guess I'll have to subscribe to gcc-bugs and use procmail. Paolo

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-20 Thread Ross Ridge
>A thought occurs to me... we *know* how to build build-system >executables, like gen*.exe. Why can't we have small C programs that >know where as/ld are, know how to exec them portably (libiberty), etc? You already have a not-so-small C program that's supposed to know where as and ld are. Unfor

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-20 Thread DJ Delorie
> Wouldn't that mean that 'cp' is a valid fallback even for non-GNU lds? We don't know what *else* a non-gnu linker/assembler might need.

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-20 Thread DJ Delorie
> I build mingw cross toolchains with sysroots :-) That'll be affected > by this change. Of course, currently I cross-build them from > --build=i686-linux, so it doesn't affect me directly. The problem case is build=mingw, not host=mingw. I suppose a mingw-hosted (and -built) cross compiler mig

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-20 Thread Christopher Faylor
On Wed, Jul 20, 2005 at 11:10:49PM -0400, DJ Delorie wrote: >>Wouldn't that mean that 'cp' is a valid fallback even for non-GNU lds? > >We don't know what *else* a non-gnu linker/assembler might need. I guess what I'm trying to get at here is some feeling for whether the shell script method is the

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-20 Thread Christopher Faylor
On Wed, Jul 20, 2005 at 10:58:05PM -0400, DJ Delorie wrote: >> Is that actually true, though? Doesn't GNU ld try to locate files >> relative to its invoked path? > >Sometimes, for sysroots and ldscripts. I wouldn't expect MinGW (or >any native linker) to use this feature. GCC usually passes ld >

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-20 Thread Daniel Jacobowitz
On Wed, Jul 20, 2005 at 10:58:05PM -0400, DJ Delorie wrote: > > > Is that actually true, though? Doesn't GNU ld try to locate files > > relative to its invoked path? > > Sometimes, for sysroots and ldscripts. I wouldn't expect MinGW (or > any native linker) to use this feature. GCC usually pas

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-20 Thread Daniel Jacobowitz
On Wed, Jul 20, 2005 at 10:40:39PM -0400, Christopher Faylor wrote: > On Wed, Jul 20, 2005 at 10:25:06PM -0400, DJ Delorie wrote: > >> Except that "cp" is already used as a fallback for when "ln" doesn't > >> work. If the tool is likely not to work after a "cp" then shouldn't the > >> fallback con

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-20 Thread DJ Delorie
> Is that actually true, though? Doesn't GNU ld try to locate files > relative to its invoked path? Sometimes, for sysroots and ldscripts. I wouldn't expect MinGW (or any native linker) to use this feature. GCC usually passes ld whatever path specifications it needs. > Since we know that ming

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-20 Thread Christopher Faylor
On Wed, Jul 20, 2005 at 10:25:06PM -0400, DJ Delorie wrote: >> Except that "cp" is already used as a fallback for when "ln" doesn't >> work. If the tool is likely not to work after a "cp" then shouldn't the >> fallback condition be to always create a shell script (or .bat file)? > >One could argue

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-20 Thread DJ Delorie
> Except that "cp" is already used as a fallback for when "ln" doesn't > work. If the tool is likely not to work after a "cp" then shouldn't the > fallback condition be to always create a shell script (or .bat file)? One could argue that, in the case with ln/cp, we *know* we're dealing with GNU

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-20 Thread Daniel Jacobowitz
On Wed, Jul 20, 2005 at 10:10:03PM -0400, Christopher Faylor wrote: > On Tue, Jul 19, 2005 at 04:21:04PM -0400, Daniel Jacobowitz wrote: > >On Tue, Jul 19, 2005 at 04:14:04PM -0400, Christopher Faylor wrote: > >>Ok. Given that 'cp' was an acceptable fallback in the original version > >>of the abov

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-20 Thread Christopher Faylor
On Tue, Jul 19, 2005 at 04:21:04PM -0400, Daniel Jacobowitz wrote: >On Tue, Jul 19, 2005 at 04:14:04PM -0400, Christopher Faylor wrote: >>Ok. Given that 'cp' was an acceptable fallback in the original version >>of the above script, I wonder why 'cp' wasn't used instead of creating >>a shell script

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-19 Thread Daniel Jacobowitz
On Tue, Jul 19, 2005 at 04:14:04PM -0400, Christopher Faylor wrote: > Ok. Given that 'cp' was an acceptable fallback in the original version > of the above script, I wonder why 'cp' wasn't used instead of creating a > shell script wrapper. Because it is desirable to leave the tools where they wer

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-19 Thread Christopher Faylor
On Tue, Jul 19, 2005 at 10:03:14PM +0200, FX Coudert wrote: >>I'd prefer that Danny review this but neither of us has the right to >>approve this patch. > >Well, then, who has the right to approve such a patch? > >>However, it seems like you're adding extra stuff to the Makefile where >>it is alrea

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-19 Thread FX Coudert
I'd prefer that Danny review this but neither of us has the right to approve this patch. Well, then, who has the right to approve such a patch? However, it seems like you're adding extra stuff to the Makefile where it is already trying to do the right thing if $(LN) fails. Couldn't LN just be

Re: PING [4.1 regression, patch] build i686-pc-mingw32

2005-07-19 Thread Christopher Faylor
On Tue, Jul 19, 2005 at 11:07:33AM +0200, FX Coudert wrote: >PING. Could one of the mingw/cygwin maintainers review this patch? Or >can someone else do it? > >http://gcc.gnu.org/ml/gcc-patches/2005-07/msg00086.html I'd prefer that Danny review this but neither of us has the right to approve this