[FFmpeg-user] How can I build a 32 bit ffmpeg on a 64 bit platform

Reindl Harald h.reindl at thelounge.net
Fri Apr 15 14:27:38 CEST 2011

Am 15.04.2011 14:23, schrieb Zhanwu Xiong:
> Hi all,
> I want to build a 32 bit version of ffmpeg on a 64 bit platform, in order to
> enable

you will not get a quicker answer if you post the same
message multiple times

> *gcc -m32 main.c otherlib.o -lavformat -lavcodec*
> where otherlib.o is an 32 bit compiled object and I don't have source of it.

how should anybody understand this?
WHAT library?
how should this work?

> I have tried to specify *'--arch=x86_32'* when calling *configure*,
> which successfully set arch
> value to x86_32 in *config.mak*, but the generated library files are still
> incompatible.
> Can any one tell me which option I should use when *configure*?

i would generally use a virtual machine with the target os und
a build-environment and building distribution-like packages
instead of manual compile

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20110415/ff6eeeb5/attachment.asc>

More information about the ffmpeg-user mailing list