Re: gfortran+libcpp: linking objects from c-compiler

2008-04-15 Thread Tom Tromey
> "Daniel" == Daniel Franke <[EMAIL PROTECTED]> writes: Daniel> Is it acceptable to simply link in the C-frontend object to Daniel> gfortran (as C is a required language and the .o file will be Daniel> available)? Do I need to do something else in addition or Daniel> instead, like renaming or

gfortran+libcpp: linking objects from c-compiler

2008-04-15 Thread Daniel Franke
Hi all. To integrate libcpp into gfortran, I copy/adapt quite some code from the c frontend. For include-path handling, I found that I can nicely re-use the functions defined in c-incpath.c and exported by c-incpath.h. Now, linking gfortran, the linker of course complains about undefined refer