Compling WOC with the GNU Compiler Collection (gcc/g++) |
|
|
Not everyone owns a recent version of Microsoft® Visual C++®, and to yet others it is not the compiler of choice. You don't need to spend money on a compiler to compile WOC; it will compile and link with the GNU Compiler Collection (GCC) which is available free of charge from the GNU Project website. GCC is a C/C++/Objective C/Fortran compiler in a single executable but it has preferred methods of invocation - for instance gcc is the best command to compile C programs, and g++ to compile C++. You can run GCC on Cygwin - a UNIX environment for Windows - which is also free of charge. |
WinZip® brings the convenience of Windows to the use of Zip files and other compression formats. If you don't have "the most celebrated shareware app in the history of computing" already, use the above link to download it. |
| About the project
files g++ is a command-line tool. If you compile WOC from within Cygwin's bash shell then you can just run the build.sh shell script. It's also possible to rename build.sh as build.bat and run it from the NT Command Prompt. You'll need the WOC header and implementation files and you should place the /woc/ folder as a sibling of the unzipped /WocGPPSkeleton folder before running the build script. Once you've built and run the WocSkeleton sample you may feel like trying some of the other samples or even your own WOC applications. |
![]() The mission: to foster a world-class optimizing compiler, to attract a larger team of developers, to ensure that GCC and the GNU system work on multiple architectures and diverse environments, and to more thoroughly test and extend the features of GCC. ![]() The Cygwin tools are ports of the popular GNU development tools for Microsoft Windows. They run thanks to the Cygwin library which provides the UNIX system calls and environment these programs expect. |
| last updated: 18-oct-01 |