Differences
This shows you the differences between two versions of the page.
prerequisites:fortran [2013/07/29 14:55] s.bourban [Tips and Tricks] |
prerequisites:fortran [2014/10/10 16:01] (current) |
||
---|---|---|---|
Line 37: | Line 37: | ||
* Trying to compile the TELEMAC system using the g95 Fortran compiler on MS Windows operating systems sometimes causes the following error: | * Trying to compile the TELEMAC system using the g95 Fortran compiler on MS Windows operating systems sometimes causes the following error: | ||
- | \\ | ||
:''\>crt2.o: No such file: No such file or directory'' | :''\>crt2.o: No such file: No such file or directory'' | ||
+ | \\ | ||
:: By default, the environment variable '''G95_LIBRARY_PATH''' is set to ''**D:\program\fortran\g95\lib\gcc-lib\i686-pc-mingw32\4.1.2**'', where ''**D:\program\fortran**'' is the an example of the root of the installation directory for g95. The crt2.o file is however in the ''**D:\program\fortran\g95\lib**'' directory. The solution is threfore to have: | :: By default, the environment variable '''G95_LIBRARY_PATH''' is set to ''**D:\program\fortran\g95\lib\gcc-lib\i686-pc-mingw32\4.1.2**'', where ''**D:\program\fortran**'' is the an example of the root of the installation directory for g95. The crt2.o file is however in the ''**D:\program\fortran\g95\lib**'' directory. The solution is threfore to have: | ||
- | :: ''**G95_LIBRARY_PATH=D:\program\fortran\g95\lib\gcc-lib\i686-pc-mingw32\4.1.2;D:\program\fortran\g95\lib**'' | + | :: ''**G95_LIBRARY_PATH=D:\program\fortran\g95\lib\gcc-lib\i686-pc-mingw32\4.1.2;D:\program\fortran\g95\lib**'' |
:: (note that the PATH separator on MS Windows operating system is **";"**) | :: (note that the PATH separator on MS Windows operating system is **";"**) | ||