by Nikolai V. Shokhirev
| ABC tutorials |
Up: Scientific programming
Prev: Numerical objects
Next: CppMatLib - Introduction
I recommend to use the free compilers available both on Linux and Windows (with MinGW). This is probably the easiest way for the cross-platform development. Moreover, MSYS allows using the same shell environment on both platforms. The combination of MinGW and MSYS provides a small, self-contained environment that can be loaded onto removable media without leaving entries in the registry or files on the computer [1].
Here I collected some useful MinGW-related links.
Installation
MinGW - MinGW (Minimalist GNU for Windows) is a native software port of the GNU Compiler Collection (GCC) to Microsoft Windows along with a set of freely distributable import libraries and header files for the Windows API. MinGW allows developers to create native Microsoft Windows applications.
MSYS - MSYS (Minimal SYStem) provides a lightweight
Unix-like shell environment including rxvt and a selection of POSIX tools
sufficient to enable autoconf scripts to run.
Note: Strictly speaking,
this installation is not necessary: you can run the GCC compilers from the
Windows cmd shell.
G95 - Free Fortran-95 compiler.
Note 1: Is necessary only for Fortran projects.
Note 2: the g77 compiler can be installed during MinGW installation.
Directory structure
I would suggest this simple structure:
C:/
|
+- MinGW
|
+ projects
|
+- CppMatLib
|
+- MyProject1
| ...........
Visual C++ (VS 2005/2003)
See the references below.
Links
| ABC tutorials |
Up: Scientific programming
Prev: Numerical objects
Next: CppMatLib - Introduction
ŠNikolai V. Shokhirev, 2004-2008