Hi,
My jamfile is like this on Windows to generate a dll.
lib blah
: aprwrapper.cpp
file1.cpp
file2.cpp
;
The bjam-generated .rsp file is like this:
file1.obj
file2.obj
aprwrapper.obj
The generated DLL gives an ‘Invalid access to memory’
at run-time, whereas that generated with MSVC IDE works fine. (This is because
of ordering of global statics).
If I move aprwrapper.obj to the top in the .rsp file and just
run the link command, then the bjam-generated DLL is fine.
My questions:
Thanks in advance,
Anant Rao