Posted on May 19th, 2008 by headwedge
Went for a walk with the dogs in our local wood which, delightfully, is called ‘Nutwood’ [link]. It had just finished raining and the pungent aroma from the wild garlic (Allium ursinum) was amazing.[link]
The wild garlic grows in woodland, in near or among the bluebells, and is a wonderful sign of spring.
Pictures of wild [...]
Filed under: ramblings | No Comments »
Posted on May 18th, 2008 by headwedge
Producing code to the GNU coding standards requires setting up your system appropriately.
step 0
Download and read the free book ‘Developing software with GNU’ [link]
step 1
Ensure Free Software Foundation tools are present and up to date:
apt-get install make [link]
apt-get install m4 [link]
apt-get install texinfo
Filed under: c++, linux, ubuntu | No Comments »
Posted on May 12th, 2008 by headwedge
Looking for a small free software licence, compatible with the GNU GPL?
Then the Eiffel Forum License [link] [link] could be for you.
(UK) Licence is the noun form, and license is the verb, so a when a licencee has a licence, they are licensed by a Licensing Authority.
file: licence.txt
Eiffel Forum Licence, version 2
1:
Permission is hereby granted [...]
Filed under: c++, music | No Comments »
Posted on May 12th, 2008 by headwedge
Self descriptive framework for a makefile:
Remember that makefiles require the ascii |TAB| character (Hex 09) as a leader for command lines!
Stuart Feldman, the author of make, explains this dreadful whitespace design botch…
Why the tab in column 1? Yacc was new, Lex was brand new. I hadn’t tried either, so I figured this would be a [...]
Filed under: c++, linux | No Comments »
Posted on May 9th, 2008 by headwedge
GNU Compiler Chain
C++ frontend:
g++
option -o specify executable name otherwise defeault is a.out:
g++ -o name code.cpp
run the executable:
./name
compile and assemble but do not link:
g++ -c first.cpp
g++ -c second.cpp
link the object files from 4:
g++ -o name first.o second.o
reduce 4 & 5 to single command:
g++ -o name first.cpp second.cpp
option -l load external library e.g. math library libm: (n.b. [...]
Filed under: c++, linux | No Comments »