Hello,
I am using MinGW compiler on Windows to compile my C++ application with sockets. My command for linking looks like:
g++.exe -Wall -Wno-long-long -pedantic -lwsock32 -o dist/Windows/piskvorky { there are a lot of object files }
and I have also tried
g++.exe -Wall -Wno-long-long -pedantic -lws2_32 -o dist/Windows/piskvorky...
There are tools like Dependency Walker, dumpbin, ildasm for looking into DLLs/EXE files on Windows. I would like to analyze DLLs from code, especially dependencies both managed and unmanaged. Are there any (.NET) libraries out there for analyzing with similar functionality?
I want to use this to verify that we am deploying the right DLL...
I will soon be shipping a paid-for static library, and I am wondering if it is possible to build in any form of copy protection to prevent developers copying the library.
Ideally, I would like to prevent the library being linked into an executable at all, if (and only if!) the library has been illegitimately copied onto the developer's ...
I am using the dependency walker to figure out why my link of a cygwin ported application is not correct.
It states that cgywin1.dll is missing the following symbols:
AddAtomA
FindAtomA
GetAtomNameA
GetModuleHandleA
Looking around, I see that these are supposed to come from -lkernel32 on the link line, which I have added at the end...
Using Visual Studio, it is possible to 'Ignore Specific Library'
(Project Properties > Configuration Properties > Linker > Input > Ignore
Specific Library).
We found this useful in a project. Now we want to build
that project using boost-build (bjam), but we need to reproduce that linker behaviour.
Is there any ignore library feature w...
i would like to know how can i compile a number of header files by just one command using autotools in arch linux
...
A bit of an odd question here, but AutoCAD uses extension DLL's with the .ARX extension, which are really exactly like regular DLL's, besides their extension.
Now we have built three .ARX files, where the two latter ones have dependencies to the first. Upon loading these two, AutoCAD complains that it can't find a required file, and whe...
Is there any way to use a linker script with ld on Mac OS X?
The GNU ld program on Linux accepts a -T <scriptname> option, but on Mac OS -T is an unknown command option. Using an alternative installation of GCC is okay with me, if that solves the problem.
...
I'm wondering if there are any simple ways to link boost libraries (all or individual) via some entry like....
-lSDL_ttf
The above links SDL's True Type Font library. Can this be done with boost? If so, I'm not sure what file I'm linking for to link. I'm currently using boost_1_40_0.
If this isn't possible, or there are better ways t...
When loading programs into memory, what is the difference between load-time dynamic linking and run-time dynamic linking?
...
Hi,
I have some c code which provides libfoo.so and libfoo.a along with the header file foo.h. A large number of clients currently use these libraries from /old_location/lib and /old_location/include directories which is where they are disted.
Now I want to move this code to /new_location. Yet I am not in a position to inform the clien...
Is it possible to link to non-external symbols, or convert them to external symbols?
I only ask because a (big) library I want to use has a nightly build, but with stripped symbols. I'd prefer to use the nightly, rather than spend half a day compiling it.
...
I compiled the Boost C++ libraries as follows:
bjam install variant=release link=static threading=multi runtime-link=static
No errors. Then I compiled the following source:
#include <boost/thread/thread.hpp>
#include <iostream>
#define BOOST_THREAD_NO_LIB
void hello() {
std::cout << "Hello world, I'm a thread!" << std::endl;
}
i...
All -
I'm trying to understand the first section of the Map file produced by the MS Visual Studio 2005 linker. I know it has something to do with memory sections, but can someone help me decipher it?
Timestamp is 4b4f8d2b (Thu Jan 14 14:31:23 2010)
Preferred load address is 00400000
Start Length Name C...
I am building a library, called physgameengine, to aid in building games. This game library links against several libraries, including: Ogre3d, Bullet Physics and SDL, which are in the library files libOgreMain-1.6.5.so, libBulletCollision.a, libBulletDynamics.a, libBulletSoftBody.a, libSDL-1.2.so.0. This Library/Shared object appears to...
My team and I are developing a VC++ 6 project.
We are all using the same code-base (using version control system), and all our compiler/linker/environment-settings (including include directories order), as far as we can tell, are exactly the same.
Of course we are using the same VC++ version with the same service packs (VC6 SP6).
The pr...
I have a linux shared library (.so) compiled with a specific version of libc (GLIBC2.4) and I need to use it on a system with different version of libc. I do not have sources for the library in question so I cannot recompile for the new system. Is it somehow possible to change the dependencies in that library to a different libc?
...
I am trying to work on a homework assignment for school and am going above what the teacher is asking for the assignment -> I have created a "list" class. I keep running into these two errors after adding the 'add()' method to the program - along with the 'newIncomeTax()' methods
error LNK2019: unresolved external symbol "public: voi...
I am trying to separate Swapchain and Window creation from D3D10 device creation in my rendering framework meaning that I can't really use D3D10CreateDeviceAndSwapChain. I am running into an unexpected linker error when trying to build my test app.
I am including DXGI.h and linking to DXGI.lib as well as D3D10 libraries but nothing else...
I'm now doing some upgrades in my own OS and now I need to use ld, but I don't understand much about how to use it, then I'm asking for a good tutorial for really beginners.
...