Hi Philip, I red your 10 doc pages http://code.redbrain.co.uk/cgit.cgi/gcc-dev/tree/gcc/doc/languages.texi?h=documentation it was helpful for me to understand the role of lexer.l and parser.y in the python fe. what I try to do is to compile your fe. I thought that I can add the python fe to gcc, write file.py and compile this file using gpy1. Normally, we can write code in python and gcc will compile and execute this code if the python fe is added to gcc directory, configured and installed. I tried to follow your instructions, but it fails in git merge python here is the error: [charfi@is010178 gcc-dev]$ git merge python fatal: 'python' does not point to a commit [charfi@is010178 gcc-dev]$ git merge documentation fatal: 'documentation' does not point to a commit any idea ? hope that you did not spell the branch name wrong as usual when dealing with documentation ;) thanks Asma ----- Message d'origine ---- De : Philip Herron <redbrain@xxxxxxxxxxx> À : charfi asma <charfiasma@xxxxxxxx> Cc : Andi Hellmund <mail@xxxxxxxxxxxxxxxx>; gcc-help@xxxxxxxxxxx Envoyé le : Mer 25 août 2010, 17h 22min 32s Objet : Re: Re : [GCC front end] trying to install sample_fe but fail in make Hey I am not quite sure what your trying to achieve at the moment if you copy the python front-end folder into a base gcc the resulting compiler won't work since you also need libgpython at the toplevel the runtime library which the generated code needs linked against. So i suggest follow these instructions: $ git clone git://crules.org/git/gcc-dev.git $ git branch test $ git checkout test $ git merge python $ git merge documentation Then try and compile... make sure you can compile gcc normaly from a tarball or something so we can be sure there isn't some error on our side with libmpc checks. You should now have gcalc and gccpy, though i reckon gcalc may fail compilation since the langhooks have have changed slightly, but i'll check and fix it soon, i took a few days off there since friday. Back hacking now though :) Hope this helps, sorry for the late reply. --Phil