[XviD-devel] Mach-O and SECTON .rotext

Michael Militzer michael at xvid.org
Thu Dec 4 20:45:04 CET 2008


I have reworked the x86 asm to make it compatible with yasm and have readded
yasm support to the CVS HEAD code. Further I have macro'ed the 'SECTION
.rotext' so it can be controlled from a central place (see macro TEXT in

You may want to give this a try and report if this works better for Mach-O.


Quoting Takashi Mochizuki <mochi at da2.so-net.ne.jp>:

> Hi,
> I moved to nasm now. And I am struggling to build new 1.2.1 src,
> under MacOS X 10.5.5 + macport + nasm 2.5.1.
> //
> I have found every x86 asm uses "SECTION .rotext align=SECTION_ALIGN".
> But under Mach-O binary, nasm says "panic: invalid section
> name .rotext".
> So, I have embed simple macro into src/nasm.inc:25, as:
> + %define .rotext .text
> (I am not sure if this macro is useful or meaningless, though.)
> //
> Now I think I can build static library (libxvidcore.a) under MacOS X
> env.,
> ... but not dynamic link library yet (libxvidcore.dylib).
> Do you anyone have any idea?
> Takashi Mochizuki
> _______________________________________________
> Xvid-devel mailing list
> Xvid-devel at xvid.org
> http://list.xvid.org/mailman/listinfo/xvid-devel

More information about the Xvid-devel mailing list