← Back to team overview

kicad-developers team mailing list archive

Re: boost_root driven by https


> http://en.m.wikipedia.org/wiki/Portable_Executable
> Read about "relocations".


I think your idea of looking at the PE headers is good.

Also, maybe you can mimic the BASE ADDRESSES of the DLLs being built, and try and get
mingw's LD, invoked under g++,  to use the same ones:

Something like this for each DLL:

set( YOUR_DLL_BASE 0x2321000000 )	# adjust accordingly

set_target_properties( your_dll PROPERTIES
	LINK_FLAGS -Wl,--image-base,${YOUR_DLL_BASE}

With the same base addresses, if there is still a big difference, then it is something else.


Follow ups