Share your knowledge at the LQ Wiki.
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 02-12-2006, 10:13 PM   #1
Registered: Nov 2005
Posts: 337

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

I configured my project to executable, now want to change it back to lib... Any ideas? (in KDevelop)
Old 02-13-2006, 04:01 PM   #2
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.


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 > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:06 PM.

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