Bug 11605 - Can't make bootstrap on HPUX
Summary: Can't make bootstrap on HPUX
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: bootstrap (show other bugs)
Version: 3.2.2
: P2 critical
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-20 15:55 UTC by liad
Modified: 2005-07-23 22:49 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description liad 2003-07-20 15:55:09 UTC
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
Comment 1 Andrew Pinski 2003-07-20 16:14:45 UTC
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?
Comment 2 liad 2003-07-20 16:19:02 UTC
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?
Comment 3 liad 2003-07-20 16:21:12 UTC
I was making it with GNU make
Comment 4 Andrew Pinski 2003-07-20 16:28:09 UTC
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]
Comment 5 Andrew Pinski 2003-07-20 16:31:48 UTC
Also what version of GNU make are you using?
Comment 6 liad 2003-07-20 16:54:43 UTC
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)
Comment 7 Andrew Pinski 2003-07-20 17:59:45 UTC
What you mean by "side by side"?
Comment 8 liad 2003-07-30 07:03:26 UTC
The problem was I used a wrong version of make. when I installed GNU make 3.8 
it resolved. thanks for helping
Comment 9 Dara Hazeghi 2003-12-09 18:07:24 UTC
Reopening to...
Comment 10 Dara Hazeghi 2003-12-09 18:08:04 UTC
mark as invalid.