vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, Is there a compiler option for XL Fortran on AIX similar to the Intel Fortran compiler option: -nofor_main Specifies the main program is not written in Fortran, and prevents the compiler from linking for_main.o into applications. The default is -for_main. Also is there an option to display the version number. Compiling file.f with the -qsource option lists the version number in the first line of file.lst, but I would like to to find a direct approach. Thanks, Recif |
| ||||
| Recif wrote: > Hi, > Is there a compiler option for XL Fortran on AIX similar to the > Intel Fortran compiler option: > -nofor_main > Specifies the main program is not written in Fortran, and > prevents the compiler from linking for_main.o into > applications. The default is -for_main. > No idea, but you could have a look at /etc/xlf.cfg and probably from there work out how to get ld to do what you want. > Also is there an option to display the version number. Compiling > file.f with the -qsource option lists the version number in the first > line of file.lst, but I would like to to find a direct approach. > lslpp -L | grep xlf does it: bash-2.05a$ lslpp -L | grep xlf xlfcmp 8.1.1.2 A F XL Fortran Compiler xlfcmp.html.en_US 8.1.1.0 C F XL Fortran Compiler xlfcmp.idebug.html.en_US 8.1.1.0 C F Distributed Debugger xlfcmp.msg.en_US 8.1.1.1 A F XL Fortran Compiler Messages - xlfcmp.pdf.en_US 8.1.1.0 C F XL Fortran Compiler xlfcmp.ps.en_US 8.1.1.0 C F XL Fortran Compiler xlfrte 8.1.1.2 A F XL Fortran Runtime Environment xlfrte.aix43 7.1.0.0 C F XL Fortran Runtime Environment xlfrte.aix51 8.1.1.1 A F XL Fortran Runtime Environment xlfrte.msg.en_US 8.1.1.1 A F XL Fortran Runtime Messages - Hope this helps, Ian |