Hi,
Is there a tool that I can use to see what functions are exported by a static library? I am getting linker errors in VS2005, and I want to make sure that a static library I am including does indeed have the proper functions.
I did find a lot of stuff for viewing dynamic library exports, but a search for static library viewers wasn'...
Does MonoTouch allow to create iPhone static libraries? If yes how it can be done?
...
When I create a project in vs2005.
I can also create Win32->Win32Project.
I can choose
"console application"
or "dll"
or "static library"
if I created a static library project. How can I convert it to dll project.
I found in setting panel of the created project. General->Configuration Type, I can switch Static Library(.lib) to DLL
Howe...
I'd like to have a UIViewController class, with the UI created in Interface Builder within a static library I am building.
As an analogy - In the iPhone SDK, I can access the address book through a low-level API, and the AddressBookUI api. I am doing something similar.
There's doesn't seem to be a way to include XIBs in a static librar...
Hi,
I have a question on shared libraries vs static libraries loading time.
Assume that i have a executable foo.exe which uses liba, libb, libc. Also at a given time there are more than 10 instances of the executable running on the machine.
Now if the above 3 libraries were shared libraries :
1st Insance is loaded into RAM : The tim...
Assume a executable foo.exe is built based on static libraries and 6 instances of this foo.exe are running at the same time on the a machine.
Since all the code is same (read only part) except for the read write part on the RAM, will there be any sharing amongst these 6 instances in the RAM to improve performance ?
I do know that if th...
I've spend the morning figuring out how in a makefile to do a shared library install under Linux.
So that's fine; I now have my shared object and a pair of soft links to it, one of which was created by ldconfig and one by me.
Now, I can also build my library as a static library.
When I check /usr/lib, I see the .a files there just bei...
Has anyone tried to statically link mysql-python with mysql client library on 64-bit Linux?
gcc -pthread -shared build/temp.linux-x86_64-2.6/_mysql.o /home/apy/MySQL-
python-1.2.3c1/mysql-5.1.42/i/lib/mysql/libmysqlclient_r.a -L/home/apy/MyS
QL-python-1.2.3c1/mysql-5.1.42/i/lib/mysql -lmysqlclient_r -lz -lpthread -lcrypt -lnsl -
lm -lp...
I distribute a statically linked binary version of my application on linux. However, on systems with the 2.4 kernel, I get a segfault on startup, and the message: "FATAL: kernel too old."
How can I easily get a version up and running with a 2.4 kernel? Some of the libraries I need aren't even available on old linux distributions circa 2...
In the static vs shared libraries debates, I've often heard that shared libraries eliminate duplication and reduces overall disk space. But how much disk space do shared libraries really save in modern Linux distros? How much more space would be needed if all programs were compiled using static libraries? Has anyone crunched the numbers ...
I'm having some trouble with a dynamically linked library calling my overloaded operator delete but not my operator new. My exe looks something like this:
class A {
public:
void func() {
t = dynLib::Type::CreateObject();
}
dynLib::Type t;
};
void main() {
A a;
a.func();
}
And then I have a statically linke...
I am about to attempt reorganizing the way my group builds a set of large applications that share about 90% of their source files. Right now, these applications are built without any libraries whatsoever involved except for externally linked ones that are not under our control. The applications use the same common source files (we are ...
I am trying to figure out a way of embedding a resource into a static library for linking with C source using the gcc toolchain. The equivalent of a Windows DLL in which resources are embedded. Can this be done with a linux static library?
In short, would for example, doing this
cat someresourcedata.txt > mylib.a and to be able to lin...
I am tryng to create a shared library which internally is linking to many shared lib and a static lib . In my case my shared lib is not including static lib . I want to know what i am trying whether it is correct or i need to convert static lib to shared lib and then do the linking .
I need to know that is there any makefile flag whic...
Hello,
What is standard or "most-popular" naming convention for MSVC library builds.
For example, for following platforms library foo has these conventions:
Linux/gcc:
shared: libfoo.so
import: ---
static: libfoo.a
Cygwin/gcc:
shared: cygfoo.dll
import: libfoo.dll.a
static: libfoo.a
Windows/MinGW:
shared: libfoo.dll
import: li...
Whats the best way to deploy a QT app? I've read the documentation hosted at trolltech but is it better to link with a static library or the dynamic libraries and have the user install the framework? I don't really want anyone using my app to have to download a 160mb framework just to run a simple gui frontend.
...
Hello,
I have developed a static library in iphone and was able to successfully use it for a single project. I want to give the project source code to the client. But I want the library to be working only for thirty days from the day i am releasing to the client. How can i do it?
Here is an option that i thought of:
1. Put up a hard co...
Hi
I'm trying to link with the static libc.a and a dynamic lib .so unsuccessfully.
I've already tryied the following:
Firstly I test with all dynamic:
gcc -shared libtest.c -o libtest.so
gcc -c main.c -o main.o
gcc main.o -o test -L. -ltest
It's working (compile and execute)
Secondly I test what I want (dynamic lib and static lib...
the title of this question is an exact dupe, but the answers in that question don't help me.
I have a bunch of object files packed in a static library:
% g++ -std=c++98 -fpic -g -O1 -c -o foo.o foo.cpp
% g++ -std=c++98 -fpic -g -O1 -c -o bar.o bar.cpp
% ar -rc libsome.a foo.o bar.o
I'd like to generate libsome.so from libsome.a inste...
Hello all,
I'm using CMake-2.8 on winxp with Visual Studio 2005 generator.
lets say I've a dll created (A.dll) from some cxx files and a static library static.lib
So I call Link_Directories to specify the directory where the static library is located.
Now A.dll is built fine.
Now I want B.dll built from some cxx sources, A.lib (the im...