rtems-cvs toolchain
Alan Cudmore
Alan.P.Cudmore at nasa.gov
Wed Apr 23 12:54:31 UTC 2008
I updated my macports database:
$ sudo port selfupdate
and now I have the latest version of mpfr and gmp for building GCC 4.3.0
These libraries can be installed by using the command:
$ sudo port install gmp mpfr
When configuring the GCC source, you can specify the location where
macports puts the libraries.
--with-gmp=/opt/local --with-mpfr=/opt/local
macports also has autoconf 2.61 and automake 1.10.1
So OS X 10.4 users can get nearly anything they need by installing
the packages from macports.
I will be able to try building on 10.5 soon.
Alan
On Apr 23, 2008, at 7:34 AM, Alan Cudmore wrote:
> On OS X 10.4.x there are no gmp or mpfr packages installed on the
> base OS.
>
> I often use macports ( http://www.macports.org ) to install libraries
> that are needed. In this case they had gmp, but mpfr was not new
> enough, so I had to build and install it from source.
>
> Alan
>
> On Apr 23, 2008, at 4:54 AM, Ralf Corsepius wrote:
>
>>
>> On Tue, 2008-04-22 at 11:34 -0600, Daron Chabot wrote:
>>
>>>>> I unpacked the mpfr and gmp sources and then created
>>>>> symlinks from the gcc-4.3.0 topdir
>>>>>
>>>>> ln ../mpfr-2.3.1 ./mpfr
>>>>> ln ../gmp-4.2.2 ./gmp
>>>>>
>>>>> and then it built fine (linux-x86_64 host, powerpc-rtems target)
>>>
>>> Yes: giving mpfr and gmp the same sym-link treatment as newlib
>>> works.
>>
>> Question: Are there no vendor supplied binaries for gmp (could be
>> called
>> libgmp or similar) on OSX?
>>
>> Even ancient, utterly out-dated Linux-distros and Cygwin has them.
>>
>> mpfr however is a wider problem. Hardly any OS has a sufficient
>> version.
>>
>> Ralf
>>
>>
>> _______________________________________________
>> rtems-users mailing list
>> rtems-users at rtems.com
>> http://rtems.rtems.org/mailman/listinfo/rtems-users
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users
More information about the users
mailing list