[ODE] Building ODE on MinGW platform

Kevin Kassil kassil at cs.queensu.ca
Fri Feb 3 12:13:30 MST 2006


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


More information about the ODE mailing list