Omgili - forum search, search forums  
  

Discussions about static library

Displaying 1 - 10 out of 22,036 discussions.  
RSS Feed Options
Time Frame: (Any time)   Minimum number of replies: (2)   Minimum number of discussing users: (0)
  |  

Page: 1   2   3   4   5   6   7   8   9   10  
Keep this page open to be updated with the newest discussions automatically.
Hi, i'm trying to use the xlslib ( http://xlslib.sourceforge.net/ ) for create excel spreadsheets from a C++ application. The trouble is that compiling the xlslib, i give an .a file ( a GCC static library, generated by MingW ). But, my application depends...
Started by on , 5 posts by 5 people.  
Mingw/yongweiwu_stdcall.html The archives of static libraries generated with MinGW are generally need to use You may need to add also MinGW's libgcc.a library Also, there may occur problems regarding mixed C run-time libraries....
At least on Linux and Solaris, static libraries are really just a bunch of compiled .o's tossed into one big compressed file. When compiling a static library, usually the -fpic flag is ommited, so the generated code is position dependent. Now say my static...
Started by on , 3 posts by 3 people.  
They should link into the final executable.
One and the static you're linking against alongside.
I can build a executable with gcc with static link: gcc -static xxx.c -o xxx So I can run xxx without any external dependent library. But what if I want to build shared library without externel dependent library? which I mean I want the shared library...
Started by on , 4 posts by 4 people.  
To gcc, is passed on to the linker (ld) and tells it to work with the static version (.a) of a library a shared object and link with static libraries ld -shared -static -o xxx.so xxx.o # Same thing but with static....
Ask your Facebook Friends
I have a third-party library which consists mainly of a large number of static ( .a ) library files. I can compile this into a single .a library file, but I really need it to be a single .so shared library file. Is there any way to convert a static .a...
Started by on , 3 posts by 3 people.  
Lb_static_lib Not do it? You can't do this if objects within static library was compiled withoutDoes this (with appropriate -L's of course) gcc -shared -o megalib.so foo.o bar.o -la_static_lib.
Hello everyone, We recently converted a C++ project from Visual Studio 6 to Visual Studio 8. Everything went well until we reached the compilation of a project who put all the static libraries inside one big static library. By default after the conversion...
Started by on , 3 posts by 3 people.  
So doing this is ....
Unfortunately this is not e very good option in our case because we have different configuration and each lib changes directory (eg: In the debug version is in the debug directory, in the release version is in the release directory) .
I need little clarification in this area. I feel that the terms Static library & Dynamic Library are not correct. lib1.o + lib2.o + lib3.o --> "LinkerOutputFile"(executable or library). If this "LinkerOutputFile" contains the code of all the files ...
Started by on , 4 posts by 4 people.  
.so / .dll files....
They are an object file static.
(In a static library answer was helpful! ~Dr.Optix .o files are not any kind of library file.
Because the addresses of the contained functions are not determined at link time .
I want to create a shared library that uses functions from a 3rd-party static library. For example, foo and bar from libfoobar.a . I know that my main application is also using foo and will be exporting that symbol. So I simply want to link in bar to ...
Started by on , 4 posts by 3 people.  
Resolve certain symbols when building the shared library? only extern, not static, functions and variables other answer for some comments on messing around with ar to extract stuff from a static library the symbols that it....
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...
Started by on , 3 posts by 3 people.  
Since that's an linker option, you'll need -Wl,--whole-archive libsome.a If you were doing something more complicated where you want all of library some but only the part of library....
That you'll get all the contents of the static archive.
I am writing a reusable static library for the iPhone, following the directions provided here . I want to use minizip in my library internally, but don't want to expose it to the user. It should be possible for the user to include minizip themselves, ...
Started by on , 4 posts by 4 people.  
Since static library is nothing more than a set of .oYou'll want to take a look at Dynamic Library Programming Topics , specifically the Symbol of minizip from the outside world is to....
The prefixed symbol, and not the unzOpen one.
How can I link a shared library function statically in gcc?
Started by on , 5 posts by 5 people.  
....
You can't statically link shared library (or dynamically link static) Flag -static will force linker to use static library (.a) instead of shared (.so) But.
The information needed to link statically.
Page: 1   2   3   4   5   6   7   8   9   10  
More Information


Forum Search About Omgili Help Plugins Forum/Board Owners Privacy

i
In Title
In Topic
In Reply
Exclude
Boost