Running buildtool today, there was an occasion where gcc stopped with an error, but there were only warnings on the output. Turns out that the code handling the piping of the messages from the shell was buggy. No wonder that people wanted a listing file. I don't have that file yet (soon), but the warnings and messages are -much- better now.
Also, the latest MinGW mingw-runtime has gettimeofday() defined, while older versions do not. If you have a problem compiling buildtool with g++, try compiling with: g++ -O3 -DHAVE_GETTIMEOFDAY buildtool.cpp -o btool.exe
I guess that later, when most people have the newer mingw, that can be changed to NEED_GETTIMEOFDAY for the Luddites. :-)
bob
I added a <touch> task today, from a request. Same as unix touch.
I also added a "touchabout" target to build.xml, so that you can make sure that the dialog reflects the current build date.
However, the target doesn't really touch the source file (that will mess with your svn), but merely deletes the associated .o Just type:
btool touchabout
I also finally added a compiler listing for the <cc> task. Formatted compiler commands, stdout, and stderr now are saved in "compiler.lst"
bob
participants (1)
-
Bob Jamison