This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Front-ends


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey guys

Andi Hellmund wrote:
> It has references to a minimal front-end skeleton (LTO) and to a
> complete toy front-end (treelang). The tree lang front-end has been
> part of the gcc source, but it has been removed since gcc-4.4.0, so
> you need to get at least gcc-4.3.3 sources
>
> Andi

Thanks yeah i noticed that stuff on the wiki but i was wondering why i
couldn't see much of the code etc. I have just took the gcc-4.4.0 tar
ball and made a git repos out of it for my work. I wil maby revert to
an older version for that though.
>
> Ian Lance Taylor wrote:
>> Add an entry to the languages list in the top level configure.ac.
>>  Create gcc/LANG/Make-lang.in and gcc/LANG/config-lang.in.  If
>> you pursue this you will also want lang-specs.h and lang.opt.
>> Look at the existing languages to see what these files look like.
>> As far as I know none of this is documented, so you have to be
>> willing to look at the existing code and figure out what is
>> needed.  Of course, if you produce documentation on what you do,
>> that would be great.
>>

I am about to try this out looks like it should solve the problem, is
it ok if a start a new page on the wiki then add a link to the
new-front-ends section i have been keeping some notes etc on my
findings so far so i could put all that up too. I am quite enjoying
working with this at the moment so i would love to try and do a little
documentation on it.

- --Phil

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkoOlo0ACgkQAhcOgIaQQ2FHeQCeIkt+D7MKFNyta8A2/Lbhcx3N
mP0AnAliqC4K8fb1E7lEAqYTVo9a0ePX
=l5FT
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]