Hi David,

See my last reply to Eliot.

I have been neck deep in new coding that I have relied on the existing CMakeVMaker approach to drive my development.


While replying to Eliot and Tim R, I have glanced at Ian's configure script and I think this will all come together nicely.


The end of Ian's script invokes cmake like so:




if test -n "${cflags}"; then
      cmake "${unix}" -DVM_HOST="${host}" -DVM_VERSION="${VM_VERSION}" -DPLATFORM_SOURCE_VERSION="${PLATFORM_SOURCE_VERSION}" -DSRC="${src}" -DOPT--CMAKE_C_FLAGS="${cflags}" ${args}
else
      cmake "${unix}" -DVM_HOST="${host}" -DVM_VERSION="${VM_VERSION}" -DPLATFORM_SOURCE_VERSION="${PLATFORM_SOURCE_VERSION}" -DSRC="${src}" ${args}
fi

Which, somehow creates a config.h  (and a good looking one too. It links to /lib/64 which is correct on my system)

This is definitely solvable in principle using exclusivelly cmake. 

I have a lot of brain-cycles to spend getting the framework in place before I turn my attention to this particular problem, but in discussing it with you guys, the solution has presented itself.

cheers.

tty