1 |
Opcionálisan: |
2 |
sed -i '/CFLAGS=/s,-march=i486,-march=i686,g' `grep -ri CFLAGS . ` |
3 |
sed -i '/CFLAGS=/s,-mtune=i686,,g' `grep -ri CFLAGS . ` |
4 |
|
5 |
Fábián Attila <fabiana@××××.hu> írta, 2007.06.20.: |
6 |
> On Wed, 20 Jun 2007 14:56:47 +0200 |
7 |
> Bujdosó Ferenc <bujdoso@×××.hu> wrote: |
8 |
> |
9 |
> > Én pedig most azt szeretném tudni, hogy hogyan tudnék mplayert forditani |
10 |
> > 1 p4-es gépen, egy p1-es procira. |
11 |
> > |
12 |
> > Az uname-t átneveztem uname.bin-re |
13 |
> > |
14 |
> > Az uname most 1 script: |
15 |
> > |
16 |
> > #!/bin/bash |
17 |
> > INP="$(uname.bin $@)" |
18 |
> > RET= |
19 |
> > |
20 |
> > for i in $INP; do |
21 |
> > if [ "$i" == "i686" ]; then |
22 |
> > [ -z "$RET" ] && RET="i586" || RET="$RET i586" |
23 |
> > else |
24 |
> > [ -z "$RET" ] && RET="$i" || RET="$RET $i" |
25 |
> > fi |
26 |
> > done |
27 |
> > echo "$RET" |
28 |
> > |
29 |
> > és mégis igy fordít: (de legalább már nem prescott-ra) |
30 |
> > |
31 |
> > i486-pc-linux-gnu-gcc -I. -I./libavutil -Wdeclaration-after-statement |
32 |
> > -I. -I.. -I../libavutil -O4 -march=i486 *-mtune=i686 *-pipe -ffast-math |
33 |
> > -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE |
34 |
> > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/X11R6/include |
35 |
> > -I/usr/include/freetype2 -I./libavcodec -c -o command.o command.c |
36 |
> > |
37 |
> > |
38 |
> > Ezzel mit lehetne tenni? |
39 |
> |
40 |
> Próbáltad a ./configure után a ./config.mak fájlban a OPTFLAGS sorban átírni a |
41 |
> megfelelõ procira? és utána make! |
42 |
> |
43 |
> Ati |
44 |
> -- |
45 |
> gentoo-user-hu@g.o mailing list |
46 |
> |
47 |
> |
48 |
éí¢‹¬z¸néí¢Š+‚f¢–)à–+- |