[Haifux] advanced of programming in Linux

Orna Agmon Ben-Yehuda ladypine at gmail.com
Mon Nov 2 11:50:58 MSK 2009


I often see people spending approximately an hour each time, trying to
understand why their change was not included in the executable. The answer
is usually - because they forgot to insert the source into the list of
sources in the makefile. When I show them how to automatically create a list
of sources and compile them all, with the correct dependencies, the problem
is forever solved.

I use a makefile to build Haifux's site automatically in two languages,
while compiling lists of lectures in different pages.

I use make to properly build latex files, including the second pass required
for bibtex.

I use make ,diff, head to create automatic tests (regression tests) for
various programs, compare them automatically with previous results, and
produce a report of added capabilities, lost capabilities, changes requiring
the attention of a professional.

I use make and perl to create parametric sweep runs (batch runs with
different input parameters in each run). I specifically use here the
inherent quality of make, to work according to the date of targets, so that
if the parametric sweep was disturbed in the middle, only runs older than
the executable and input file are re-run.

2009/11/1 Shahar Dag <dag at cs.technion.ac.il>

>  Hello
>
>
>
> To extent Elli's question:
>
> We try to convince our students that programming on Linux is easier /
> faster relative to Windows, so they better learn how to work with Linux.
>
>
>
> We claim that using the build in shell commands and pipes we can compose a
> solution for complex problem (almost) without programming.
>
>
>
> Can you point us for real life examples that prove our claims?
>
>
>
> Thanks in advanced
>
> Shahar Dag
> System & Software Development Laboratory (SSDL)
> Computer Science Department
> Technion - Israel Institute of Technology
> Haifa, Israel
> Tel. 972-4-829-4880
> Fax 972-4-829-4878
>
> _______________________________________________
> Haifux mailing list
> Haifux at haifux.org
> http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://haifux.org/pipermail/haifux/attachments/20091102/0bd126af/attachment.html 


More information about the Haifux mailing list