[ros-kernel] System DLL image bases in debug builds
Mike Nordell
tamlin at algonet.se
Thu May 6 02:29:36 CEST 2004
Ge van Geldorp wrote:
> Why not just move them unconditionally, i.e. both for debug and
> non-debug builds?
Reluctance to occupy more address space than needed. But maybe you're right,
a few MB might not be worth the effort.
> I'm not sure if you noticed the baseaddress.cfg file in the toplevel
> directory. It contains the base adresses, but unfortunately it might not
> be up-to-date.
That's why it's less useful. It requires manual updating why it can easily
become out-of-synch with what actually is used, it's not authorative for the
DLLs and its placement suggets it'd affect all of ROS, not just user-mode
system libraries.
> I like your idea about including it from the Makefiles,
> that will force us to keep it up-to-date.
It might have merit, but I can't really make up my mind about it since it's
yet another dependency - change one base address and all system libraries
requires a relink (which points out I didn't think of the fact that this
this config file would also have to be added to every DLLs linker
dependency-list).
But choosing between two non-optimal solutions, perhaps that is the best
option after all.
/Mike
More information about the Ros-kernel
mailing list