Compilation of fortran interface with lahey compiler version 8.1.0b

I have been able to compile hdf5-1.8.9 with

CC=gcc
FC=lfc (lahey/fujitsu version 8.1.0b)

I have had to modify by hand the libtool file. I lack the expertise to modify the configure file so that the right libtool be created during the configuration step.

These are the changes I have had to do. They are expressed as a diff.

10253c10253
< pic_flag="-KPIC"

···

---

pic_flag=""

10256c10256
< wl="-Wl,"
---

wl=""

10259c10259
< link_static_flag="-static"
---

link_static_flag=""

Hi,

I have been using Lahey a little bit myself, and these changes look
strange when comparing to our setup.

With this version (lf95, V 6.2), these options which you have removed
are all valid (-KPIC, -Wl, -static) as far as I can see.

Did you try with FC=lf95? I do not have any binary called lfc in my
setup, so I don't really know if there is any difference.

Cheers,
Yngve

···

Den 19. juni 2013 11:30, skrev hierro:

I have been able to compile hdf5-1.8.9 with

CC=gcc
FC=lfc (lahey/fujitsu version 8.1.0b)

I have had to modify by hand the libtool file. I lack the expertise to
modify the configure file so that the right libtool be created during
the configuration step.

These are the changes I have had to do. They are expressed as a diff.

10253c10253
< pic_flag="-KPIC"
---

pic_flag=""

10256c10256
< wl="-Wl,"
---

wl=""

10259c10259
< link_static_flag="-static"
---

link_static_flag=""

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org