Opened 19 years ago
Closed 19 years ago
#28 closed defect (fixed)
IO compilation on sun: compilation arguments need changing
Reported by: | frae | Owned by: | frcm |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | ropp_io | Version: | 0.9 |
Keywords: | Cc: | axel.vonengeln@…, dave.offiler@… |
Description
In my unshakable quest for new life forms and compilers I ventured onto a sun machine. It has the following operationg system/compiler:
f95 -V: f95: Fujitsu Fortran Compiler Driver Version 4.0.1.1 (Mar 4 1999 04:36:37)
uname -a: SunOS igam07ws 5.8 Generic_117350-23 sun4u sparc SUNW,Ultra-4
And I get the following error when running make in ropp_io:
igam07ws% f95 -M../build -w -xvector=no -fw -O -Am -M./ -Bstatic -I/home/ave/ropp//include -c -o ropp2ropp.o ropp2ropp.f90 f95: warning: Invalid suboption vector=no specified for -x. Fortran diagnostic messages: program name(ropp2ropp) jwd1370i-s "ropp2ropp.f90", line 109: Module ropp_io is not available.
The problem is that this compiler need -M../build to come later on the command line, with the -M./. Then it works. I for now put this in the configure script, but we should change it in the ropp_* configures.
Note:
See TracTickets
for help on using tickets.
Changeset [694]updates the build system to a newer version; this discriminates between Fujitsu and native Solaris compilers and should provide command line options to the Fujitsu compiler. I have assumed that the Solaris version of the Fujitsu compiler behaves the same as the old Linux compiler from the same company. If this doesn't fix the problem, please reopen the ticket.