Re: file manager



>> Does it have to be this way?  (I've only skimmed the surface of the
>> MC source.)  For instance, could you instead build the MC core as a
>> library, and then simply have different front ends?

Miguel> It is not possible.  Depending on which port you compile, a
Miguel> lot of conditional code is included/dropped.  Look, for
Miguel> example in gnome/gconf.h

Yeah -- it would be a lot of work with the only real benefit being a
switch to automake.  FYI gdb solves similar problems by using function
pointers, thus moving decisions from compile time to runtime.


It might be possible to write things like this in automake:

	foo_SOURCES = ../src/a.c  ../src/b.c ...

I've never tried it, though, and I've heard mixed reports about
whether or not it works.  I suspect it depends on which `make' you
use.


You could try making symlinks, but I doubt it will work out very well.
It will probably cause problems with "make dist" at least.

Tom



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]