-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey
I'm working on my own front-end its all just a skeleton based quite closely off the java front-end/treelang, But after i return true in lang_init i get the error: gpy1: internal compiler error: in init_excess_precision, at toplev.c:2160 Really not sure where i can start to debug this any help would be great. Another thing is i am not too sure how command line parsing should work. Is it that any option i specify in lang.opt i just need to handle in lang_handle_option? And then i notice from: static bool lang_post_options( const char **pfilename ) { printf("lang_post_options!\n"); const char *filename= *pfilename; if( filename == 0 || !strcmp(filename, "-") ) { printf("stdin\n"); finput= stdin; filename= "stdin"; } else { printf("file %s\n", filename); } return false; } i notice it figures out if i say executed the compiler as: ./host-i686-pc-linux-gnu/gcc/gpy1 -v bla.lang It will figure out that the filename to compile is bla.lang. But then how does it work say if i use it to link lots of different .o together? Thats a lot of different questions :) - --Phil -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkqO+voACgkQAhcOgIaQQ2FbOACfb7qoSHTjJcSDHz0326SDA3KU swIAn0P3iArXadmQXdEoAxzR9UTu/QiJ =uiQP -----END PGP SIGNATURE-----