librefprop.so icon indicating copy to clipboard operation
librefprop.so copied to clipboard

-m32 causes crash on arm processors

Open ericksonla opened this issue 8 years ago • 3 comments

gfortran on arm processors doesn't like the -m32 flag. It causes 'gfortran: error: unrecognized command line option ‘-m32’'. I was able to solve it by commenting on the like in the Makefile where it is set, ARCHFLAG :=-m32.

ericksonla avatar Jun 21 '17 22:06 ericksonla

Good to hear that you solved it yourself. Would you be able to file a pull request that detects the architecture automatically?

jowr avatar Jun 22 '17 06:06 jowr

Unfortunately, I have no idea how to do that. My goal was mostly to have this information posted so that others could find it and solve it the same way if necessary. And, frankly, I'm going to forget and need to do it again in the future, so I wanted the info available for myself.

ericksonla avatar Jun 22 '17 13:06 ericksonla

You might want to use https://github.com/usnistgov/REFPROP-cmake . There is a flag to set the bitness.

ibell avatar Nov 18 '17 18:11 ibell