after configure gcc with: # configure --prefix=/usr/bin/gcc --enable-threads=posix I do: # make bootstrap and get the error message: # Make: line 1251: syntax error. Stop. the lines 1251 contain this information: # build machine's native compiler. .PHONY: $(ALL_BUILD_MODULES) $(ALL_BUILD_MODULES): dir=`echo $@ | sed -e 's/all-build-//'`; \ if [ -f ./$${dir}/Makefile ] ; then \ r=`pwd`; export r; \ s=`cd $(srcdir); pwd`; export s; \ (cd $(BUILD_SUBDIR)/$${dir} && $(MAKE) all); \ else \ true; \ fi
From <http://gcc.gnu.org/install/build.html>: We highly recommend that GCC be built using GNU make; other versions may work, then again they might not. GNU make is required for compiling GNAT (the Ada compiler) and the Java runtime library. Can you try using GNU make and get back to us?
Subject: RE: Can't make bootstrap on HPUX I was using GNU make -----Original Message----- From: pinskia at physics dot uc dot edu [mailto:gcc-bugzilla@gcc.gnu.org] Sent: Sunday, July 20, 2003 7:15 PM To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/11605] Can't make bootstrap on HPUX PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11605 pinskia at physics dot uc dot edu changed: What |Removed |Added ------------------------------------------------------------------------ ---- Status|UNCONFIRMED |WAITING ------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-20 16:14 ------- From <http://gcc.gnu.org/install/build.html>: We highly recommend that GCC be built using GNU make; other versions may work, then again they might not. GNU make is required for compiling GNAT (the Ada compiler) and the Java runtime library. Can you try using GNU make and get back to us?
I was making it with GNU make
From <http://gcc.gnu.org/install/configure.html>: First, we highly recommend that GCC be built into a separate directory than the sources which does not reside within the source tree. This is how we generally build GCC; buildingwhere srcdir == objdir should still work, but doesn't get extensive testing; building where objdir is a subdirectory of srcdir is unsupported. To configure GCC: % mkdir objdir % cd objdir % srcdir/configure [options] [target]
Also what version of GNU make are you using?
I was wrong. reCheck it and I'm using HP make. I also have already installed gcc 3.2 on my HPUX. I want it to be side by side. I did that side by side thing on my Linux machine and it worked just fine, but maybe it causes a problem here (I guess not because make bootstrap make the problem)
What you mean by "side by side"?
The problem was I used a wrong version of make. when I installed GNU make 3.8 it resolved. thanks for helping
Reopening to...
mark as invalid.