This is the mail archive of the gcc@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]

Re: gcc-64 on HP-UX 11.00


On Thu 11 Apr 2002 22:27, "John David Anglin" <dave@hiauly1.hia.nrc.ca> wrote:
> > > The results from previous executions of configure are kept in
> > > config.cache.  So, at a minimum, all config.cache files need to be
> > 
> > In which directory? In the src directory? Whoa, then I have to change my
> > scripts.
> > 
> > > removed before rerunning configure.
> 
> They are all in the build directory.
> 
> > 
> > Alternate solution. Temporary rename all GNU ld's so it cannot find them.
> > Would that help? or will it stop stage1/stage2?
> 
> You want to use HP ld for the entire first build.  If
> "--with-ld=/usr/ccs/bin/ld" is wrong, configure falls back to searching
> for an appropriate linker.  This could have been how you got the gnu
> linker again.  You should see the result of the selection in the
> configure output.  You can also see the DEFAULT_LINKER selected in
> gcc/config.status.  Renaming should work but it shouldn't be necessary.

a5:/pro/3gl/GNU/gcc 127 > cat Conf-64a
#!/usr/bin/sh

export LD_PXDB=/usr/bin/true

export CONFIG_SITE=
export CC="cc -Ae +DA2.0W"
export PATH=.:/usr/local/pa20_64/bin:/pro/local/bin
export PATH=$PATH"":/usr/bin:/opt/ansic/bin:/usr/ccs/bin:/opt/langtools/bin
export PATH=$PATH"":/opt/imake/bin

rm -rf obj
mkdir obj
cd obj
../src/configure \
    --enable-languages=c \
    --prefix=/usr/local/pa20_64 --with-local-prefix=/usr/local/pa20_64 \
    --with-gnu-as --with-as=/usr/local/pa20_64/bin/as \
    --with-ld=/usr/ccs/bin/ld \
    --disable-shared \
    --disable-nls \
    --host=hppa64-hp-hpux11.00

echo ""
echo "Now start 'Build-64'"
a5:/pro/3gl/GNU/gcc 128 > Conf-64a
*** This configuration is not supported in the following subdirectories:
     target-libffi target-boehm-gc target-zlib target-libjava target-libchill target-libstdc++-v3 target-libf2c zlib fastjar target-libobjc
    (Any other directories should still work fine.)
Created "Makefile" in /pro/3gl/GNU/gcc/obj using "mh-frag"
ld: (Warning) Can't exec pxdb using path: /usr/bin/true
Configuring libiberty...
creating cache ../config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for makeinfo... makeinfo
configure: warning: 
*** Makeinfo is too old. Info documentation will not be built.
checking for perl... perl
checking host system type... hppa64-hp-hpux11.00
checking build system type... hppa64-hp-hpux11.00
checking for ar... ar
checking for ranlib... ranlib
checking for gcc... cc -Ae +DA2.0W
checking whether we are using GNU C... no
checking for POSIXized ISC... no
checking for working const... yes
checking for inline... inline
checking for a BSD compatible install... /opt/imake/bin/install -c
checking how to run the C preprocessor... cc -Ae +DA2.0W -E
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for limits.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for unistd.h... yes
checking for strings.h... yes
checking for sys/time.h... yes
checking for time.h... yes
checking for sys/resource.h... yes
checking for sys/stat.h... yes
checking for sys/mman.h... yes
checking for fcntl.h... yes
checking for alloca.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether errno must be declared... no
checking for ANSI C header files... yes
checking for uintptr_t... yes
checking whether the C compiler (cc -Ae +DA2.0W -g ) works... yes
checking whether the C compiler (cc -Ae +DA2.0W -g ) is a cross-compiler... no
checking for asprintf... no
checking for atexit... yes
checking for basename... yes
checking for bcmp... yes
checking for bcopy... yes
checking for bsearch... yes
checking for bzero... yes
checking for calloc... yes
checking for clock... yes
checking for ffs... yes
checking for getcwd... yes
checking for getpagesize... yes
checking for index... yes
checking for insque... yes
checking for memchr... yes
checking for memcmp... yes
checking for memcpy... yes
checking for memmove... yes
checking for memset... yes
checking for mkstemps... no
checking for putenv... yes
checking for random... yes
checking for rename... yes
checking for rindex... yes
checking for setenv... no
checking for sigsetmask... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtod... yes
checking for strtol... yes
checking for strtoul... yes
checking for tmpnam... yes
checking for vasprintf... no
checking for vfprintf... yes
checking for vprintf... yes
checking for vsprintf... yes
checking for waitpid... yes
checking whether alloca needs Cray hooks... no
checking stack direction for C alloca... 1
checking for pid_t... yes
checking for vfork.h... no
checking for working vfork... yes
checking for _doprnt... yes
checking for sys_errlist... yes
checking for sys_nerr... yes
checking for sys_siglist... no
checking for getrusage... yes
checking for on_exit... no
checking for psignal... no
checking for strerror... yes
checking for strsignal... no
checking for sysconf... yes
checking for times... yes
checking for sbrk... yes
checking for gettimeofday... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... yes
checking for getpagesize... (cached) yes
checking for working mmap... no
checking for working strncmp... yes
updating cache ../config.cache
creating ./config.status
creating Makefile
creating testsuite/Makefile
creating config.h
Configuring gcc...
loading cache ../config.cache
checking LIBRARY_PATH variable... ok
checking GCC_EXEC_PREFIX variable... ok
checking host system type... hppa64-hp-hpux11.00
checking target system type... hppa64-hp-hpux11.00
checking build system type... hppa64-hp-hpux11.00
checking for gcc... (cached) cc -Ae +DA2.0W
checking whether the C compiler (cc -Ae +DA2.0W -g ) works... yes
checking whether the C compiler (cc -Ae +DA2.0W -g ) is a cross-compiler... no
checking whether we are using GNU C... (cached) no
checking whether cc -Ae +DA2.0W accepts -g... yes
checking whether cc -Ae +DA2.0W and cc understand -c and -o together... yes
checking whether cc -Ae +DA2.0W accepts -Wno-long-long... yes
checking how to run the C preprocessor... (cached) cc -Ae +DA2.0W -E
checking for inline... (cached) inline
checking for volatile... yes
checking for long double... yes
checking for long long int... yes
checking for __int64... no
checking for built-in _Bool... yes
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking execution character set... ASCII
checking whether make sets ${MAKE}... yes
checking whether a default assembler was specified... yes (/usr/local/pa20_64/bin/as - GNU as)
checking whether a default linker was specified... yes (/usr/ccs/bin/ld)
checking for GNU C library... no
checking for gawk... gawk
checking whether ln works... yes
checking whether ln -s works... yes
checking for ranlib... (cached) ranlib
checking for a BSD compatible install... (cached) /opt/imake/bin/install -c
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for working stdbool.h... yes
checking whether string.h and strings.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for limits.h... (cached) yes
checking for stddef.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for time.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/file.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sys/times.h... yes
checking for sys/stat.h... (cached) yes
checking for direct.h... no
checking for malloc.h... yes
checking for langinfo.h... yes
checking for thread.h... no
checking for pthread.h... yes
checking for CHAR_BIT... yes
checking byte ordering... big-endian
checking floating point format... IEEE (big-endian)
checking for gnatbind... no
checking for compiler driver that understands Ada... cc
checking for mktemp... yes
checking for makeinfo... (cached) makeinfo
checking for modern makeinfo... no
configure: warning: 
*** Makeinfo is missing or too old.
*** Info documentation will not be built.
checking for recent Pod::Man... yes
checking for flex... flex
checking for bison... bison
checking for collect2 libraries... none required
checking for library containing exc_resume... no
checking for preprocessor stringizing operator... yes
checking for inttypes.h... yes
checking for times... (cached) yes
checking for clock... (cached) yes
checking for dup2... yes
checking for kill... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for atoll... no
checking for atoq... no
checking for sysconf... (cached) yes
checking for strsignal... (cached) no
checking for putc_unlocked... yes
checking for fputc_unlocked... no
checking for fputs_unlocked... no
checking for fwrite_unlocked... no
checking for fprintf_unlocked... no
checking for getrusage... (cached) yes
checking for nl_langinfo... yes
checking for lstat... yes
checking for ssize_t... yes
checking for uid_t in sys/types.h... yes
checking type of array argument to getgroups... gid_t
checking whether the printf functions support %p... yes
checking for pid_t... (cached) yes
checking for vfork.h... (cached) no
checking for working vfork... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap from /dev/zero... no
checking for working mmap with MAP_ANON(YMOUS)... yes
checking for working mmap of a file... yes
checking for iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking whether getenv is declared... yes
checking whether atol is declared... yes
checking whether sbrk is declared... yes
checking whether abort is declared... yes
checking whether atof is declared... yes
checking whether getcwd is declared... yes
checking whether getwd is declared... yes
checking whether strsignal is declared... yes
checking whether putc_unlocked is declared... no
checking whether fputs_unlocked is declared... no
checking whether fwrite_unlocked is declared... no
checking whether fprintf_unlocked is declared... no
checking whether strstr is declared... yes
checking whether errno is declared... yes
checking whether malloc is declared... yes
checking whether realloc is declared... yes
checking whether calloc is declared... yes
checking whether free is declared... yes
checking whether basename is declared... no
checking whether getopt is declared... yes
checking whether clock is declared... yes
checking whether getrlimit is declared... yes
checking whether setrlimit is declared... yes
checking whether getrusage is declared... yes
checking whether times is declared... yes
checking for struct tms... yes
checking for clock_t... yes
checking if mkdir takes one argument... no
Using `../../src/gcc/config/pa/pa.c' for machine-specific logic.
Using `../../src/gcc/config/pa/pa.md' as machine description file.
Using the following target machine macro files:
	../../src/gcc/config/pa/pa64-start.h
	../../src/gcc/config/pa/pa.h
	../../src/gcc/config/pa/pa64-regs.h
	../../src/gcc/config/pa/long_double.h
	../../src/gcc/config/pa/elf.h
	../../src/gcc/config/pa/pa-hpux.h
	../../src/gcc/config/pa/pa-hpux11.h
	../../src/gcc/config/pa/pa-64.h
	../../src/gcc/config/pa/pa64-hpux.h
checking for library containing strerror... none required
checking for working const... (cached) yes
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... (cached) yes
checking for alloca... yes
checking whether we are using the GNU C Library 2.1 or newer... no
checking for argz.h... no
checking for limits.h... (cached) yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... (cached) yes
checking for stddef.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for feof_unlocked... no
checking for fgets_unlocked... no
checking for getcwd... (cached) yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... no
checking for munmap... yes
checking for putenv... (cached) yes
checking for setenv... (cached) no
checking for setlocale... yes
checking for stpcpy... no
checking for strchr... (cached) yes
checking for strcasecmp... (cached) yes
checking for strdup... (cached) yes
checking for strtoul... (cached) yes
checking for tsearch... yes
checking for __argz_count... no
checking for __argz_stringify... no
checking for __argz_next... no
checking for iconv... (cached) yes
checking for iconv declaration... (cached) 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... no
checking for bison... bison
checking version of bison... 1.34, ok
checking what assembler to use... /usr/local/pa20_64/bin/as
checking what linker to use... /usr/ccs/bin/ld
checking what nm to use... nm
checking what objdump to use... objdump
checking assembler alignment features... .p2align including maximum skip
checking assembler subsection support... working .subsection -1
checking assembler weak support... yes
checking assembler hidden support... yes
checking assembler leb128 support... yes
checking assembler eh_frame optimization... yes
checking assembler section merging support... no
checking assembler dwarf2 debug_line support... no
checking assembler --gdwarf2 support... no
checking assembler --gstabs support... no
checking linker PT_GNU_EH_FRAME support... no
Using ggc-page for garbage collection.
checking whether to enable maintainer-specific portions of Makefiles... no
Links are now set up to build a native compiler for hppa64-hp-hpux11.00
updating cache ../config.cache
creating ./config.status
creating Makefile
creating intl/Makefile
creating fixinc/Makefile
creating gccbug
creating mklibgcc
creating auto-host.h

Now start 'Build-64'
a5:/pro/3gl/GNU/gcc 129 > grep DEFAULT_LINKER obj/gcc/config.status
${ac_dA}DEFAULT_LINKER${ac_dB}DEFAULT_LINKER${ac_dC}"/usr/ccs/bin/ld"${ac_dD}
${ac_uA}DEFAULT_LINKER${ac_uB}DEFAULT_LINKER${ac_uC}"/usr/ccs/bin/ld"${ac_uD}
${ac_eA}DEFAULT_LINKER${ac_eB}DEFAULT_LINKER${ac_eC}"/usr/ccs/bin/ld"${ac_eD}
a5:/pro/3gl/GNU/gcc 130 > cat Build-64a
#!/usr/bin/sh

export LD_PXDB=/usr/bin/true

export CONFIG_SITE=
export CC="cc -Ae +DA2.0W"
export PATH=.:/usr/local/pa20_64/bin:/pro/local/bin
export PATH=$PATH"":/usr/bin:/opt/ansic/bin:/usr/ccs/bin:/opt/langtools/bin
export PATH=$PATH"":/opt/imake/bin

cd obj
make bootstrap-lean
a5:/pro/3gl/GNU/gcc 131 > Build-64a
:
:
make[3]: Entering directory `/pro/3gl/GNU/gcc/obj/gcc'
for d in libgcc; do \
  if [ -d $d ]; then true; else /bin/sh ../../src/gcc/mkinstalldirs $d; fi; \
done
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
make[3]: Leaving directory `/pro/3gl/GNU/gcc/obj/gcc'
make[2]: Leaving directory `/pro/3gl/GNU/gcc/obj/gcc'
make[1]: Leaving directory `/pro/3gl/GNU/gcc/obj'
a5:/pro/3gl/GNU/gcc 132 > banner ':-)'
                  ##
   ##               #
   ##                #
         #####       #
                     #
   ##               #
   ##             ##

a5:/pro/3gl/GNU/gcc 133 > cat Install-64a
#!/usr/bin/sh

export LD_PXDB=/usr/bin/true

export CONFIG_SITE=
export CC="cc -Ae +DA2.0W"
export PATH=.:/usr/local/pa20_64/bin:/pro/local/bin
export PATH=$PATH"":/usr/bin:/opt/ansic/bin:/usr/ccs/bin:/opt/langtools/bin
export PATH=$PATH"":/opt/imake/bin

cd obj
make install
a5:/pro/3gl/GNU/gcc 134 > Install-64a
:
a5:/pro/3gl/GNU/gcc 135 > file /wrk/pa20_64/bin/gcc
/wrk/pa20_64/bin/gcc:   ELF-64 executable object file - PA-RISC 2.0 (LP64)
a5:/pro/3gl/GNU/gcc 136 > ll /wrk/pa20_64/bin/gcc
    558 -rwxr-xr-x   2 merijn   softwr     606200 Apr 12 11:34 /wrk/pa20_64/bin/gcc
a5:/pro/3gl/GNU/gcc 137 > /wrk/pa20_64/bin/gcc --version
gcc (GCC) 3.1 20020408 (prerelease)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

a5:/pro/3gl/GNU/gcc 138 >


-- 
H.Merijn Brand        Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using perl-5.6.1, 5.7.3 & 631 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
  WinNT 4, Win2K pro & WinCE 2.11.  Smoking perl CORE: smokers@perl.org
http://archives.develooper.com/daily-build@perl.org/   perl-qa@perl.org
send smoke reports to: smokers-reports@perl.org, QA: http://qa.perl.org


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