Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 01-31-2006, 04:56 AM   #1
Registered: Dec 2002
Location: algeria
Distribution: redhat 7.3, debian lenny
Posts: 605

Rep: Reputation: 31
Unhappy how to generate .so

I want to generate a dynamical library ( .so ) instead of static ( .a with ar ).
thank for help
Old 01-31-2006, 05:12 AM   #2
Senior Member
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 55
gcc -c -fPIC lib.c...
gcc -shared -o lib.o ...

Last edited by nx5000; 01-31-2006 at 05:14 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
/etc/profile (how to generate) JesseMor Linux - General 5 01-26-2006 07:28 PM
how often to the searches generate? microsoft/linux LQ Suggestions & Feedback 1 01-13-2006 05:46 PM
How to generate ps from texinfo abd_bela Debian 1 05-02-2005 07:58 PM
Generate kernel RPM andy18 Linux - General 1 07-08-2004 05:14 AM
dhcp won't generate a ip address tez1 Linux - Networking 2 08-10-2003 11:16 PM

All times are GMT -5. The time now is 05:10 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration