LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 02-12-2006, 10:13 PM   #1
lucky6969b
Member
 
Registered: Nov 2005
Posts: 337

Rep: Reputation: 30
KDevelop Executable->static link library


Hi,
I configured my project to executable, now want to change it back to lib... Any ideas? (in KDevelop)
Thanks
Jack
 
Old 02-13-2006, 04:01 PM   #2
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Rep: Reputation: Disabled
Remove 'main()' and use the library compile flags with gcc (either dynamic or static.) I don't think KDevelop is a good place to make a shared library, so I'd copy your sources into a separate project directory and work with gcc from the command line.
ta0kira
 
  


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
Kdevelop library problem maldini1010 Programming 3 02-16-2005 02:56 PM
KDevelop, how to link a library?? Umanga Programming 1 01-10-2005 05:13 PM
how to create link to an executable? Finlay Slackware 12 10-09-2004 08:19 AM
how to static link a specific library? koodailar Programming 3 07-26-2004 03:35 PM
howto compile bin with my library using all-static and shared linked standart library stpg Programming 4 06-29-2004 04:20 AM


All times are GMT -5. The time now is 01:43 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration