This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


"FX Coudert"  wrore:
"Christopher Faylor"  wrote:

> > I'd prefer that Danny review this but neither of us has the right to
> > approve this patch.


 It works, but I don't think is he only  way,
>
<snip>
>
> > 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 declared as "cp" for mingw or, alternatively, couldn't it be
> > defined as some failing command so that the cp in the failing condition
> > would be invoked?
>
> Only the remaining case, which creates a shell script, fails on mingw32.
> The shell script is spawned to call the assembler, which fails. Only
> real win32 executables can be spawned.
>

an "as.bat" (or "as.cmd" on NT)  containing just

/path/to/original-as-for-target  %1 %2 %3 %4

works too.  But I think the use of "cp" is a simpler solution.
I just configure using --with-as=/path/to/original-as-for-target and I don't run
into the problem.

Danny

> FX


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]