Re: Adding FORTRAN back to gcc tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



4.1.2012 16:48, Ian Lance Taylor kirjoitti:
vikramsp<vikram2rhyme@xxxxxxxxx>  writes:

I have a gcc 4.1.2 source tree which do not have
gcc/fortran folder i.e. fortran support is not there.
Meant for C/C++ only with ARM arch.

NOW I want to add fortran back. I just copied the fortran
folder from standard gcc 4.1.2 package and compiled for FORTRAN.
but errors are comming e.g.<undefined reference to c_lex>  etc.

Presumably your gcc 4.1.2 source tree has some local changes.  You will
have to adapt the Fortran frontend to those changes.

If you tell us the exact error messages we might be able to say
something more useful.  I don't see any references to c_lex in the gcc
4.1 Fortran frontend, so I suspect that something else is going on.

I remember it once told by someone that building only Fortran
(--enable-languages=fortran) doesn't work, one must build also
the C compiler (--enable-languages=c,fortran). Maybe this is
the case here?


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux