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: Linking fortran code - lg2c library


Hi.
  Two suggestions for your question:

1) I see a problem in a fact that a there is no soft link named
"/usr/lib/libg2c.so" to a "true" library file
(I think it is "/usr/local/gcc3/lib/libg2c.so.0.0.0" in a case you described).
Please create it.

2)  Try to supply the full name of that library instead of using "-l"
option, i.e. write "/usr/lib/libg2c.so" instead of "-lg2c". I am not
sure the option "-l" works for shared libraries, at least not by default.

2a) You have more than one libg2c on a system. Do you know which
 of them you want to use ?

Regards,
  Dima.


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