1 |
On 12/12/11 21:52, Michael Schreckenbauer wrote: |
2 |
>Am Montag, 12. Dezember 2011, 13:28:39 schrieb Joseph: |
3 |
>> On 12/12/11 20:32, Michael Hampicke wrote: |
4 |
>> >> Configuring source in |
5 |
>> >> /var/tmp/portage/media-video/ffmpeg-0.7.8/work/ffmpeg-0.7.8 ... |
6 |
>> >> x86_64-pc-linux-gnu-gcc is unable to create an executable file. |
7 |
>> >> If x86_64-pc-linux-gnu-gcc is a cross-compiler, use the |
8 |
>> >> --enable-cross-compile option. |
9 |
>> >> Only do this if you know what cross compiling means. |
10 |
>> >> C compiler test failed. |
11 |
>> > |
12 |
>> >Do you have enabled the "cpudetection" and/or "custom-cflags" use flags? |
13 |
>> >Or do you use some crazy CFLAGS? |
14 |
>> >ffmpeg 0.7.8 compiles just fine on my amd64 box. |
15 |
>> |
16 |
>> No nothing crazy: |
17 |
>> CFLAGS="-Os -pipe -mtune=i686" |
18 |
> |
19 |
>i686? That's not amd64. You need something 64bit. Just use march=native |
20 |
>instead of mtune=i686. |
21 |
> |
22 |
> |
23 |
>> I'm not even sure if these flags are correct for my CPU: |
24 |
>> AMD FX(tm)-8150 Eight-Core Processor |
25 |
|
26 |
Thanks, you are correct. |
27 |
The Cflags that were suggested by Gentoo wiki did not work at all so I wasn't sure what to enter and took them from Gen too Rescue CD that I bootstrap the |
28 |
system. |
29 |
But after changing the flags to: |
30 |
CFLAGS="-march=native -Os -pipe" |
31 |
|
32 |
ffmpeg compiled just fine. |
33 |
|
34 |
-- |
35 |
Joseph |