I figured out what the problem was with getting the MMX code to compile with
DJGPP. _NAMING needs to be defined so that when the macros are run all
symbols have a preceding _ (this is what I've gathered from my tests
anyway). I've been trying to hack nasm.h to get it to function properly, as
long as I have %define _NAMING above %ifdef WIN32 and I remove the parts for
align=16 under the WIN32 ifdef, it works without a prolem, amazing that it
took me this long to figure it out, but I'm not a coder. It's hard to
imagine that this little thing has eluded me, and it's so simple. I know
that this might break it for other OSes, so I tried to make it work with an
%ifdef, no luck, I assumed that it should work with %ifdef __DJGPP__, but it
doesn't and I need sleep, but I'm sure someone that knows what they are
doing a little better could figure it out. I'm just happy I got it to work
properly. I learned a few things about nasm tonight anyway.
Joshua Bahnsen
--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )