Re: Beginer needing help



vexx wrote:
[snip]
but the problem is i think now with library. when i type in command prompt: gfortran new.f90 -o new.exe -lmathlib it says cannot find -mathlib. so does that mean that my compiler does not have a CERN library ad if that's the problem how do i get it?

If you're looking for mathlib, use "-lmath". The linker will append "lib" automatically.

Louis
.



Relevant Pages

  • Re: Structure of large link libraries in f95
    ... can also generate interface blocks. ... I just tried compiling Olagnon's f90aib and it blew my year-old version of gfortran. ... Last time I tried it, maybe 5 years ago, it blew the then-current Salford compiler and gave an "unimplemented feature" message with the Lahey compiler. ...
    (comp.lang.fortran)
  • Re: Beginer needing help
    ... vexx writes: ... prompt: gfortran new.f90 -o new.exe -lmathlib it says cannot find -mathlib. ... and has nothing to do with the compiler. ...
    (comp.lang.fortran)
  • Re: Obstacles for Tcl/Tk commercial application development ?
    ... this is no problem: the compiler will refuse to ... previous message, it is impossible to check all execution paths, ... kilometers, which is clearly a type error. ...
    (comp.lang.tcl)
  • Re: Wit-to-whine ratios
    ... He has stated publicly that he modified a compiler that he ... called me a liar. ... scratch compiler. ...
    (comp.lang.c)
  • Re: Future of programming
    ... Similarly for programmes, there is little point in writing your entire ... optimise the areas which are most used, ... A compiler is just static code. ...
    (alt.lang.asm)