Les membres ayant 30 points peuvent parler sur les canaux annonces, projets et hs du chat.
La shoutbox n'est pas chargée par défaut pour des raisons de performances. Cliquez pour charger.

Forum Casio - Autres questions


Index du Forum » Autres questions » Erreur de compilation de libgcc (nécessaire pour fxSDK)
Pedrobzh Hors ligne Membre Points: 616 Défis: 0 Message

Erreur de compilation de libgcc (nécessaire pour fxSDK)

Posté le 24/10/2020 23:32

bonjour j'ai voulu compiler mon premier projet fxSDK/gint mais il faut la libgcc

je compile comme le tuto de Lephenixnoir mais j'ai ça
pierre@pc-deb-799:~/opt/sh-elf-2.32-9.2.0/build-gcc$ make -j4 all-target-libgcc
make[1] : on entre dans le répertoire « /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/libiberty »
make[1] : on entre dans le répertoire « /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/intl »
make[1]: rien à faire pour « all ».
make[1] : on quitte le répertoire « /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/intl »
make[1] : on entre dans le répertoire « /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/build-x86_64-pc-linux-gnu/libiberty »
make[2] : on entre dans le répertoire « /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/libiberty/testsuite »
make[2]: rien à faire pour « all ».
make[2] : on quitte le répertoire « /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/libiberty/testsuite »
make[1] : on quitte le répertoire « /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/libiberty »
make[2] : on entre dans le répertoire « /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/build-x86_64-pc-linux-gnu/libiberty/testsuite »
make[2]: rien à faire pour « all ».
make[2] : on quitte le répertoire « /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/build-x86_64-pc-linux-gnu/libiberty/testsuite »
make[1] : on entre dans le répertoire « /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/libbacktrace »
make[1] : on quitte le répertoire « /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/build-x86_64-pc-linux-gnu/libiberty »
make[1] : on entre dans le répertoire « /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/zlib »
true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-g -O2" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=-static-libstdc++ -static-libgcc " "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=make" "MAKEINFO=/home/pierre/opt/sh-elf-2.32-9.2.0/gcc-9.2.0/missing makeinfo --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/bash" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/home/pierre/opt/sh-elf-2.32-9.2.0" "infodir=/home/pierre/opt/sh-elf-2.32-9.2.0/share/info" "libdir=/home/pierre/opt/sh-elf-2.32-9.2.0/lib" "prefix=/home/pierre/opt/sh-elf-2.32-9.2.0" "tooldir=/home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf" "AR=ar" "AS=as" "CC=gcc" "CXX=g++" "LD=ld" "LIBCFLAGS=-g -O2" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do # make
make[1] : on quitte le répertoire « /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/zlib »
make  all-am
make[2] : on entre dans le répertoire « /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/libbacktrace »
make[1] : on entre dans le répertoire « /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/libdecnumber »
make[1]: rien à faire pour « all ».
make[1] : on quitte le répertoire « /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/libdecnumber »
true  DO=all multi-do # make
make[2] : on quitte le répertoire « /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/libbacktrace »
make[1] : on quitte le répertoire « /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/libbacktrace »
make[1] : on entre dans le répertoire « /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/build-x86_64-pc-linux-gnu/fixincludes »
make[1] : on entre dans le répertoire « /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/lto-plugin »
make[1]: rien à faire pour « all ».
make[1] : on quitte le répertoire « /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/build-x86_64-pc-linux-gnu/fixincludes »
make  all-am
make[2] : on entre dans le répertoire « /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/lto-plugin »
make[2] : on quitte le répertoire « /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/lto-plugin »
make[1] : on quitte le répertoire « /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/lto-plugin »
make[1] : on entre dans le répertoire « /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/build-x86_64-pc-linux-gnu/libcpp »
test -f config.h || (rm -f stamp-h1 && make stamp-h1)
make[1] : on entre dans le répertoire « /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/libcpp »
test -f config.h || (rm -f stamp-h1 && make stamp-h1)
make[1] : on quitte le répertoire « /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/build-x86_64-pc-linux-gnu/libcpp »
make[1] : on quitte le répertoire « /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/libcpp »
make[1] : on entre dans le répertoire « /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/fixincludes »
make[1]: rien à faire pour « all ».
make[1] : on quitte le répertoire « /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/fixincludes »
make[1] : on entre dans le répertoire « /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/gcc »
Makefile:2626: avertissement : surchargement de la recette pour la cible « gt-sh.h »
../../gcc-9.2.0/gcc/config/sh/t-sh:93: avertissement : ancienne recette ignorée pour la cible « gt-sh.h »
make[1] : on quitte le répertoire « /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/gcc »
Checking multilib configuration for libgcc...
Configuring in sh3eb-elf/libgcc
configure: loading cache ./config.cache
checking build system type... x86_64-pc-linux-gnu
checking host system type... sh3eb-unknown-elf
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... mawk
checking for sh3eb-elf-ar... /home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/bin/ar
checking for sh3eb-elf-lipo... sh3eb-elf-lipo
checking for sh3eb-elf-nm... /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/./gcc/nm
checking for sh3eb-elf-ranlib... /home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/bin/ranlib
checking for sh3eb-elf-strip... /home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/bin/strip
checking whether ln -s works... yes
checking for sh3eb-elf-gcc...  /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/./gcc/xgcc -B/home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/./gcc/ -B/home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/bin/ -B/home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/lib/ -isystem /home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/include -isystem /home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/sys-include  
checking for suffix of object files... configure: error: in `/home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/sh3eb-elf/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details
make: *** [Makefile:12208 : configure-target-libgcc] Erreur 1



Pedrobzh Hors ligne Membre Points: 616 Défis: 0 Message

Citer : Posté le 24/10/2020 23:34 | #


et j'ai deja reconpilé gcc
pensés suicidaires
   90%
Lephenixnoir Hors ligne Administrateur Points: 24145 Défis: 170 Message

Citer : Posté le 24/10/2020 23:35 | #


install compilo pas complète

comme indiqué, see config.log y'a les détails

majuscules, ponctuation, efforts requis stop
Mon graphe (24 Mars): (gint#27 ; (Rogue Life || HH2) ; PythonExtra ; serial gint ; Boson X ; ...) || (shoutbox v5 ; v5)
Pedrobzh Hors ligne Membre Points: 616 Défis: 0 Message

Citer : Posté le 24/10/2020 23:40 | #


install compilo pas complète?
pensés suicidaires
   90%
Lephenixnoir Hors ligne Administrateur Points: 24145 Défis: 170 Message

Citer : Posté le 24/10/2020 23:42 | #


comme pour as en fait, tuto gcc partie 5
Mon graphe (24 Mars): (gint#27 ; (Rogue Life || HH2) ; PythonExtra ; serial gint ; Boson X ; ...) || (shoutbox v5 ; v5)
Pedrobzh Hors ligne Membre Points: 616 Défis: 0 Message

Citer : Posté le 24/10/2020 23:42 | #


ok...

Ajouté le 24/10/2020 à 23:45 :
je comprent rien j'ai bien fais l'etape 5 j'usqua la conpilation de libgcc
pensés suicidaires
   90%
Shadow15510 Hors ligne Administrateur Points: 5496 Défis: 18 Message

Citer : Posté le 24/10/2020 23:46 | #


Bon… Là c'est plus possible, si tu veux une réponse va falloir faire des efforts ou aller voir un autre forum.
"Ce n'est pas parce que les chose sont dures que nous ne les faisons pas, c'est parce que nous ne les faisons pas qu'elles sont dures." Sénèque

Pedrobzh Hors ligne Membre Points: 616 Défis: 0 Message

Citer : Posté le 24/10/2020 23:48 | #


ok
pensés suicidaires
   90%
Lephenixnoir Hors ligne Administrateur Points: 24145 Défis: 170 Message

Citer : Posté le 24/10/2020 23:49 | #


Il y a une limite à la provocation qu'on peut accepter. On se revoit dans quelques temps, d'ici là je ferme ce topic.

Ajouté le 25/10/2020 à 17:17 :
Je voulais répondre à l'autre topic mais Darks l'a supprimé. Donc je reprends ici, peu importe. Le contournement de kick c'est vraiment mal vu, mais j'apprécie l'effort de recherche et de précision sur la question et le titre, donc voilà au moins des infos.

bonjour j'ai eut des problèmes de compilation de liggcc
j'ai arrivé a compilé gcc mais libgcc qui est malheureusement nécessaire pour utiliser fxlib

j' ai cherché jusqu'à 2h du matin (hier)
j'ai découvert que c'étais du a un self test de gcc qui testait l'exécutable or je veux une librairie compilé
j'ai trouvé des manipulations mais c'est pour d'anciennes version(gcc 4.x.x) or je suis sous gcc 9.2.0le compilateur disait aussi que c'avais un rapport avec un prefix

Les self-tests ne peuvent pas être activés quand on crée un cross-compilateur (compilateur qui tourne sur une machine - le PC - mais crée des programmes qui tourneront sur une autre - la calto) parce que dès que tu tentes de lancer le sh-elf-gcc tu obtiens un truc qui ne peut se lancer que sur la calto, et donc qui ne peut pas être testé sur-le-champ. Vérifie que tu as bien compilé libgcc dans le dossier où tu avais compilé gcc et sans avoir changé les options (c'est-à-dire sans avoir refaire de ../gcc-9.2.0/configure), et que sh-elf-gcc est bien disponible dans le PATH (which sh-elf-gcc doit t'afficher un résultat).

La variable PREFIX que le tutoriel te fait créer n'existe que tant que le terminal est ouvert, chaque fois que tu changes de terminal il faut la recréer en tapant le PREFIX=... qui est au tout début. Vérifie aussi que la variable est toujours là.

Enfin, tu dois avoir des logs dans le terminal ou dans des fichiers de compilation, il y a certainement des détails ici. En cas de doute partage-les toujours, ça peut toujours être utile.
Mon graphe (24 Mars): (gint#27 ; (Rogue Life || HH2) ; PythonExtra ; serial gint ; Boson X ; ...) || (shoutbox v5 ; v5)
Loirbleu Hors ligne Membre Points: 7 Défis: 0 Message

Citer : Posté le 25/10/2020 18:24 | #


ok merci je referait plus-tard car la j'ai fais une grande sortie l’après-midi
actuellement je suis épuisé...

Ajouté le 25/10/2020 à 20:57 :
après vérification j'ai bien respecté les conditions que tu m'as donné mais voici comme même les fichiers
Lephenixnoir Hors ligne Administrateur Points: 24145 Défis: 170 Message

Citer : Posté le 25/10/2020 21:01 | #


Aye quand on te kicke tu reviens pas avec un autre compte avant la fin du kick, ça se fait pas. On se verra quand tu seras sur ton compte principal. x)
Mon graphe (24 Mars): (gint#27 ; (Rogue Life || HH2) ; PythonExtra ; serial gint ; Boson X ; ...) || (shoutbox v5 ; v5)
Loirbleu Hors ligne Membre Points: 7 Défis: 0 Message

Citer : Posté le 25/10/2020 21:07 | #


:/ je suis plus quick a 1h du mat
Pedrobzh Hors ligne Membre Points: 616 Défis: 0 Message

Citer : Posté le 26/10/2020 09:47 | #


sh3eb-elf/libgcc/multilib.out
.;
m4-nofpu;@m4-nofpu


sh3eb-elf/libgcc/config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by GNU C Runtime Library configure 1.0, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ /home/pierre/opt/sh-elf-2.32-9.2.0/gcc-9.2.0/libgcc/configure --srcdir=../../../gcc-9.2.0/libgcc --cache-file=./config.cache --enable-multilib --with-cross-host=x86_64-pc-linux-gnu --prefix=/home/pierre/opt/sh-elf-2.32-9.2.0 --with-multilib-list=m3,m4-nofpu --without-headers --disable-nls --disable-bootstrap --enable-languages=c,c++,lto --program-transform-name=s&^&sh-elf-& --disable-option-checking --with-target-subdir=sh3eb-elf --build=x86_64-pc-linux-gnu --host=sh3eb-elf --target=sh3eb-elf

## --------- ##
## Platform. ##
## --------- ##

hostname = pc-deb-799
uname -m = x86_64
uname -r = 5.9.0-1-amd64
uname -s = Linux
uname -v = #1 SMP Debian 5.9.1-1 (2020-10-17)

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/local/games
PATH: /usr/games
PATH: /home/pierre/opt/sh-elf-2.32-9.2.0/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2068: loading cache ./config.cache
configure:2297: checking build system type
configure:2311: result: x86_64-pc-linux-gnu
configure:2331: checking host system type
configure:2344: result: sh3eb-unknown-elf
configure:2447: checking for --enable-version-specific-runtime-libs
configure:2460: result: no
configure:2508: checking for a BSD-compatible install
configure:2576: result: /usr/bin/install -c
configure:2592: checking for gawk
configure:2619: result: mawk
configure:2719: checking for sh3eb-elf-ar
configure:2746: result: /home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/bin/ar
configure:2811: checking for sh3eb-elf-lipo
configure:2838: result: sh3eb-elf-lipo
configure:2903: checking for sh3eb-elf-nm
configure:2930: result: /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/./gcc/nm
configure:2995: checking for sh3eb-elf-ranlib
configure:3022: result: /home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/bin/ranlib
configure:3087: checking for sh3eb-elf-strip
configure:3114: result: /home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/bin/strip
configure:3176: checking whether ln -s works
configure:3180: result: yes
configure:3197: checking for sh3eb-elf-gcc
configure:3224: result: /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/./gcc/xgcc -B/home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/./gcc/ -B/home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/bin/ -B/home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/lib/ -isystem /home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/include -isystem /home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/sys-include  
configure:3493: checking for C compiler version
configure:3502: /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/./gcc/xgcc -B/home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/./gcc/ -B/home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/bin/ -B/home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/lib/ -isystem /home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/include -isystem /home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/sys-include    --version >&5
xgcc (GCC) 9.2.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3513: $? = 0
configure:3502: /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/./gcc/xgcc -B/home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/./gcc/ -B/home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/bin/ -B/home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/lib/ -isystem /home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/include -isystem /home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/sys-include    -v >&5
Reading specs from /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/./gcc/specs
COLLECT_GCC=/home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/./gcc/xgcc
COLLECT_LTO_WRAPPER=/home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/./gcc/lto-wrapper
Target: sh3eb-elf
Configured with: ../gcc-9.2.0/configure --prefix=/home/pierre/opt/sh-elf-2.32-9.2.0 --target=sh3eb-elf --with-multilib-list=m3,m4-nofpu --enable-languages=c,c++ --without-headers --with-newlib --disable-nls --program-prefix=sh-elf- : (reconfigured) ../gcc-9.2.0/configure --prefix=/home/pierre/opt/sh-elf-2.32-9.2.0 --target=sh3eb-elf --with-multilib-list=m3,m4-nofpu --enable-languages=c,c++ --without-headers --disable-nls --program-prefix=sh-elf- : (reconfigured) ../gcc-9.3.0/configure --prefix=/home/pierre/opt/sh-elf-2.32-9.2.0 --target=sh3eb-elf --with-multilib-list=m3,m4-nofpu --enable-languages=c,c++ --without-headers --disable-nls --program-prefix=sh-elf- : (reconfigured) ../gcc-9.2.0/configure --prefix=/home/pierre/opt/sh-elf-2.32-9.2.0 --target=sh3eb-elf --with-multilib-list=m3,m4-nofpu --enable-languages=c,c++ --without-headers --disable-nls --program-prefix=sh-elf- : (reconfigured) ../gcc-9.2.0/configure --prefix=/home/pierre/opt/sh-elf-2.32-9.2.0 --target=sh3eb-elf --with-multilib-list=m3,m4-nofpu --enable-languages=c,c++ --without-headers --disable-nls --program-prefix=sh-elf- --disable-bootstrap
Thread model: single
gcc version 9.2.0 (GCC)
configure:3513: $? = 0
configure:3502: /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/./gcc/xgcc -B/home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/./gcc/ -B/home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/bin/ -B/home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/lib/ -isystem /home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/include -isystem /home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/sys-include    -V >&5
xgcc: error: unrecognized command line option '-V'
xgcc: fatal error: no input files
compilation terminated.
configure:3513: $? = 1
configure:3502: /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/./gcc/xgcc -B/home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/./gcc/ -B/home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/bin/ -B/home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/lib/ -isystem /home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/include -isystem /home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/sys-include    -qversion >&5
xgcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
xgcc: fatal error: no input files
compilation terminated.
configure:3513: $? = 1
configure:3529: /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/./gcc/xgcc -B/home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/./gcc/ -B/home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/bin/ -B/home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/lib/ -isystem /home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/include -isystem /home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/sys-include    -o conftest -g -O2   conftest.c  >&5
/home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/./gcc/as: 106: exec: -big: not found
configure:3532: $? = 1
configure:3745: checking for suffix of object files
configure:3767: /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/./gcc/xgcc -B/home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/./gcc/ -B/home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/bin/ -B/home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/lib/ -isystem /home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/include -isystem /home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/sys-include    -c -g -O2  conftest.c >&5
/home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/./gcc/as: 106: exec: -big: not found
configure:3771: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.gnu.org/software/libgcc/"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3785: error: in `/home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/sh3eb-elf/libgcc':
configure:3787: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-pc-linux-gnu
ac_cv_env_CC_set=set
ac_cv_env_CC_value='/home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/./gcc/xgcc -B/home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/./gcc/ -B/home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/bin/ -B/home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/lib/ -isystem /home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/include -isystem /home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/sys-include   '
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-g -O2'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=sh3eb-elf
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=sh3eb-elf
ac_cv_host=sh3eb-unknown-elf
ac_cv_prog_AR=/home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/bin/ar
ac_cv_prog_AWK=mawk
ac_cv_prog_CC='/home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/./gcc/xgcc -B/home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/./gcc/ -B/home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/bin/ -B/home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/lib/ -isystem /home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/include -isystem /home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/sys-include   '
ac_cv_prog_LIPO=sh3eb-elf-lipo
ac_cv_prog_NM=/home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/./gcc/nm
ac_cv_prog_RANLIB=/home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/bin/ranlib
ac_cv_prog_STRIP=/home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/bin/strip

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR='/home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/bin/ar'
AWK='mawk'
CC='/home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/./gcc/xgcc -B/home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/./gcc/ -B/home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/bin/ -B/home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/lib/ -isystem /home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/include -isystem /home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/sys-include   '
CET_FLAGS=''
CFLAGS='-g -O2'
CPP=''
CPPFLAGS=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GREP=''
INSTALL_DATA='/usr/bin/install -c -m 644'
INSTALL_PROGRAM='/usr/bin/install -c'
INSTALL_SCRIPT='/usr/bin/install -c'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIPO='sh3eb-elf-lipo'
LN_S='ln -s'
LTLIBOBJS=''
MAINT='#'
NM='/home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/./gcc/nm'
OBJEXT=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME='GNU C Runtime Library'
PACKAGE_STRING='GNU C Runtime Library 1.0'
PACKAGE_TARNAME='libgcc'
PACKAGE_URL='http://www.gnu.org/software/libgcc/'
PACKAGE_VERSION='1.0'
PATH_SEPARATOR=':'
PICFLAG='-fPIC'
RANLIB='/home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/bin/ranlib'
SHELL='/bin/bash'
STRIP='/home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/bin/strip'
ac_ct_CC=''
accel_dir_suffix=''
asm_hidden_op=''
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias='x86_64-pc-linux-gnu'
build_cpu='x86_64'
build_libsubdir='build-x86_64-pc-linux-gnu'
build_os='linux-gnu'
build_subdir='build-x86_64-pc-linux-gnu'
build_vendor='pc'
cpu_type=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
decimal_float=''
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
double_type_size=''
dvidir='${docdir}'
enable_decimal_float=''
enable_execute_stack=''
enable_gcov='yes'
enable_shared='yes'
enable_vtable_verify='no'
exec_prefix='NONE'
extra_parts=''
fixed_point=''
force_explicit_eh_registry=''
get_gcc_base_ver=''
host='sh3eb-unknown-elf'
host_alias='sh3eb-elf'
host_cpu='sh3eb'
host_noncanonical='sh3eb-elf'
host_os='elf'
host_subdir='.'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
libgcc_topdir='../../../gcc-9.2.0/libgcc/..'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
long_double_type_size=''
mandir='${datarootdir}/man'
md_unwind_header=''
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/home/pierre/opt/sh-elf-2.32-9.2.0'
program_transform_name='s&^&sh-elf-&'
psdir='${docdir}'
real_host_noncanonical=''
sbindir='${exec_prefix}/sbin'
set_have_cc_tls=''
set_use_emutls=''
sfp_machine_header=''
sharedstatedir='${prefix}/com'
slibdir='$(exec_prefix)/$(host_noncanonical)/lib'
solaris_ld_v2_maps=''
sysconfdir='${prefix}/etc'
target_alias='sh3eb-elf'
target_noncanonical='sh3eb-elf'
target_subdir='sh3eb-elf'
thread_header=''
tm_defines=''
tm_file=''
tmake_file=''
toolexecdir='$(exec_prefix)/$(target_noncanonical)'
toolexeclibdir='$(toolexecdir)/lib'
unwind_header=''
vis_hide=''
with_aix_soname='aix'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "GNU C Runtime Library"
#define PACKAGE_TARNAME "libgcc"
#define PACKAGE_VERSION "1.0"
#define PACKAGE_STRING "GNU C Runtime Library 1.0"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL "http://www.gnu.org/software/libgcc/"

configure: exit 1


sh3eb-elf/libgcc/config.cache (vide)
pensés suicidaires
   90%
Lephenixnoir Hors ligne Administrateur Points: 24145 Défis: 170 Message

Citer : Posté le 26/10/2020 09:52 | #


Wow donc pas trop vite, il y a plusieurs problèmes là.

• C'est quoi sh3eb-elf/libgcc ? Tu dois compiler libgcc dans le dossier où tu as compilé GCC. C'est immédiatement après avoir compilé et installé GCC, et pas dans un autre dossier.
• Ton config.log contient l'erreur, regarde :

configure:3745: checking for suffix of object files
configure:3767: /home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/./gcc/xgcc -B/home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/./gcc/ -B/home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/bin/ -B/home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/lib/ -isystem /home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/include -isystem /home/pierre/opt/sh-elf-2.32-9.2.0/sh3eb-elf/sys-include    -c -g -O2  conftest.c >&5
/home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/./gcc/as: 106: exec: -big: not found
configure:3771: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.gnu.org/software/libgcc/"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3785: error: in `/home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/sh3eb-elf/libgcc':
configure:3787: error: cannot compute suffix of object files: cannot compile

Le exec: -big: not found montre que la commande envoyée pour compiler contient -big comme premier "mot" alors que ça devrait être le second (le premier c'est le nom de la commande, les autres c'est les options, comme d'hab). Conclusion : la commande a pas été trouvée (et du coup son nom est vide).

Donc encore une fois, vérifie ton PATH.

• Cet avatar wow
Mon graphe (24 Mars): (gint#27 ; (Rogue Life || HH2) ; PythonExtra ; serial gint ; Boson X ; ...) || (shoutbox v5 ; v5)
Pedrobzh Hors ligne Membre Points: 616 Défis: 0 Message

Citer : Posté le 26/10/2020 10:10 | #


pour le sh3eb-elf/libgcc c'est pas moi qui l'a crée, il est apparut automatiquement pendant la compilation, le dossier ou je fais le make est home/pierre/opt/sh-elf-2.32-9.2.0/build-gcc/

mais je vais supprimer la dossier et recompiler

tout est bon pour le PATH mais il est que pour moi (utilisateur)

et pour le -big j'ai déjà eut ça mais c'étais pour gint ,j'ai recompilé gcc et c’était partit.
(je sais pas du tout ce que c'est le -big, et ni pour le corriger )
pensés suicidaires
   90%
Lephenixnoir Hors ligne Administrateur Points: 24145 Défis: 170 Message

Citer : Posté le 26/10/2020 10:13 | #


Tout est bon pour le PATH ? Dans ce cas est-ce que tu as des résultats pour which sh-elf-gcc *et* which sh-elf-as ?

-big est une option de sh-elf-as, l'erreur que tu as actuellement n'est pas en rapport avec cette option (pas comme avant donc).

Note que si tu n'y arrives vraiment pas tu peux toujours essayer le script que Darks a créé il y a quelques pour faire le tuto automatiquement. Je suppose que c'est mieux si tu arrives au bout après l'avoir fait toi-même mais c'est comme tu veux.
Mon graphe (24 Mars): (gint#27 ; (Rogue Life || HH2) ; PythonExtra ; serial gint ; Boson X ; ...) || (shoutbox v5 ; v5)
Pedrobzh Hors ligne Membre Points: 616 Défis: 0 Message

Citer : Posté le 26/10/2020 10:19 | #


j'ai supprimé le dossier et recrée et reconfiguré a zéro et ça a marche , je suppose que je dois aussi recompiler gint et fxlib?
pensés suicidaires
   90%
Lephenixnoir Hors ligne Administrateur Points: 24145 Défis: 170 Message

Citer : Posté le 26/10/2020 10:22 | #


Hmm ouais pour être safe recompile gint. fxlib c'est autre chose (une alternative) donc tu n'en as pas besoin si tu codes avec gint.
Mon graphe (24 Mars): (gint#27 ; (Rogue Life || HH2) ; PythonExtra ; serial gint ; Boson X ; ...) || (shoutbox v5 ; v5)
Pedrobzh Hors ligne Membre Points: 616 Défis: 0 Message

Citer : Posté le 26/10/2020 10:40 | #


pourtant dans ton tutoriel tu combine les deux?
pensés suicidaires
   90%
Dark storm En ligne Labélisateur Points: 11631 Défis: 176 Message

Citer : Posté le 26/10/2020 10:41 | #


Le fxsdk et gint. fxlib c'est autre chose.
Finir est souvent bien plus difficile que commencer. — Jack Beauregard
Pedrobzh Hors ligne Membre Points: 616 Défis: 0 Message

Citer : Posté le 26/10/2020 10:43 | #


a oups pardon j'ai confondu, ces deux noms su ressemble tellement

Ajouté le 26/10/2020 à 10:56 :
c'est bon, tout finit bien, c'est fini
pensés suicidaires
   90%

LienAjouter une imageAjouter une vidéoAjouter un lien vers un profilAjouter du codeCiterAjouter un spoiler(texte affichable/masquable par un clic)Ajouter une barre de progressionItaliqueGrasSoulignéAfficher du texte barréCentréJustifiéPlus petitPlus grandPlus de smileys !
Cliquez pour épingler Cliquez pour détacher Cliquez pour fermer
Alignement de l'image: Redimensionnement de l'image (en pixel):
Afficher la liste des membres
:bow: :cool: :good: :love: ^^
:omg: :fusil: :aie: :argh: :mdr:
:boulet2: :thx: :champ: :whistle: :bounce:
valider
 :)  ;)  :D  :p
 :lol:  8)  :(  :@
 0_0  :oops:  :grr:  :E
 :O  :sry:  :mmm:  :waza:
 :'(  :here:  ^^  >:)

Σ π θ ± α β γ δ Δ σ λ
Veuillez donner la réponse en chiffre
Vous devez activer le Javascript dans votre navigateur pour pouvoir valider ce formulaire.

Si vous n'avez pas volontairement désactivé cette fonctionnalité de votre navigateur, il s'agit probablement d'un bug : contactez l'équipe de Planète Casio.

Planète Casio v4.3 © créé par Neuronix et Muelsaco 2004 - 2024 | Il y a 96 connectés | Nous contacter | Qui sommes-nous ? | Licences et remerciements

Planète Casio est un site communautaire non affilié à Casio. Toute reproduction de Planète Casio, même partielle, est interdite.
Les programmes et autres publications présentes sur Planète Casio restent la propriété de leurs auteurs et peuvent être soumis à des licences ou copyrights.
CASIO est une marque déposée par CASIO Computer Co., Ltd