Re: Build problem with cygwin/mingw

Rob Leslie <[email protected]> Fri, 14 Nov 2003 14:22:02 -0800
Newsgroups gmane.comp.audio.mad.user
Message-ID <[email protected]>
[Note Reply-To.]

On Nov 14, 2003, at 12:52 PM, Jedediah Smith wrote:
> Following steps were followed:
>
> ./configure --host=mingw32 --prefix==/cygdrive/c/source/vc/mixer/libmad
>
> Configure step goes fine. The prefix is the dir I want to install to 
> e.g. c:\source\vc\mixer\libmad which already exists.
[...]
> ranlib /cygdrive/c/source/vc/mixer/libmad/lib/libmad.a
> c:\mingw\bin\ranlib.exe: 
> /cygdrive/c/source/vc/mixer/libmad/lib/libmad.a: No such file or 
> directory
[...]
> It looks like ranlib is being passed the cygwin version of the path 
> but it doesn't recognize it as it's part of mingw and only allows 
> normal Windows paths. What shall I do about this?

I think both Cygwin and Mingw understand Windows paths, so try:

   ./configure --host=mingw32 --prefix='C:\\source\\vc\\mixer\\libmad'

If not you can just install the library by hand; libmad doesn't 
hardcode any paths from the configured prefix, so it's safe to omit.

-- 
Rob Leslie
[email protected]