[FFmpeg-devel] [PATCH] nasm support

Dave Yeo daveryeo
Sat Sep 4 05:43:10 CEST 2010


Thank you

On 09/03/10 10:05 am, Reimar D?ffinger wrote:
> On Fri, Sep 03, 2010 at 06:56:03PM +0200, Reimar D?ffinger wrote:
>> Hello,
>> this allows compiling FFmpeg asm code with nasm.
>> Advantages:
>> 1) nasm support OS/2 OMF format

Easier to use aout and convert at the linking stage. OMF defaults to 16 
bit under nasm and we already use aout for the object files.

>> 2) there's a Cygwin package for nasm
>> Tested on 64 bit Linux, compiles and passes tests.
>> Obviously it would be a good idea for someone to test it
>> on 32 bit...

Needed a couple of
-section .text align=16
+section .text
+align 16
to assemble here.

>
> And this one is actually against current SVN.

This version of Reimars patch builds and passes fate here.
There are still some problems as doing make in libavcodec causes nasm to 
fail to find config.asm. Knowing nasm, it probably needs another include 
or a trailing slash. I'll look into it more tomorrow.
Dave
ps thanks to Ronald and M?ns for keeping OS/2 green on Fate.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: nasm.diff
Type: text/x-patch
Size: 11114 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100903/457998c2/attachment.bin>



More information about the ffmpeg-devel mailing list