[ODE] Cross compiling ODE for Pocket PC
Nate W
coding at natew.com
Wed Jul 2 22:18:02 2003
On Wed, 2 Jul 2003, GMANE wrote:
> [...] I would have to compile ODE with the free embedded Visual Studio
> cross compiler. Taking a quick look at the compilation process for
> ODE, it looks like it is assumed that ODE will be compiled on the same
> platform that it will run on, as an executable is first created and
> then the executable itself controls compilation of the rest of the
> library. Anyone know why it is done this way and how much work it
> would be to change it?
The first exe you speak of just generates config.h, but you can also
create that header file my hand if you wish. Try making one the usual
way, and look for #defines and const declarations and such that might need
to be changed for the PocketPC platform. That will probably be a
trial-and-error process, but if you make it work, it would be very cool to
update configurator.c with your findings.
> The other hurdle would be that floating point is emulated on most (if not
> all?) Pocket PC PDAs. The physics that I plan on doing are so simple that
> that might be ok. If it's not, I would have to create support for integer
> math in ODE. How much work would that be?
I would expect floating point emulation to be available, perhaps as a
linker option, but I'm just guessing.
--
Nate Waddoups
Redmond WA USA
http://www.natew.com