[ODE] ode-0.035 using mingw 2.0.0 (thanks to Yann)
r. mutt
anj_utsuo at yahoo.com
Wed Mar 26 23:57:01 2003
if anyone is interested in fixing the 'out of the
tar.gz' make-ability of ODE w/ mingw (2.0.0 at least)
it would only require 3 minor changes
include/create a "lib" directory
//which shouldn't break anything
//but really isn't a big deal
add "-lstdc++" to LINK_OPENGL in
"config/makefile.mingw"
//which also shouldn't break anything
//but is less obvious to fix than the missing "lib"
directory for people left on their own
add this else to the if statement on line 252 of
"configurator.c"
(or some other equivalent fix):
else if(strcmp(header[i],"alloca.h")) fprintf
(file,"\n#define alloca __builtin_alloca\n");
//i don't think this will break anything on other
systems/compilers
//it still worked in linux w/ gcc for me (i.e. it
ignored the line because i had 'alloca.h')
//and it is less messy than waiting for it to error
and then editing include/ode/config.h
or at least add mention of the above such in one of
the README or INSTALL files
the ode faq or mingw makefile
thanks again to Yann for the help and fixes
and anyone else appropriately for ODE
__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com