public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* Can't use make with crosstool-NG
@ 2013-12-07 13:31 George Bateman
  2013-12-07 14:04 ` Ray Donnelly
  0 siblings, 1 reply; 3+ messages in thread
From: George Bateman @ 2013-12-07 13:31 UTC (permalink / raw)
  To: crossgcc

OS: Win XP SP3
Cygwin
I am attempting to follow the instructions to build a cross-compiler
for the Raspberry Pi given at
http://www.bootc.net/archives/2012/05/26/how-to-build-a-cross-compiler-for-your-raspberry-pi/
and have succeeded in running ./configure --prefix=/opt/cross after
repeatedly running it, looking at the error, and installing the
relevant piece of stuff from Cygwin. Now, however, when I run make, I
get:
Makefile:115: *** Recursion detected, bailing out....  Stop.
Makefile:120: recipe for target 'build' failed
make: *** [build] Error 2

I attempted to modify Makefile to allow MAKELEVEL==1. It was my first
ever makefile editing, so there's no guarantee it was correct - the
code was
ifneq ($(MAKELEVEL),0)
ifneq ($(MAKELEVEL),1)
$(error Recursion detected, bailing out...)
endif
endif

I got the new error:
Makefile:116: *** Recursion detected, bailing out....  Stop.
Makefile:122: recipe for target 'build' failed
make[1]: *** [build] Error 2
Makefile:122: recipe for target 'build' failed
make: *** [build] Error 2

and I am now lost. Could you explain what went wrong?

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Can't use make with crosstool-NG
  2013-12-07 13:31 Can't use make with crosstool-NG George Bateman
@ 2013-12-07 14:04 ` Ray Donnelly
  2013-12-08 14:11   ` George Bateman
  0 siblings, 1 reply; 3+ messages in thread
From: Ray Donnelly @ 2013-12-07 14:04 UTC (permalink / raw)
  To: George Bateman; +Cc: crossgcc

That *should* be fixed in crosstool-ng 1.19.0, please try that without
your edit if you haven't done so already:

        [3223] Allow reordered MAKEFLAGS

I am working in a fork of crosstool-ng at the minute and am currently
trying to build raspi cross compilers that are hosted on native
Windows instead of on Cygwin; I will keep you posted.

On Sat, Dec 7, 2013 at 1:31 PM, George Bateman
<georgebateman16@gmail.com> wrote:
> OS: Win XP SP3
> Cygwin
> I am attempting to follow the instructions to build a cross-compiler
> for the Raspberry Pi given at
> http://www.bootc.net/archives/2012/05/26/how-to-build-a-cross-compiler-for-your-raspberry-pi/
> and have succeeded in running ./configure --prefix=/opt/cross after
> repeatedly running it, looking at the error, and installing the
> relevant piece of stuff from Cygwin. Now, however, when I run make, I
> get:
> Makefile:115: *** Recursion detected, bailing out....  Stop.
> Makefile:120: recipe for target 'build' failed
> make: *** [build] Error 2
>
> I attempted to modify Makefile to allow MAKELEVEL==1. It was my first
> ever makefile editing, so there's no guarantee it was correct - the
> code was
> ifneq ($(MAKELEVEL),0)
> ifneq ($(MAKELEVEL),1)
> $(error Recursion detected, bailing out...)
> endif
> endif
>
> I got the new error:
> Makefile:116: *** Recursion detected, bailing out....  Stop.
> Makefile:122: recipe for target 'build' failed
> make[1]: *** [build] Error 2
> Makefile:122: recipe for target 'build' failed
> make: *** [build] Error 2
>
> and I am now lost. Could you explain what went wrong?
>
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
>

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Can't use make with crosstool-NG
  2013-12-07 14:04 ` Ray Donnelly
@ 2013-12-08 14:11   ` George Bateman
  0 siblings, 0 replies; 3+ messages in thread
From: George Bateman @ 2013-12-08 14:11 UTC (permalink / raw)
  To: Ray Donnelly; +Cc: crossgcc

Thanks very much. I saw a notice at the top saying 18 was current, so
I ignored 19.

On 7 December 2013 14:04, Ray Donnelly <mingw.android@gmail.com> wrote:
> That *should* be fixed in crosstool-ng 1.19.0, please try that without
> your edit if you haven't done so already:
>
>         [3223] Allow reordered MAKEFLAGS
>
> I am working in a fork of crosstool-ng at the minute and am currently
> trying to build raspi cross compilers that are hosted on native
> Windows instead of on Cygwin; I will keep you posted.
>
> On Sat, Dec 7, 2013 at 1:31 PM, George Bateman
> <georgebateman16@gmail.com> wrote:
>> OS: Win XP SP3
>> Cygwin
>> I am attempting to follow the instructions to build a cross-compiler
>> for the Raspberry Pi given at
>> http://www.bootc.net/archives/2012/05/26/how-to-build-a-cross-compiler-for-your-raspberry-pi/
>> and have succeeded in running ./configure --prefix=/opt/cross after
>> repeatedly running it, looking at the error, and installing the
>> relevant piece of stuff from Cygwin. Now, however, when I run make, I
>> get:
>> Makefile:115: *** Recursion detected, bailing out....  Stop.
>> Makefile:120: recipe for target 'build' failed
>> make: *** [build] Error 2
>>
>> I attempted to modify Makefile to allow MAKELEVEL==1. It was my first
>> ever makefile editing, so there's no guarantee it was correct - the
>> code was
>> ifneq ($(MAKELEVEL),0)
>> ifneq ($(MAKELEVEL),1)
>> $(error Recursion detected, bailing out...)
>> endif
>> endif
>>
>> I got the new error:
>> Makefile:116: *** Recursion detected, bailing out....  Stop.
>> Makefile:122: recipe for target 'build' failed
>> make[1]: *** [build] Error 2
>> Makefile:122: recipe for target 'build' failed
>> make: *** [build] Error 2
>>
>> and I am now lost. Could you explain what went wrong?
>>
>> --
>> For unsubscribe information see http://sourceware.org/lists.html#faq
>>

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-12-08 14:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-07 13:31 Can't use make with crosstool-NG George Bateman
2013-12-07 14:04 ` Ray Donnelly
2013-12-08 14:11   ` George Bateman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).