For Programmers: Free Programming Magazines  


Home > Archive > Fortran > November 2005 > Re: How to link libraries statically on Linux









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: How to link libraries statically on Linux
Arjen Markus

2005-11-21, 7:57 am

One workaround could be to use the full name of the .a library, instead
of the -l form.
So:

g77 -o program program.o libanylib.a

instead of

g77 -o program program.o -lanylib

Regards,

Arjen

Hani Andreas Ibrahim

2005-11-23, 7:57 am

Thanks to all.

Hani
Rich Townsend

2005-11-23, 7:57 am

Hani Andreas Ibrahim wrote:
> Thanks to all.
>
> Hani


What compiler
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com