Menu ▾ ▴

Installation

Fran Pena

To install creamake you must have installed make in your system.

Open a terminal in Linux or a Command Window in Windows and type:

    make -f Makefile.<compiler>.<os>

where <compiler> can be "gfortran" or "ifort" and <os> can be "linux" or "windows".

Creating Linux Makefiles in Windows

When creamake is executed in Windows do not produce suitable Makefiles for Linux, even giving "linux" as a first input. If you want to do so, you must manually change in dir_fuentes and condir_principal, every ocurrence of \ by /.

In any other situation, i.e., to execute creamake in Windows to create a Windows Makefile or to execute creamake in Linux to create a Windows/Linux Makefile is correct.

Testing in Windows

Creamake has been tested in Windows with:

>gfortran -v
Using built-in specs.
Target: i586-pc-mingw32
Configured with: ../gcc-trunk/configure --prefix=/mingw --enable-languages=c,fortran 
--with-gmp=/home/FX/gfortran/dependencies --disable-werror --enable-threads --disable-nls 
--build=i586-pc-mingw32 --enable-libgomp --disable-shared --disable-win32-registry 
--with-dwarf2 --disable-sjlj-exceptions
Thread model: win32
gcc version 4.5.0 20090421 (experimental) [trunk revision 146519] (GCC)

>make -v
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This program built for i386-pc-mingw32

Testing in Linux

Creamake has been tested in Linux with:

$ gfortran -v
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.5.1/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.5.1-7ubuntu2' 
--with-bugurl=file:///usr/share/doc/gcc-4.5/README.Bugs --enable-
languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.5 --enable-shared 
--enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib 
--without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/includ/c++/4.5 
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-
libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-gold --with-plugin-
ld=ld.gold --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic 
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-
linux-gnu
Thread model: posix
gcc version 4.5.1 (Ubuntu/Linaro 4.5.1-7ubuntu2) 

$ make -v
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This program built for x86_64-pc-linux-gnu

Related

Wiki: Home