This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] IS_ABSOLUTE_PATH to handle both DOS and POSIX path st yles
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Aleksandar Ristovski <ARistovski at qnx dot com>
- Cc: gcc-patches at gcc dot gnu dot org, RMansfield at qnx dot com
- Date: Sat, 05 Jan 2008 18:55:22 +0200
- Subject: Re: [patch] IS_ABSOLUTE_PATH to handle both DOS and POSIX path st yles
- References: <2F6320727174C448A52CEB63D85D11F40A56@nova.ott.qnx.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Aleksandar Ristovski <ARistovski@qnx.com>
> Cc: gcc-patches@gcc.gnu.org, Ryan Mansfield <RMansfield@qnx.com>
> Date: Sat, 5 Jan 2008 10:44:02 -0500
>
> > What would be the use of these _ANY predicates? We always run on a
> > platform that is either DOS or Posix, but never both, right?
>
> I tried to explain in the comment. The actual need is in GDB when we debug
> on linux a binary cross-compiled on windows.
But the form of the file names is determined by the platform on which
you compiled the sources, right? So are you talking about a use case
where a program was compiled on Windows, and is then debugged on a
GNU/Linux host?