[ODE] Building ODE on MinGW platform
Rodrigo Hernandez
kwizatz at aeongames.com
Mon Feb 6 13:25:13 MST 2006
Snapshot?
The problem might have been fixed already, besides I think there is an
unofficial consensus about the old configure
procedure being deprecated in favor of autotools.
I highly recomend grabbing a copy of the UNSTABLE branch over a cvs
snapshot, I have descrived the process on how to go about it several
times on the list.
Cheers!
Kevin Kassil wrote:
>Hi Rodrigo,
>
>I was building the latest CVS snapshot (9 October 2005) of ODE. My version of
>make is mingw32-make-3.80.0-1. I did not use autotools. I simply edited
>"user-settings" and ran make.
>
>It seems the problem is the lack of white-space between $(AR) and $@ in
>Makefile. So mingw32-make tries to execute "ar rclib/libode.a" instead of
>"ar rc lib/libode.a".
>
>Once I applied the patch below, ODE was able to build libode.a.
>
>Kevin
>
>Rodrigo Hernandez wrote:
>
>
>>Is this stable or unstable? if unstable, usually updating to the latest
>>set of autotools (automake and autoconf) fixes any building problems.
>>
>>Kevin Kassil wrote:
>>
>>
>>
>>>Hi,
>>>
>>>On my Win32-MinGW platform, the build failed at lib/libode.a, because
>>>the first two parameters to ar were squished together:
>>>
>>>ar rclib/libode.a ode/src/array.o <snip>.....
>>>ar: illegal option -- /
>>>Usage: ar [emulation options] [-]{dmpqrstx}[abcfilNoPsSuvV] <snip>...
>>>
>>>Here is my suggested patch for Makefile:
>>>
>>>282c282
>>>< ODE_LIB_AR_RULE=$(AR)$@
>>>---
>>>
>>>
>>>>ODE_LIB_AR_RULE=$(AR) $@
>>>>
>>>>
>>>308c308
>>>< $(AR)$@ @dsobj.txt
>>>---
>>>
>>>
>>>> $(AR) $@ @dsobj.txt
>>>>
>>>>
>>>312c312
>>>< $(AR)$@ $(DRAWSTUFF_OBJECTS)
>>>---
>>>
>>>
>>>> $(AR) $@ $(DRAWSTUFF_OBJECTS)
>>>>
>>>>
>>>Best,
>>>
>>>Kevin
>>>_______________________________________________
>>>ODE mailing list
>>>ODE at q12.org
>>>http://q12.org/mailman/listinfo/ode
>>>
>>>
>>>
>>>
>>>
>
>
>
More information about the ODE
mailing list