add a new gcc fe based on gcalc or sample_fe

charfi asma charfiasma@yahoo.fr
Mon Sep 27 16:34:00 GMT 2010





----- Message d'origine ----
De : Ian Lance Taylor <iant@google.com>
À : charfi asma <charfiasma@yahoo.fr>
Cc : gcc-help@gcc.gnu.org
Envoyé le : Ven 24 septembre 2010, 18h 32min 43s
Objet : Re: add a new gcc fe based on gcalc or sample_fe

charfi asma <charfiasma@yahoo.fr> writes:

>         -o build/genflags.o ../../gcc-dev/gcc/genflags.c
>  », nécessaire pour « s-gtype ». Arrêt.r la cible « 
>../../gcc-dev/gcc/uml/uml1.c

I assume this error message is coming from the make program, and that it
is trying to say that s-gtype depends upon ../../gcc-dev/gcc/uml/uml1.c
but that that file does not exist.  Or possibly vice-versa.  Does the
uml1.c file exist?

This would be a bit easier to understand if you

1) Don't pass -j to make when reporting errors.

2) Set LANG=en in the environment when reporting errors, so that the
   reported error messages can be found in the program source code.

Ian


Hello,
I tried to modify the language by exporting LANG env var to en_US.UTF-8
I even add those lines in my .bash_profile file and reboot my computer:

export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_CTYPE=en_US.UTF-8 

[root@is010178 charfi]# echo $LANG
en_US.UTF-8

but I still have errors in french 
1. when I git clone the gcc-dev directory and build the UML front end for the 
first time I get this error: 


gcc   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes 
-Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long 
-Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat 
-fno-common  -DHAVE_CONFIG_H -DGENERATOR_FILE  -o build/gengtype \
        build/gengtype.o build/errors.o build/gengtype-lex.o 
build/gengtype-parse.o ../build-i686-pc-linux-gnu/libiberty/libiberty.a
make[2]: *** Pas de règle pour fabriquer la cible « ../../gcc-dev/gcc/uml/u », 
nécessaire pour « s-gtype ». Arrêt.

--> In english it becomes: no rule to build the target « ../../gcc-dev/gcc/uml/u 
» required for « s-gtype ». Stop 


when I trie to build a gain I get this other error

/bin/sh ../../gcc-dev/gcc/../move-if-change tmp-optionlist optionlist
echo timestamp > s-options
TARGET_CPU_DEFAULT="" \
    HEADERS="auto-host.h ansidecl.h" DEFINES="" \
    /bin/sh ../../gcc-dev/gcc/mkconfig.sh bconfig.h
bconfig.h is unchanged
 », nécessaire pour « s-gtype ». Arrêt.r la cible « ../../gcc-dev/gcc/uml/uml1.c
make[2]: quittant le répertoire « /export/home/charfi/build-UML/build/gcc »
make[1]: *** [all-gcc] Erreur 2

in english it becomes: necessary for <<s-gtype>>. Stop r the target « 
../../gcc-dev/gcc/uml/uml1.c
make[2]: leave the directory « /export/home/charfi/build-UML/build/gcc »
make[1]: *** [all-gcc] Error 2

Any idea ?? (the uml1.c exists in /gcc/uml but the s-gtype file is not generated 
).

thanks





More information about the Gcc-help mailing list