Hi,

I was able to compile mpeg2enc under Cygwin, but with the MMX optimizations off.

In configure you need to --disable-simd-accel, as told here:

https://sourceforge.net/mailarchive/message.php?msg_id=7703576
https://sourceforge.net/mailarchive/message.php?msg_id=7682007

Also, you will have to edit a file and do a few (four) castings to the proper C type (uint_32t*, if I remember well), that is obvious from the compile error messages.

The reason of turning off the MMX, is because the object files generated by nasm under Cygwin are not able to carry symbol information, and the link stage fails.

By reading the "ld" man page it seems that "ld" is able to link COFF and ELF object together, so *maybe* it could be possible to tell nasm to target ELF, and then tell "ld" to glue together the objects.

Unfortunately, "ld" is called via "libtool", and it exceeds my knowledge to find out how to do that.

Any "libtool" expert around volunteers?

Regards,
Víctor

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to