This is the mail archive of the gcc@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]

Re: Question


Each language driver by default links only its own runtimes; you need to
get all the runtimes into the executable.  In your case, link with the
C++ compiler and add -lg2c (before -lm) for the F77 runtime.

Hope this helps,
//lat
-- 
I think we're in trouble.  --Han Solo

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