Re: [uClinux-dev] out-of-date libgmp / building for M5208

2016-03-10 Thread Andrew Cagney
>> I've had no luck with this. Hmm, perhaps my build works because I'm >> using the C file: >> >> gmp-6.1.0/mpn/add_n.c -> ../mpn/generic/add_n.c >> >> but arm would be trying to build the assembler instead. > > So you didn't try to build for any other architecture? Well I did try building

Re: [uClinux-dev] out-of-date libgmp / building for M5208

2016-02-14 Thread Greg Ungerer
On 13/02/16 11:55, Andrew Cagney wrote: > FYI, > > I've attached a simpler Kconfig and makefile. However, > > On 15 December 2015 at 00:32, Greg Ungerer wrote: >> Hi Andrew, >> >> On 15/12/15 02:11, Andrew Cagney wrote: >>> On 13 December 2015 at 20:35, Greg Ungerer

Re: [uClinux-dev] out-of-date libgmp / building for M5208

2016-02-12 Thread Andrew Cagney
FYI, I've attached a simpler Kconfig and makefile. However, On 15 December 2015 at 00:32, Greg Ungerer wrote: > Hi Andrew, > > On 15/12/15 02:11, Andrew Cagney wrote: >> On 13 December 2015 at 20:35, Greg Ungerer wrote: >>> On 12/12/15 03:03, Andrew Cagney

Re: [uClinux-dev] out-of-date libgmp / building for M5208

2015-12-14 Thread Andrew Cagney
On 13 December 2015 at 23:32, Greg Ungerer wrote: > Hi Andrew, > > On 14/12/15 12:18, Andrew Cagney wrote: >> On 13 December 2015 at 19:43, Greg Ungerer wrote: >>> Hi Andrew, >>> >>> On 12/12/15 03:03, Andrew Cagney wrote: I came up with the attached.

Re: [uClinux-dev] out-of-date libgmp / building for M5208

2015-12-14 Thread Greg Ungerer
Hi Andrew, On 15/12/15 02:11, Andrew Cagney wrote: > On 13 December 2015 at 20:35, Greg Ungerer wrote: >> On 12/12/15 03:03, Andrew Cagney wrote: >>> I came up with the attached. The existing libgmp configuration in >>> lib/Kconfig would need removing. >> >> Just a heads up...

Re: [uClinux-dev] out-of-date libgmp / building for M5208

2015-12-13 Thread Greg Ungerer
Hi Andrew, On 12/12/15 03:03, Andrew Cagney wrote: > I came up with the attached. The existing libgmp configuration in > lib/Kconfig would need removing. I would suggest not bothering to make it a menu on its own. And the config entry for LIB_LIBGMP_DISABLE_ASSEMBLY should have a "depends on

Re: [uClinux-dev] out-of-date libgmp / building for M5208

2015-12-13 Thread Greg Ungerer
Hi Andrew, On 12/12/15 03:03, Andrew Cagney wrote: > I came up with the attached. The existing libgmp configuration in > lib/Kconfig would need removing. Just a heads up... But some other targets in the tree that currently have libgmp enabled no longer compile with this in place. For example

Re: [uClinux-dev] out-of-date libgmp / building for M5208

2015-12-13 Thread Andrew Cagney
On 13 December 2015 at 19:43, Greg Ungerer wrote: > Hi Andrew, > > On 12/12/15 03:03, Andrew Cagney wrote: >> I came up with the attached. The existing libgmp configuration in >> lib/Kconfig would need removing. > > I would suggest not bothering to make it a menu on its own. >

Re: [uClinux-dev] out-of-date libgmp / building for M5208

2015-12-13 Thread Greg Ungerer
Hi Andrew, On 14/12/15 12:18, Andrew Cagney wrote: > On 13 December 2015 at 19:43, Greg Ungerer wrote: >> Hi Andrew, >> >> On 12/12/15 03:03, Andrew Cagney wrote: >>> I came up with the attached. The existing libgmp configuration in >>> lib/Kconfig would need removing. >> >> I

Re: [uClinux-dev] out-of-date libgmp / building for M5208

2015-12-11 Thread Andrew Cagney
I came up with the attached. The existing libgmp configuration in lib/Kconfig would need removing. On 9 December 2015 at 17:35, David McCullough wrote: > > Andrew Cagney wrote the following: >> On 8 December 2015 at 07:03, Greg Ungerer wrote: >> > Hi

Re: [uClinux-dev] out-of-date libgmp / building for M5208

2015-12-09 Thread Andrew Cagney
On 8 December 2015 at 07:03, Greg Ungerer wrote: > Hi Andrew, > > On 08/12/15 04:23, Andrew Cagney wrote: >> >> The libgmp bundled with uClinux, by default, doesn't build for the >> M5208 - the m68k assembler uses instructions dropped from early >> Coldfires. >> The hack I'm

Re: [uClinux-dev] out-of-date libgmp / building for M5208

2015-12-09 Thread David McCullough
Andrew Cagney wrote the following: > On 8 December 2015 at 07:03, Greg Ungerer wrote: > > Hi Andrew, > > > > On 08/12/15 04:23, Andrew Cagney wrote: > >> > >> The libgmp bundled with uClinux, by default, doesn't build for the > >> M5208 - the m68k assembler uses instructions

Re: [uClinux-dev] out-of-date libgmp / building for M5208

2015-12-08 Thread Greg Ungerer
Hi Andrew, On 08/12/15 04:23, Andrew Cagney wrote: The libgmp bundled with uClinux, by default, doesn't build for the M5208 - the m68k assembler uses instructions dropped from early Coldfires. The hack I'm using locally is to configure with --host=none (I got this trick second hand from