[Ffmpeg-devel] Compiling FFmpeg using ISO/C89 compiler

Halawani, Abdelmalek abdelmalek.halawani
Tue Dec 5 17:45:10 CET 2006

I have the VEX C compiler. It is a compiler and simulator for VLIW "very large instruction width" machines developed by HP.


Here is the VEX page.




In the platform manual, they say that it is an ISO/C89 compiler.


I modified common.mak, config.mak and the main Makfile, then i compiled the project.  A sequence of compilation errors appear, once I fix one another comes, and it is not easy to find the solutions online, common answers are "migrate to a more recent compiler".


In addition, I realized that it is a headache to extract the "mpeg4" content out of the "ffmpeg" project. On the other hand, it will be time consuming (if possible) to try to modify the whole "ffmpeg" to be C89 compliant.


If there is no way out, I will face two options, either change the compiler or find some open source "mpeg" implementations.


Any advice is highly appreciated.




From: ffmpeg-devel-bounces at mplayerhq.hu on behalf of M?ns Rullg?rd
Sent: Tue 05/12/2006 16:14
To: FFMpeg development discussions and patches
Subject: Re: [Ffmpeg-devel] Compiling FFmpeg using ISO/C89 compiler

Halawani, Abdelmalek said:

> I am interested in compiling and testing the "mpeg4" decoder using the C89
> compiler. What will be the proper approach?

FFmpeg can't be compiled with a strict C89 compiler since we use some C99
features.  Many mostly C89 compilers do support these features, even if they
are not fully C99 compliant.  Which compiler did you have in mind?

M?ns Rullg?rd
mru at inprovide.com
ffmpeg-devel mailing list
ffmpeg-devel at mplayerhq.hu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 6223 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20061205/c245a05c/attachment.bin>

More information about the ffmpeg-devel mailing list