This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Can't use make with crosstool-NG


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]