[Ffmpeg-devel] cross compiling ffmpeg
Marc Hoffman
mmh
Thu Feb 8 04:37:43 CET 2007
On Feb 5, 2007, at 10:11 AM, Diego Biurrun wrote:
> On Mon, Feb 05, 2007 at 02:39:24PM +0000, M?ns Rullg?rd wrote:
>>
>> Diego Biurrun said:
>>> On Mon, Feb 05, 2007 at 01:28:45PM +0000, M?ns Rullg?rd wrote:
>>>>
>>>>> 979:for opt do
>>>>
>>>> This could, and probably should, be merged with the main loop.
>>>
>>> Hmmmm...
>>>
>>> FFMPEG_CONFIGURATION=" "
>>> for opt do
>>> FFMPEG_CONFIGURATION="$FFMPEG_CONFIGURATION""$opt "
>>> done
>>>
>>> Am I missing something here or can this be simplified to
>>>
>>> FFMPEG_CONFIGURATION="$@"
>>
>> The same thing occurred to me, and I don't see why it would be
>> different.
>
> There is a difference: It should be considerably faster (not that it
> will matter much, but ..). Anyway, committed.
>
> Diego
I'm still not sure how this gets around the uname -a stuff I
simplified the changes I'm asking for and I don't see why walking the
argument list twice looking for --target= is an issue. Seems fairly
clean to me.
I suggest we move the uname -a stuff to the same place we handle the
arch= so thats put together. Then allow for targetos to be
overwritten before any actions are taken on the host os. If
something like this is not handled then cross compilation where the
host os differs is just not possible.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.diffs-3
Type: application/octet-stream
Size: 1243 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070207/468b3b51/attachment.obj>
More information about the ffmpeg-devel
mailing list