[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: using cygpath for compiling and linking
From: |
Baurzhan Ismagulov |
Subject: |
Re: using cygpath for compiling and linking |
Date: |
Wed, 8 Aug 2012 11:21:54 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Hello Bob,
On Tue, Aug 07, 2012 at 10:42:24PM -0500, Bob Friesenhahn wrote:
> >I've tried to use a Windows compiler (WindRiver Diab) with automake
> >under cygwin. The compiler gets cygwin-style paths (/cygdrive/c/...) on
> >its command line and fails. How can I make automake use cygpath for
> >compilation (prog_SOURCES) and linking (prog_LDADD)?
>
> I suggest seeing if MinGW's MSYS (originally derived from Cygwin)
> might do better. It converts Unix style paths to Windows paths for
> Windows native programs.
MSYS works without problems and is faster by 20 to 40 per cent for
compilation and configure, respectively -- so that would ideally be my
platform of choice. Unfortunately, I couldn't get bitbake (which
requires python with fcntl) to run under MSYS.
I see that cygpath conversion is already implemented for cygwin (for
MSVC?), but I don't see how to enable it (perhaps this is an autoconf
issue). So, I'd appreciate help with cygpath on cgywin (or bitbake on
MSYS).
With kind regards,
Baurzhan.