LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 01-31-2006, 03:56 AM   #1
abd_bela
Member
 
Registered: Dec 2002
Location: algeria
Distribution: redhat 7.3, debian lenny
Posts: 627

Rep: Reputation: 31
Unhappy how to generate .so


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

Rep: Reputation: 57
Code:
gcc -c -fPIC lib.c...
gcc -shared -o lib.so lib.o ...
http://users.actcom.co.il/~choo/lupg...libraries.html

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


Reply


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 06:28 PM
how often to the searches generate? microsoft/linux LQ Suggestions & Feedback 1 01-13-2006 04:46 PM
How to generate ps from texinfo abd_bela Debian 1 05-02-2005 06:58 PM
Generate kernel RPM andy18 Linux - General 1 07-08-2004 04:14 AM
dhcp won't generate a ip address tez1 Linux - Networking 2 08-10-2003 10:16 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:58 PM.

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