-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
25 lines (17 loc) · 996 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
0. GCC INSTALLATION
- download gcc archive
- uncompress it where you want
- cd into the resulting directory
- ./contrib/download_prerequisites
- ./configure --prefix=path/where/you/want/to/install/gcc
- make -j N (where is the number of procs of your machine)
- make install
1. INSTALLATION (requires GCC version >= 4.9.2)
cd build
#cmake -D ENABLE_DOWNLOAD=True -DCMAKE_C_COMPILER=/home/roussel/5.2.0/bin/gcc -DCMAKE_CXX_COMPILER=/home/roussel/5.2.0/bin/g++ -DCMAKE_Fortran_COMPILER=/home/roussel/5.2.0/bin/gfortran ..
export GCC_ROOT=/libre/common/softwares/gcc/4.9.2
cmake -D ENABLE_DOWNLOAD=True -D SIMOL_GCC_ROOT=$GCC_ROOT ..
make
Info pour netbeans :
-> options de configuration
-G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=/home/roussel/5.2.0/bin/gcc -DCMAKE_CXX_COMPILER=/home/roussel/5.2.0/bin/g++ -D CMAKE_Fortran_COMPILER=/home/roussel/5.2.0/bin/gfortran -DCMAKE_C_FLAGS_DEBUG="-g3 -gdwarf-2" -DCMAKE_CXX_FLAGS_DEBUG="-g3 -gdwarf-2" -D ENABLE_DOWNLOAD=True