This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

[Bug ada/24946] [4.1/4.2 Regression] make[7]: rc: Command not found



------- Comment #1 from charlet at gcc dot gnu dot org  2005-11-21 09:43 -------
I got a bugzilla internal error when trying to attach a proposed
patch, so here it is inline (be careful with tabs and spaces,
I'd suggest applying the patch manually):

<<
--- libada/Makefile.in.orig     2005-11-21 04:34:39.422364000 -0500
+++ libada/Makefile.in  2005-11-21 04:34:17.812698000 -0500
@@ -75,6 +75,9 @@
         "prefix=$(prefix)" \
         "STAGE_PREFIX=$(STAGE_PREFIX)" \
        "CC=$(host_cc_for_libada)" \
+       "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
+       "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
+       "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
         "CFLAGS=$(CFLAGS) $(WARN_CFLAGS)"

 # Rules to build gnatlib.
>>

Apparently the libada Makefile is not passing some variables to ada/Makefile
properly, so this patch might address the problem you are seeing.
Not clear why we are not seeing this problem on other platforms so far
though.

Arno


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24946


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