Mail Archives: cygwin-developers/1998/12/22/18:44:59
Opinion/technical question time, folks!
If you do "gcc --print-file-name libgcc.a" cygwin's gcc currently
prints the result using Win32 paths. This breaks cygwin's make. We
were just about to change it to print posix paths, but we realized
that it was done this way for a reason, and there are cases where it
makes sense to print win32 paths.
We thought about using -mcygwin or -mmingw to trigger the output type,
but those only work for native gcc's - they won't work if the gcc is
host=cygwin but a different target (the -m options are
target-specific, not host-specific).
My thought was that if gcc was built for a cygwin host, chances are,
the other tools were also, so posix paths make sense, and if gcc is
built with non-cygwin, chances are the other tools were too, so native
paths make sense.
Can anyone think of other possible solutions or caveats?
- Raw text -