Web lists-archives.org

Re: [Mingw-users] Error build shared library




Rafael Fernandes wrote:

> $ windres -v ./src/main/win32/version.rc build/version.o
> 
> The process tried to write to a nonexistent pipe.

What is generating this text?  It does not look like a POSIX style of
error output, it looks like a native program.

If it were me at this point, I'd step through windres with a debugger. 
But that requires building a version of windres with debug symbols,
which may be a lot to expect.

> Tried `D:\msys\1.0\local\bin\gcc.exe'

This is where windres tries to find the location of gcc.exe in PATH. 
But what in the world is /usr/local/bin/gcc.exe?  There shouldn't be any
such file in a standard MSYS install.

> Looks like there's a problem when using pipes... should I consider it a
> bug, a limitation of MSYS or a work in progress?

I don't think this has anything to do with MSYS at all.  It should
reproduce when removing MSYS from the picture entirely by invoking it
from the native shell.  (I.e. windres is not part of MSYS, it's a MinGW
program that uses MSVCRT not the MSYS runtime.)  And windres works just
fine using pipes for the rest of us, so it has to be something
particular to this set of circumstances.

The question as I see it is why can't windres correctly locate gcc in
PATH.

Brian

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users