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

Re: cameleon: byte or native?



Judicael Courant wrote:

A slightly better one IMHO, would be to provide three packages instead
of two for each program: X, X-native and X-byte. X would provide files
independent from the bytecode/native status of the executable.

There we would have
zoggy 'Depends:'ing on zoggy-native (= 1.2xxx) | zoggy-byte (= 1.2xxx))

and cameleon would just depend on zoggy.

Well, it doesn't improve anything IMHO. I'd prefer to add mode dependencies
to cameleon rather that adding more packages.

In the case of coq, I would provide files such as the emacs mode, the
standard library of coq in the coq package, and I would have both
coq-byte and coq-native as independent packages (and they would not
conflict since having both bytecode and native version makes sense for
coq --- thus I have to have a look at diversions...)

Again, you need more packages. And you need to give binaries a different name and use alternatives if you want to allow both to be installed at the same time.

Cheers,




Reply to: