Re: compiling gcc 4.3.2 on hpux 10.20: no target 'all'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



omar_zakaria@xxxxxxxxxxx wrote:

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.

The 'config.log' could tell what was thought about the host and target.

My own attitude is that "computers are stupid and should not let guess
anything" :) So nowadays I always tell all the three systems, mainly
because I build only crosscompilers, never any native ones. And not
much for the current (temporary) installed system but for "more wide
audience" (should run on older systems too)...

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.

For pure curiosity I tried a cross-GCC for the 'hppa1.1-hp-hpux10.20'
target yesterday evening and got :

[root@Dell gcc]# pwd
/data1/home/src/gcc-4.3.2/build/gcc
[root@Dell gcc]# ./xgcc -v
Using built-in specs.
Target: hppa1.1-hp-hpux10.20
Configured with: ../configure --build=i686-linux-gnu --host=i686-linux-gnu --target=hppa1.1-hp-hpux10.20 --enable-languages=c,c++ --enable-objc-gc
Thread model: single
gcc version 4.3.2 (GCC)

(the build stopped after 'gcc' when I had no target binutils, headers or
libs for this target)

which tells that this target name passed OK into 'gcc' and resulted
producing GCC binaries there...

Maybe you should check those "Prerequisites" for GCC installation:
GNU make, working 'sh' like 'bash', working 'tar' (errors in unpacking
the GCC sources) etc. As a Linux-user it is easy to forget that not
everyone has 'bash', 'GNU make', 'GNU tar' etc. And new enough versions
for them....


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux