[GCC front end] trying to install python fe but fail in make

Philip Herron redbrain@gcc.gnu.org
Tue Sep 14 17:45:00 GMT 2010


On 14 September 2010 10:35, charfi asma <charfiasma@yahoo.fr> wrote:
> Hello,
>
> I tried to compile an empty file called t.py using the command " gccpy -O2 -v
> -fdump-tree-gimple t.py "   from http://gcc.gnu.org/wiki/PythonFrontEnd but I
> get this error:
>
> [root@is010178 python_files]# /export/home/charfi/Bureau/build_1309/gcc/gccpy
> -O2 -v -fdump-tree-gimple t.py
>
>
> Driving: /export/home/charfi/Bureau/build_1309/gcc/gccpy -O2 -v
> -fdump-tree-gimple t.py -l gpython -l m
> Utilisation des specs internes.
> COLLECT_GCC=/export/home/charfi/Bureau/build_1309/gcc/gccpy
> Target: i686-pc-linux-gnu
> Configuré avec: ../gcc-dev/configure --enable-languages=c : (reconfigured)
> ../gcc-dev/configure --enable-languages=python --disable-werror
> Modèle de thread: posix
> gcc version 4.6.0 20100907 (experimental) (GCC)
> COLLECT_GCC_OPTIONS='-O2' '-v' '-fdump-tree-gimple' '-mtune=generic'
> '-march=pentiumpro'
>  gpy1 t.py -quiet -dumpbase t.py -mtune=generic -march=pentiumpro -auxbase t -O2
> -version -fdump-tree-gimple -o /root/tmp/ccAq3IIH.s
> gccpy: error trying to exec 'gpy1': execvp: Aucun fichier ou dossier de ce type
>

Hmm i havent had this error before and again my french isnt great so i
don't know what the error message means,
" gccpy: error trying to exec 'gpy1': execvp: Aucun fichier ou dossier
de ce type"

Would you mind translating it for me ;)

And don't be expecting the python front-end to handle _everything_, my
lexer is extremely buggy at the moment in DEDENT token generation, but
its not my focus for now. Try one of the test files within
gcc/testsuite/python/*.py, a good few will work 4 won't, but they will
soon i have lots of bugs in the middle of being fixed at the moment.

--Phil

--Phil



More information about the Gcc-help mailing list