This is the mail archive of the
xconq7@sources.redhat.com
mailing list for the Xconq project.
Re: Build system overhaul (Was: Tcl/Tk Interface Unification)
Hello Eric,
> > A general solution would therefore require providing a separate build
> > directory for some interfaces (and consequently compiling the kernel
> > more than once).
>
> On second thought, how about we just make libconq_mw32.a and
> libconqlow_mw32.a for anything that is doing a mingw32 build and
> make the regular kernel libs (once, not multiple times) for
> anything that is doing a cygwin or other build?
>
> This would save us the hassle of separate build dirs or remaking
> the kernel multiple times. And since we are using special flags
> with the mingw32 builds anyway, it should be trivial to make
> us link against the alternate libraries as well.
Would we have separate targets for these in kernel/Makefile or do we
completely parameterize the build and pass in the flags and the target
names from the calling Makefile? Are there more options?
I like the second approach better, because it keeps all the special
flags in one place (i.e. in sdl/Makefile which started this discussion
in the first place) and (unlikely) future occurences of this problem
would not require changes to kernel/Makefile.in, but the first
solution seems much simpler to implement. But obviously it's up to
whoever implements this (which probably wont be me:-)
Happy hacking,
jr