Salut a tous,
j'espère tout d'abord que vous avez passé de bonnes fetes,
et que vous etes pret pour le 31 ...
j'essaye de compiler pour une architecture SH4 (Dreamcast),
et, avec mon peu d'exeperience en compil, je butte sur le message d'erreur
suivant:
as: unrecognized option `-little'
d'après le man, je vois bien qu'il faut lancer as avec
l'option -EL ... mais je ne sais pas du tout "qui" lance as dans le
processus de compilation ...
une variable a modifier ?
[EMAIL PROTECTED] xine-lib-1-cvs]# export | egrep "sh4|include"
declare -x CC="sh4-linux-gcc"
declare -x CROSS_COMPILE="sh4-linux-"
declare -x INCLUDES="-I/usr/sh-linux/include"
declare -x LD="sh4-linux-ld"
declare -x RANLIB="sh4-linux-ranlib"
[EMAIL PROTECTED] xine-lib-1-cvs]# make -e
(...)
Making all in xine-utils
make[3]: Entering directory `/var/src/xine-lib-1-cvs/src/xine-utils'
source='cpu_accel.c' object='cpu_accel.lo' libtool=yes \
depfile='.deps/cpu_accel.Plo' tmpdepfile='.deps/cpu_accel.TPlo' \
depmode=gcc3 /bin/sh ../../depcomp \
/bin/sh ../../libtool --mode=compile sh4-linux-gcc -DHAVE_CONFIG_H -I. -I.
-I../.. -I/usr/sh-linux/include -std=gnu89 -Wall -D_REENTRANT
-D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -O3 -pipe -fomit-frame-pointer
-falign-functions=4 -falign-loops=4 -falign-jumps=4
-mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2
-fno-strict-aliasing -ffast-math -funroll-loops -finline-functions
-mcpu=pentiumpro -c -o cpu_accel.lo `test -f 'cpu_accel.c' || echo
'./'`cpu_accel.c
sh4-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/sh-linux/include
-std=gnu89 -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -O3
-pipe -fomit-frame-pointer -falign-functions=4 -falign-loops=4
-falign-jumps=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations
-fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops
-finline-functions -mcpu=pentiumpro -c cpu_accel.c -MT cpu_accel.lo -MD
-MP -MF .deps/cpu_accel.TPlo -fPIC -DPIC -o cpu_accel.o
cc1: Invalid option `preferred-stack-boundary=2'
cc1: Invalid option `cpu=pentiumpro'
as: unrecognized option `-little'
cpu_accel.c: In function `arch_accel':
cpu_accel.c:80: impossible register constraint in `asm'
cpu_accel.c:80: impossible register constraint in `asm'
Random Thought:
--------------
A comment on schedules:
Ok, how long will it take?
For each manager involved in initial meetings add one month.
For each manager who says "data flow analysis" add another month.
For each unique end-user type add one month.
For each unknown software package to be employed add two months.
For each unknown hardware device add two months.
For each 100 miles between developer and installation add one month.
For each type of communication channel add one month.
If an IBM mainframe shop is involved and you are working on a non-IBM
system add 6 months.
If an IBM mainframe shop is involved and you are working on an IBM
system add 9 months.
Round up to the nearest half-year.
--Brad Sherman
By the way, ALL software projects are done by iterative prototyping.
Some companies call their prototypes "releases", that's all.
Linux-Azur : http://www.linux-azur.org
Désinscriptions: http://www.linux-azur.org/liste.php3
**** Pas de message au format HTML, SVP ****