On 04/25/12 17:18, Greg Ercolano wrote:
>       ..where 'your_mingw.sh' might look like:

        Oops, actually, I'd suggest this instead for the sh script:

echo "--- GCC VERSION:"             # show..
gcc --version                       # ..gcc version info
echo "--- Started: `date`"          # show start time
autoconf && ./configure && make     # run the actual build
err=$?                              # save exit code
echo "--- Finished: `date`"         # show completion time
echo "--- BUILD EXITCODE: $err"     # show build exit code
exit $err                           # return build's exit code to parent


        ..the 'set err=$?' in my previous post was wrong,
        and I forgot to include the configure.

        Pretty sure that should work. Worked on linux, anyway.
        When executed, it shows:

* * *

--- GCC VERSION:
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-50)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

--- Started: Wed Apr 25 17:24:01 PDT 2012
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
[..bla bla..]
Linking gl_overlay...
Linking glpuzzle...
Linking shape...
=== making documentation ===
--- Finished: Wed Apr 25 17:25:17 PDT 2012
--- BUILD EXITCODE: 0

* * *
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to