Bin-Build

Simplifies compiling source files in C, C++ and Objective-C
Download

Bin-Build Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Donationware
  • Publisher Name:
  • eosgarden
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 2 KB

Bin-Build Tags


Bin-Build Description

Simplifies compiling source files in C, C++ and Objective-C Bin-Build is a free and open source small shell script that will simplify compiling source files in C, C++ and Objective-C.When compiling a source file, the invocation of the compiler is often a painful task, especially when specific options need to be passed, like compiler flags, error level, etc.For instance, in order to compile a C file with GCC, you need to type the following kind of command "gcc -Wall -Werror -Wextra -pedantic -std=c89 -Os -o file file.c".With Bin-Build, you can replace the previous command with "bin-build file.c" and it will automatically generate a 'file' executable, from the 'file.c' source file, using the C compiler.Bin-Build can be used seamlessly with C, C++ and Objective-C.InstallationSimply copy the script in a directory that's included in your executable path (like /usr/local/bin/), and make sure the executable flag is set.For instance:sudo cp bin-build.sh /usr/local/bin/bin-buildsudo chmod 755 /usr/local/bin/bin-buildYou'll then be able to call the script as a normal executable:bin-build ~/file.c


Bin-Build Related Software