[Ffmpeg-devel] Patch to allow cross-compile with MacOS X

Måns Rullgård mru
Mon Jul 10 23:52:55 CEST 2006


Graham Booker <ffmpeglist at cod3r.com> writes:

>> The problem with this is that some tests pass linker flags to the
>> check_ld function, and passing linker flags when only compiling (as
>> this would do) makes the compiler complain.
>>
>
> Ugh...  Oddly enough it didn't complain for me.  I guess I am not
> running into a situation where it does this.  Does it pass in compile
> options or just link options?  When I looked at it, it seemed to just
> be link options.  If it is just link, then maybe removing $@ from the
> compile line (and its associated log line)?  I tried this locally,
> and it seemed to work.

Passing $@ to the commands is the whole point of the tests that pass
these extra options, i.e. figuring out whether some linker option is
supported.

>> Use --cc='gcc -isysroot whatever' until we think of something better.
>>
>
> Yeah, this works in our case.  Looking forward to "something better"
>
>> Visiting whoever designed that option handling with a large cluebat
>> would be something to start with.
>
> Yeah, it is understandable if the options were different, but when
> they are the same it really shouldn't complain

Exactly my thought.

-- 
M?ns Rullg?rd
mru at inprovide.com




More information about the ffmpeg-devel mailing list