Building a Dynamic Library
Loh Yong Khun
ykloh at lkta.com.my
Thu Jan 3 03:58:17 GMT 2002
Hi Richard,
what project type should i create in the New Project Wizard? i am new to
this, please advice. thanks.
YK (Loh Yong Khun)
<ykloh at lkta.com.my>
_________________
-----Original Message-----
From: Mailing list agent [mailto:mdom at barney.cs.uni-potsdam.de]On Behalf
Of Steven Suson
Sent: Thursday, 03 January, 2002 1:45 AM
To: kdevelop at kdevelop.org
Cc: Michael Findley; Ruslan Babayev
Subject: Re: Building a Dynamic Library
Richard Garand wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On January 2, 2002 01:14 am, Loh Yong Khun wrote:
> > 1. how to build a dynamic library (.SO) using KDevelop?
Create a subdirectory under projectname/projectname named as such: for a
library called libMyLib, the
name of the subdirectory would be MyLib. Then right mouse button and select
properties. There you will
see the option for a shared library.
>
>
> That currently requires hacking up the project files a bit. It's not as
easy
> as making a regular program.
>
> > 2. how to execute a command (like ifconfig) from within a C/C++ program
in
> > Linux?
I prefer the use of the KDE provided classes for this, such as KProcess,
KProcIO, and friends...
Steven Suson
"Keep the faith."
>
>
> see system(3) and exec(3). You probably want something like system(3). Run
> 'man 3 system' for more information.
> - --
> Richard Garand - r i c h a r d @ g a r a n d n e t . n e t
> (L)ICQ: 12190132 - http://www.garandnet.net
> "/pub/distributions/Mandrake/Mandrake/Mandrake/8.1/i586/Mandrake is new
cwd."
> - - Tucows FTP
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
>
> iD4DBQE8MuUQjuZKnjxs0fMRAsWhAJY8HRFVNAEhbWXAjfppTya3v4LsAJ4mnM71
> CxIQz6zWiCXO9/HKTNqUIQ==
> =Fwp4
> -----END PGP SIGNATURE-----
>
> -
> to unsubscribe from this list send an email to
kdevelop-request at kdevelop.org with the following body:
> unsubscribe »your-email-address«
-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org
with the following body:
unsubscribe »your-email-address«
-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop
mailing list