compiling gcc 4.3.2 on hpux 10.20: no target 'all'
omar_zakaria@agilent.com
omar_zakaria@agilent.com
Tue Jan 27 00:18:00 GMT 2009
> -----Original Message-----
> From: Kai Ruottu [mailto:kai.ruottu@wippies.com]
> Sent: Monday, January 26, 2009 3:15 PM
> To: ZAKARIA,OMAR (A-USA,ex1)
> Cc: gcc-help@gcc.gnu.org
> Subject: Re: compiling gcc 4.3.2 on hpux 10.20: no target 'all'
>
> omar_zakaria@agilent.com wrote:
>
> > I'm trying to compile gcc 4.3.2 on hpux 10.20 (hppa1.1)
> > and I'm running into a frustrating problem. Initially,
> > compilation proceeds normally, but when the make process
> > reaches the gcc directory, it complains that there is
> > no rule to make target 'all' -- for some reason, there
> > is no makefile in the gcc directory, whereas there is
> > one for the other targets like zlib and libcpp.
> >
> > I don't think my configure process is creating the
> > appropriate makefile, but not I'm sure how to force it
> > to do so.
> >
> > Here's how I called "configure" from my build directory:
> >
> > ./gcc_4_3_2_release/configure --prefix=$MY_INSTALL \
> > --build=hppa1.1-hp-hpux10.20 \
>
> Ok, the $build system must not be "guessed" but what about
> the $host and $target system ? What does the command:
>
> ./config.guess
>
> tell when run in the "gcc_4_3_2_release" main src directory?
> Is the guessed system name among the "supported" in 'configure'?
config.guess reports that my system is an hppa2.0-hp-hpux10.20 machine. However, I would like to build gcc using hppa1.1-hp-hpux10.20, which I believe is supported. The configure script's documentation says that the host and target systems will default to the build system unless otherwise specified.
> > gmake[3]: Leaving directory `gcc_4_3_2_binaries/libdecnumber'
> > gmake[3]: Entering directory `gcc_4_3_2_binaries/gcc'
> > gmake[3]: *** No rule to make target `all'. Stop.
> >
> > The listing for host-hppa1.1-hp-hpux10.20/gcc is merely:
> > config.cache config.log configargs.h
>
> If there is no Makefile, maybe the reason is that your $target
> system (guessed) wasn't known in the 'gcc/config.gcc'...
Gcc/config.gcc seems to have an entry for hppa1.1-hp-hpux10.20 (line 970, 'hppa[12]*-*-hpux10*' is a case that matches), so presumably it should configure itself correctly.
> > Does anyone have an idea as to what's going on?
>
> Just check the "guessed name" and if it is something odd, then
> just tell what the $host and $target system are, like you told
> the $build one :
>
> --host=hppa1.1-hp-hpux10.20 --target=hppa1.1-hp-hpux10.20
>
> in the GCC configure...
I guess this is worth a shot regardless, so I'll try it. Thanks! I'll let you know if it works.
--
Omar
More information about the Gcc-help
mailing list