This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
make gcc-2.95.2 fails; missing autoconf
- To: bug-gcc at gnu dot org
- Subject: make gcc-2.95.2 fails; missing autoconf
- From: Trevin Beattie <trevin at eyring dot com>
- Date: Fri, 28 Jan 2000 12:40:02 -0700
Host system:
nanook:gcc% uname -v
NetBSD 1.4.1 (NANOOK) #4: Fri Nov 19 11:21:23 MST 1999
trevin@nanook:/usr/src/sys/arch/i386/compile/NANOOK
Build tools:
nanook:gcc% gcc --version
egcs-1.1.1
nanook:gcc% make --version
GNU Make version 3.77, by Richard Stallman and Roland McGrath.
Trying to build:
gcc-2.95.2 (cross-compiler)
configure options:
--with-gnu-as --with-gnu-ld --with-stabs --disable-languages
--prefix=/home/trevin/eyrx --with-local-prefix=/home/trevin/eyrx
--enable-threads=no --target=i586-eyrx-coff --host=i586-pc-netbsd1.4.1
customization:
*** gcc/tm.h.~1~ Fri Jan 28 11:14:36 2000
--- gcc/tm.h Fri Jan 28 11:19:24 2000
***************
*** 3,7 ****
#include "gansidecl.h"
#endif
#ifdef IN_GCC
! #include "i386/i386-coff.h"
#endif
--- 3,7 ----
#include "gansidecl.h"
#endif
#ifdef IN_GCC
! #include "i386/eyrx.h"
#endif
(see attached file eyrx.h)
make options: (none)
make error:
make[1]: Entering directory `/home/trevin/Gnu/gcc-2.95.2-build/libiberty'
...
make[2]: Entering directory
`/home/trevin/Gnu/gcc-2.95.2-build/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/home/trevin/Gnu/gcc-2.95.2-build/libiberty/testsuite'
make[1]: Leaving directory `/home/trevin/Gnu/gcc-2.95.2-build/libiberty'
make[1]: Entering directory `/home/trevin/Gnu/gcc-2.95.2-build/texinfo'
make all-recursive
make[2]: Entering directory `/home/trevin/Gnu/gcc-2.95.2-build/texinfo'
Making all in intl
make[3]: Entering directory `/home/trevin/Gnu/gcc-2.95.2-build/texinfo/intl'
...
make[3]: Leaving directory `/home/trevin/Gnu/gcc-2.95.2-build/texinfo/intl'
Making all in lib
make[3]: Entering directory `/home/trevin/Gnu/gcc-2.95.2-build/texinfo/lib'
...
make[3]: Leaving directory `/home/trevin/Gnu/gcc-2.95.2-build/texinfo/lib'
Making all in makeinfo
make[3]: Entering directory
`/home/trevin/Gnu/gcc-2.95.2-build/texinfo/makeinfo'
...
make[3]: Leaving directory
`/home/trevin/Gnu/gcc-2.95.2-build/texinfo/makeinfo'
make[2]: Leaving directory `/home/trevin/Gnu/gcc-2.95.2-build/texinfo'
make[1]: Leaving directory `/home/trevin/Gnu/gcc-2.95.2-build/texinfo'
make[1]: Entering directory `/home/trevin/Gnu/gcc-2.95.2-build/etc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/trevin/Gnu/gcc-2.95.2-build/etc'
make[1]: Entering directory `/home/trevin/Gnu/gcc-2.95.2-build/gcc'
cd ../../gcc-2.95.2/gcc; autoconf
autoconf: not found
make[1]: *** [../../gcc-2.95.2/gcc/configure] Error 127
make[1]: Leaving directory `/home/trevin/Gnu/gcc-2.95.2-build/gcc'
make: *** [all-gcc] Error 2
Additional notes:
nanook:gcc% ls -ld --full-time configure configure.in
-rwxr-xr-x 1 trevin trevin 245194 Fri Jan 21 14:43:57 2000 configure
-rw-r--r-- 1 trevin trevin 112941 Fri Jan 21 14:43:58 2000
configure.in
*** This was after unpacking gcc-2.95.tar.gz and applying the patches
gcc-2.95-2.95.1.diff and gcc-2.95.1-2.95.2.diff.
/* Definitions for EYRX / Intel 386 using coff object format files
and stabs debugging info.
Copyright (C) 1994 Free Software Foundation, Inc.
This file is part of GNU CC.
GNU CC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
GNU CC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
/* This is tested by gas.h. */
#define YES_UNDERSCORES
#define DBX_DEBUGGING_INFO
#define SDB_DEBUGGING_INFO
#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
#include "i386/gas.h"
/* Specify predefined symbols in preprocessor. */
#undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Di386 -D__EYRX__ -Asystem(eyrx) -Acpu(i386) -Amachine(i386)"
#undef WCHAR_TYPE
#define WCHAR_TYPE "unsigned char"
#undef WCHAR_UNSIGNED
#define WCHAR_UNSIGNED 1
#undef WCHAR_TYPE_SIZE
#define WCHAR_TYPE_SIZE 8
/* Don't default to pcc-struct-return, because it is
* incompatible with Microsoft C. */
#define DEFAULT_PCC_STRUCT_RETURN 0
/* Support the ctors and dtors sections for g++. */
#define CTORS_SECTION_ASM_OP ".section\t.ctors,\"x\""
#define DTORS_SECTION_ASM_OP ".section\t.dtors,\"x\""
/* A list of other sections which the compiler might be "in" at any
given time. */
#undef EXTRA_SECTIONS
#define EXTRA_SECTIONS in_ctors, in_dtors
/* A list of extra section function definitions. */
#undef EXTRA_SECTION_FUNCTIONS
#define EXTRA_SECTION_FUNCTIONS \
CTORS_SECTION_FUNCTION \
DTORS_SECTION_FUNCTION
#define CTORS_SECTION_FUNCTION \
void \
ctors_section () \
{ \
if (in_section != in_ctors) \
{ \
fprintf (asm_out_file, "%s\n", CTORS_SECTION_ASM_OP); \
in_section = in_ctors; \
} \
}
#define DTORS_SECTION_FUNCTION \
void \
dtors_section () \
{ \
if (in_section != in_dtors) \
{ \
fprintf (asm_out_file, "%s\n", DTORS_SECTION_ASM_OP); \
in_section = in_dtors; \
} \
}
#define INT_ASM_OP ".long"
/* A C statement (sans semicolon) to output an element in the table of
global constructors. */
#define ASM_OUTPUT_CONSTRUCTOR(FILE,NAME) \
do { \
ctors_section (); \
fprintf (FILE, "\t%s\t ", INT_ASM_OP); \
assemble_name (FILE, NAME); \
fprintf (FILE, "\n"); \
} while (0)
/* A C statement (sans semicolon) to output an element in the table of
global destructors. */
#define ASM_OUTPUT_DESTRUCTOR(FILE,NAME) \
do { \
dtors_section (); \
fprintf (FILE, "\t%s\t ", INT_ASM_OP); \
assemble_name (FILE, NAME); \
fprintf (FILE, "\n"); \
} while (0)
/* end of i386-coff.h */