From: Víctor P. <wz...@ho...> - 2004-07-27 13:31:27
|
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 |