16 Jun
2008
16 Jun
'08
1:31 a.m.
Hi all,
You don't really need to have multiple compiles to have different prefixes. Just build with binreloc. It doesn't need to be part of an autopackage to work. Basically, instead of looking for a static path for DATADIR, it dynamically looks relative to the executable for BR_DATADIR.
This is similar to how the win32 build can be located anywhere.
Look in prefix.h/cpp, and in path-prefix.h to see how to use it.
You will need to set the CFLAG #define ENABLE_BINRELOC 1 and probably #define BR_PTHREADS 1
bob