[Ffmpeg-devel] Re: [PATCH] Fix compilation when using --disable-opts

Ramiro Ribeiro Polla ramiro
Sun Mar 25 20:03:30 CEST 2007


Ramiro Ribeiro Polla wrote:
>> +EOF
>> +    fi
>> +
>> +    # check whether EBP is available on x86
>> +    # As 'i' is stored on the stack, this program will crash
>> +    # if the base pointer is used to access it because the
>> +    # base pointer is cleared in the inline assembly code.
>> +    check_exec <<EOF && enable ebp_available
>> +int main(){
>> +    volatile int i=0;
>> +    asm volatile (
>> +        "xorl %%ebp, %%ebp"
>> +    ::: "%ebp");
>> +    return i;
>> +}
>> +EOF
>> +
>> +    # check wether EBX is available on x86
>> +    check_cc <<EOF && enable ebx_available
>> +int main(){
>> +    asm volatile ("":::"%ebx");
>> +}
>> +EOF
>> +fi
>> +
>>  # check for assembler specific support
>>   
>
> I don't have access to Windows right now, but I'll check later on 
> today if it keeps running (IIRC it does) and if OK is the right button 
> name.
Sorry to take so long. It does keep running, and it shows that "Send 
report" dialog box. So the correct button name is "Don't send".

Ramiro Polla




More information about the ffmpeg-devel mailing list