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

Re: ocaml-findlib cannot compile on m68k



On Tue, Apr 10, 2001 at 10:00:52AM +0200, Stefano Zacchiroli wrote:
> I receive a bug report for findlib that state the failure of compilation
> on m68k.
> The reason is pretty simple and already know (not for me anyway): on
> m68k ocaml optimizing compiler is not available.
> Talking with Claudio I realize that this is an old problem widely know.
> 
> What is the old adopted solution ?

In your debian/rules file, just do :

(example from mlgtk, which was my test package for much of this kind of stuff)

build-stamp: 
	...
	# Add here commands to compile the package.
	$(MAKE) libs
	if [ -x /usr/bin/ocamlopt ]; then \
		$(MAKE) libs_opt; \
	fi

Friendly,

Sven Luther



Reply to: