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


On 10/22/07, Johann Rost wrote:
> Thanks for your answer. How can I create the "true"
> library file "/usr/lib/libg2c.so"   ?
I assume you have a root permission for 'root' on your machine.
Do a following sequence of commands:

--> su -
Now insert root's password
--> cd  /usr/lib/
--> ln -s /usr/lib/libg2c.so.0.0 libg2c.so
This creates a soft link to a library.
--> exit

Then try to compile your code. If does not help - you will have to do
a small intervention into makefiles, be prepared :)

By the way, does somebody in this list know what may cause gcc to find
shared libraries supplied with "-l" option during linking ?

Thanks, regards,
Dima.


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