|
请问大佬,codeblocks+gfortran编译简单的hello world!示例程序时总是出现如下错误信息,为什么?
||=== Build: Debug in Demo (compiler: GNU Fortran Compiler) ===|
D:\Demo\chap02\hello.f90|3|undefined reference to `_gfortran_st_write'|
D:\Demo\chap02\hello.f90|3|undefined reference to `_gfortran_transfer_character_write'|
D:\Demo\chap02\hello.f90|3|undefined reference to `_gfortran_st_write_done'|
D:\Demo\chap02\hello.f90|4|undefined reference to `_gfortran_stop_string'|
D:\Demo\chap02\hello.f90|5|undefined reference to `_gfortran_set_args'|
D:\Demo\chap02\hello.f90|5|undefined reference to `_gfortran_set_options'|
||=== Build failed: 6 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
|
|