Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[split] Mac OS X auto build script
09-09-2014, 02:38 AM
Post: #3
RE: [split] Mac OS X auto build script
Sorry been busy with IRL.
I tried the " 2>&1 1>" for outupt, but script still takes cmake/gcc errors and outputs to terminal instead of logging to a file.

Ex:
/* Terminal Output */
[ 57%] Building CXX object CMakeFiles/native.dir/native/ext/jpge/jpge.cpp.o
Linking CXX static library lib/libnative.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: lib/libnative.a(fastlist_test.cpp.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: lib/libnative.a(gl3stub.c.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: lib/libnative.a(fastlist_test.cpp.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: lib/libnative.a(gl3stub.c.o) has no symbols
[ 57%] Built target native

/* Log Output */
[ 57%] Building CXX object CMakeFiles/native.dir/native/ext/jpge/jpge.cpp.o
Linking CXX static library lib/libnative.a
[ 57%] Built target native

These errors are basically irrelevant as far as I can tell (probably just from porting), but I'm sure not everyone has a Mac to test this out. It builds fine and runs okay. So as far as I can tell bash is taking stderr from the script but not from gcc and bypassing the actual error output.

Honestly, Git's great for programming and multiple people, but for logs or router configs WebSVN is pretty simple and still can trace back to see diffs.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [split] Mac OS X auto build script - Stanton - 09-09-2014 02:38 AM

Forum Jump: