[RPL/2] Fwd: compilation failure mac os x 10.9

BERTRAND Joël joel.bertrand at systella.fr
Tue Dec 10 09:31:14 CET 2013


ur2c at me.com a écrit :
>> From: BERTRAND Joël
>> Subject: Re: compilation failure mac os x 10.9
>> Date: 2013-12-09=2 at 13:17'37 -0200
>> To: ur2c
>>
>> ur2c a écrit :
>>> Hello
>>
>> 	Hello,
>>
>>> I’m an old-time HP calc user who found your RPL/2 this morning.
>>>
>>> I downloaded rpl-4.1.16.tar.bz2 to a MacBook Air running under OS X 10.9; ran ./config and then make. The process stopped with this:
>>>
>>> ---
>>> gcc -O3  -DHAVE_HIDDEN -o minigzip minigzip.o -L. libz.a
>>> (cd ./lapack/lapack&&   /Applications/Xcode.app/Contents/Developer/usr/bin/make )
>>>    F77      liblapack_a-iparmq.o
>>> f951: error: unrecognized command line option "-mieee"
>>> make[2]: *** [liblapack_a-iparmq.o] Error 1
>>> make[1]: *** [lapack/lapack/liblapack.a] Error 2
>>> make: *** [all] Error 2
>>>>>>
>>> Hoping that a daily version would have solved the problem, I downloaded rpl-4.1.17-daily-20131209.tar.bz2 to do the same. It stopped the same way.
>>
>> 	What is your compiler ? I've only tested with gcc-4.2/g++-4.2 and gfortran-4.2 on MacOS X. I don't have any MasOS X workstation anymore.
>
> $ gcc --version
> Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1
> Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
> Target: x86_64-apple-darwin13.0.0
> Thread model: posix
>
> $ gfortran --version
> GNU Fortran (GCC) 4.2.3

	I haven't tried to build RPL/2 with a mix between LLVM and gfortran.

>> 	This bug comes only if your gcc compiler accepts -mieee and if your gfortran doesn't. Normally, if gcc, g++ and gfortran come from the same gcc releases, all frontends accept the same options.
>>
>> Quick an dirty fix : remove _all_ -mieee from main Makefile after configuration.
>
> I’ve tried it but didn’t work.

	Maybe, but what is the error ? You can remove all -mieee from 
configure.ac, run autogen.sh and redo configuration also.

	Regards,

	JKB


More information about the RPL2 mailing list