[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PGI Compiler patch for cygwin
From: |
Ralf Wildenhues |
Subject: |
Re: PGI Compiler patch for cygwin |
Date: |
Fri, 24 Feb 2006 14:56:44 +0100 |
User-agent: |
Mutt/1.5.11 |
* Eric Blake wrote on Fri, Feb 24, 2006 at 02:51:07PM CET:
> According to Christopher Hulbert on 2/22/2006 5:56 AM:
> >
> > Actually it seems the problem is that a unix-style path is passed to
> > lib as the library name. This is probably not the correct fix, but
> > what I did was add the following to the func_extract_archives function
> > between the *-darwin* and * case.
> > *-cygwin*)
> > my_xdir=`cygpath -m $my_xdir`
> > my_xabs=`cygpath -m $my_xabs`
> > func_extract_an_archive "$my_xdir" "$my_xabs"
> > ;;
>
> Missing some proper quoting - consider if my_xabs contained something like
> '/dir with 2 spaces/file'. Furthermore, I don't think this should this
> be done globally for cygwin because it penalizes compilers that do
> understand POSIX paths (gcc).
Certainly all uses of `cygpath' in ltmain are best replaced with uses of
the `fix_srcfile_path' variable. We may need more variables like that,
to indicate the necessity of fixing for
- the compiler
- the archiver
- maybe even the linker separately from the compiler (hopefully not),
- possibly the name lister (NM).
Cheers,
Ralf
- Re: PGI Compiler patch for cygwin, (continued)
- Re: PGI Compiler patch for cygwin, Christopher Hulbert, 2006/02/21
- Re: PGI Compiler patch for cygwin, Ralf Wildenhues, 2006/02/21
- Re: PGI Compiler patch for cygwin, Christopher Hulbert, 2006/02/21
- Re: PGI Compiler patch for cygwin, Ralf Wildenhues, 2006/02/21
- Re: PGI Compiler patch for cygwin, Christopher Hulbert, 2006/02/21
- Re: PGI Compiler patch for cygwin, Christopher Hulbert, 2006/02/21
- Re: PGI Compiler patch for cygwin, Ralf Wildenhues, 2006/02/21
- Re: PGI Compiler patch for cygwin, Christopher Hulbert, 2006/02/22
- Re: PGI Compiler patch for cygwin, Eric Blake, 2006/02/24
- Re: PGI Compiler patch for cygwin, Christopher Hulbert, 2006/02/24
- Re: PGI Compiler patch for cygwin,
Ralf Wildenhues <=
- Re: PGI Compiler patch for cygwin, Christopher Hulbert, 2006/02/24
Re: PGI Compiler patch for cygwin, Christopher Hulbert, 2006/02/23