Re: Compiling tutorial examples

Julien PUYDT <[email protected]> Fri, 22 Jul 2005 13:25:30 +0200
Newsgroups gmane.comp.lang.eiffel.smalleiffel
Message-ID <[email protected]>
Francois Colonna a écrit :
> I think using makefiles is not using Eiffel power.
> To do the same kind of tests checkings as you do, I use loadpath.se 
> files that is all is needed, I do not use makefiles nor scripts.

I don't use Makefiles to run the test, but merely to compile them (and 
without much dependance checking at that).

Notice that you may have several tests per directory, and more files 
than tests. The goal was to just have to type "make" and be done.

Don't loadpath.se files only allow to describe where to look for 
clusters? I wondered about using ace files, but choose Makefiles because 
I already know how to write them...

Perhaps I should explain why I needed so badly a fast way to compile the 
tutorial examples: I installed a GNU/Hurd inside a qemu, and compiled a 
recent snapshot of smarteiffel in it. It took ages (well, a night).

Everything takes long in such an environment (mach is slow, hurd isn't 
optimized [yet], qemu is an emulator, the hurd disk is in fact a file on 
a laptop harddisk...). And to make sure the resulting compiler worked (a 
regression test set would be better but I don't have one), I want(ed) to 
run the tutorial examples. Changing directory, looking at which files 
are there, looking which to compile and how... is way too long.

Until now everything works as good in GNU/Hurd as in GNU/Linux.

Snark on #eiffel