473,394 Members | 1,841 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Make shared library to executable

Hi folks,

Is there any way to embed shared library directly, to executable file
it self so that executable file can run stand alone without the shared
library.

I don't want to compile the source, make the static library and plug
it. I just want to use dynamic library as it is.

Thanks in advance...
Jan 25 '08 #1
4 2695
Sam
Nethali writes:
Hi folks,

Is there any way to embed shared library directly, to executable file
There's no such thing as a "shared library" in the C++ language.

You should ask for help in a more appropriate newsgroup or mailing list, the
one for your operating system, or your specific C++ compiler.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQBHmTbDx9p3GYHlUOIRAkjKAJ9MHx2qyTpena9n2IqK7F zSPgYKMwCfd4SI
9wLz/yWyw5eIJv/UvbjOpCE=
=M70I
-----END PGP SIGNATURE-----

Jan 25 '08 #2
On Jan 25, 10:09*am, Sam <s...@email-scan.comwrote:
Nethali writes:
Hi folks,
Is there any way to embed shared library directly, to executable file

There's no such thing as a "shared library" in the C++ language.

You should ask for help in a more appropriate newsgroup or mailing list, the
one for your operating system, or your specific C++ compiler.

*application_pgp-signature_part
1KDownload
No dear, there is a thing called shared libraries in C++. Give a
google search, it gives lot of articles on this. Some people call this
as dynamic libraries.
Jan 25 '08 #3
On Jan 25, 10:09*am, Sam <s...@email-scan.comwrote:
Nethali writes:
Hi folks,
Is there any way to embed shared library directly, to executable file

There's no such thing as a "shared library" in the C++ language.

You should ask for help in a more appropriate newsgroup or mailing list, the
one for your operating system, or your specific C++ compiler.

*application_pgp-signature_part
1KDownload
There is a thing called Shared library in C++ also. Some people call
this as dynamic library. Give a google search, it will give many
articles on C/C++ shared libraries.
Jan 25 '08 #4
Nethali wrote:
On Jan 25, 10:09 am, Sam <s...@email-scan.comwrote:
>Nethali writes:
>>Hi folks,
Is there any way to embed shared library directly, to executable file
There's no such thing as a "shared library" in the C++ language.

You should ask for help in a more appropriate newsgroup or mailing list, the
one for your operating system, or your specific C++ compiler.

application_pgp-signature_part
1KDownload

There is a thing called Shared library in C++ also. Some people call
this as dynamic library. Give a google search, it will give many
articles on C/C++ shared libraries.
Please point to the specific section of ISO/IEC 14882:2003 that defines
a "Shared Library". Thank you.
Jan 25 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Ajay Bakhshi | last post by:
Hi, I have Python-2.2.3/ Mcmillian Installer: _5b5_5 System: HP 11.11 64 bit. Installer + Python were build with 64 bit support (Compiler flag: +DD64) I have a Python file...
3
by: Rickard Lind | last post by:
Is there any way to build the python executable statically and still be able to load modules built as shared libraries? I'm trying to run python scripts on a stripped down FreeBSD (4.9) machine...
1
by: Torsten Mueller | last post by:
I have to create a shared library containing C++ classes with static member variables on HPUX with aCC. I can compile and link the library and a test application but when I start the program I get...
1
by: RHNewBie | last post by:
Hello, I have an executable which uses two shared libraries(A and Z). I do not have the source code for the executable. However I can tell the executable to load the shared libraries and invoke...
7
by: akennis | last post by:
First of all, sorry for duplicating this post. I put it up in the alt.comp.lang.learn.c-c++ mistakenly. I'm investigating a problem whereby exceptions thrown from functions in a Shared Library...
3
by: abhi147 | last post by:
Hi , I am trying to create a shared library and trying to load it usinf dlopen() function . My code and steps to create and load the *.so is : /*** test.c ***/ #include <stdio.h> void...
1
by: sirchia.r | last post by:
Hi all, I'm not very much of a C expert, so I hope one of you is willing to help me out. What I'm trying to do is create a shared object library SO1, to which an executable E is already...
5
by: Visa Inquirer | last post by:
I need my program to always link to a particular shared library, not the one in LD_LIBRARY_PATH. Is there a way to specify shared library by full path when linking so that when running...
4
by: tvnaidu | last post by:
I created an executable using static library instead shared lib, I am running multipe instances of this executable, does it takes more memory with static library compare to shared library?. Does...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.