2001-05-12 00:10:54 +02:00
|
|
|
\input texinfo.tex @c -*-texinfo-*-
|
|
|
|
@c @ifnothtml
|
|
|
|
@c %**start of header
|
2002-06-06 22:03:04 +02:00
|
|
|
@setfilename gccinstall.info
|
2001-05-12 00:10:54 +02:00
|
|
|
@settitle Installing GCC
|
|
|
|
@setchapternewpage odd
|
|
|
|
@c %**end of header
|
|
|
|
@c @end ifnothtml
|
|
|
|
|
2007-02-27 07:00:47 +01:00
|
|
|
@include gcc-common.texi
|
|
|
|
|
2001-05-12 00:10:54 +02:00
|
|
|
@c Specify title for specific html page
|
|
|
|
@ifset indexhtml
|
|
|
|
@settitle Installing GCC
|
|
|
|
@end ifset
|
|
|
|
@ifset specifichtml
|
|
|
|
@settitle Host/Target specific installation notes for GCC
|
|
|
|
@end ifset
|
2003-06-06 20:08:37 +02:00
|
|
|
@ifset prerequisiteshtml
|
|
|
|
@settitle Prerequisites for GCC
|
|
|
|
@end ifset
|
2001-05-12 00:10:54 +02:00
|
|
|
@ifset downloadhtml
|
|
|
|
@settitle Downloading GCC
|
|
|
|
@end ifset
|
|
|
|
@ifset configurehtml
|
|
|
|
@settitle Installing GCC: Configuration
|
|
|
|
@end ifset
|
|
|
|
@ifset buildhtml
|
|
|
|
@settitle Installing GCC: Building
|
|
|
|
@end ifset
|
|
|
|
@ifset testhtml
|
|
|
|
@settitle Installing GCC: Testing
|
|
|
|
@end ifset
|
|
|
|
@ifset finalinstallhtml
|
|
|
|
@settitle Installing GCC: Final installation
|
|
|
|
@end ifset
|
|
|
|
@ifset binarieshtml
|
|
|
|
@settitle Installing GCC: Binaries
|
|
|
|
@end ifset
|
2001-12-07 17:57:28 +01:00
|
|
|
@ifset oldhtml
|
|
|
|
@settitle Installing GCC: Old documentation
|
|
|
|
@end ifset
|
2001-12-04 10:21:56 +01:00
|
|
|
@ifset gfdlhtml
|
|
|
|
@settitle Installing GCC: GNU Free Documentation License
|
|
|
|
@end ifset
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2001-12-04 10:21:56 +01:00
|
|
|
@c Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
|
2011-05-05 01:34:37 +02:00
|
|
|
@c 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
|
2011-03-21 13:28:38 +01:00
|
|
|
@c 2010, 2011 Free Software Foundation, Inc.
|
2001-05-12 00:10:54 +02:00
|
|
|
@c *** Converted to texinfo by Dean Wakerley, dean@wakerley.com
|
|
|
|
|
2006-02-22 14:36:31 +01:00
|
|
|
@c IMPORTANT: whenever you modify this file, run `install.texi2html' to
|
|
|
|
@c test the generation of HTML documents for the gcc.gnu.org web pages.
|
|
|
|
@c
|
|
|
|
@c Do not use @footnote{} in this file as it breaks install.texi2html!
|
|
|
|
|
2001-05-12 00:10:54 +02:00
|
|
|
@c Include everything if we're not making html
|
|
|
|
@ifnothtml
|
|
|
|
@set indexhtml
|
|
|
|
@set specifichtml
|
2003-06-06 20:08:37 +02:00
|
|
|
@set prerequisiteshtml
|
2001-05-12 00:10:54 +02:00
|
|
|
@set downloadhtml
|
|
|
|
@set configurehtml
|
|
|
|
@set buildhtml
|
|
|
|
@set testhtml
|
|
|
|
@set finalinstallhtml
|
|
|
|
@set binarieshtml
|
2001-12-07 17:57:28 +01:00
|
|
|
@set oldhtml
|
2001-12-04 10:21:56 +01:00
|
|
|
@set gfdlhtml
|
2001-05-12 00:10:54 +02:00
|
|
|
@end ifnothtml
|
|
|
|
|
|
|
|
@c Part 2 Summary Description and Copyright
|
2002-12-28 22:38:55 +01:00
|
|
|
@copying
|
2008-07-30 07:28:53 +02:00
|
|
|
Copyright @copyright{} 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997,
|
2010-06-10 01:46:33 +02:00
|
|
|
1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
|
|
|
|
2010 Free Software Foundation, Inc.
|
2001-12-04 10:21:56 +01:00
|
|
|
@sp 1
|
|
|
|
Permission is granted to copy, distribute and/or modify this document
|
2010-06-10 01:46:33 +02:00
|
|
|
under the terms of the GNU Free Documentation License, Version 1.3 or
|
2001-12-04 10:21:56 +01:00
|
|
|
any later version published by the Free Software Foundation; with no
|
|
|
|
Invariant Sections, the Front-Cover texts being (a) (see below), and
|
|
|
|
with the Back-Cover Texts being (b) (see below). A copy of the
|
|
|
|
license is included in the section entitled ``@uref{./gfdl.html,,GNU
|
|
|
|
Free Documentation License}''.
|
|
|
|
|
|
|
|
(a) The FSF's Front-Cover Text is:
|
|
|
|
|
|
|
|
A GNU Manual
|
|
|
|
|
|
|
|
(b) The FSF's Back-Cover Text is:
|
|
|
|
|
|
|
|
You have freedom to copy and modify this GNU Manual, like GNU
|
|
|
|
software. Copies published by the Free Software Foundation raise
|
|
|
|
funds for GNU development.
|
2002-12-28 22:38:55 +01:00
|
|
|
@end copying
|
2001-05-12 00:10:54 +02:00
|
|
|
@ifinfo
|
2002-12-28 22:38:55 +01:00
|
|
|
@insertcopying
|
2001-05-12 00:10:54 +02:00
|
|
|
@end ifinfo
|
2006-06-18 01:25:16 +02:00
|
|
|
@dircategory Software development
|
2004-03-20 16:24:57 +01:00
|
|
|
@direntry
|
|
|
|
* gccinstall: (gccinstall). Installing the GNU Compiler Collection.
|
|
|
|
@end direntry
|
2001-05-12 00:10:54 +02:00
|
|
|
|
|
|
|
@c Part 3 Titlepage and Copyright
|
|
|
|
@titlepage
|
2007-02-27 07:00:47 +01:00
|
|
|
@title Installing GCC
|
|
|
|
@versionsubtitle
|
2001-05-12 00:10:54 +02:00
|
|
|
|
|
|
|
@c The following two commands start the copyright page.
|
|
|
|
@page
|
2001-06-02 20:21:37 +02:00
|
|
|
@vskip 0pt plus 1filll
|
2002-12-28 22:38:55 +01:00
|
|
|
@insertcopying
|
2001-05-12 00:10:54 +02:00
|
|
|
@end titlepage
|
|
|
|
|
2007-02-27 07:00:47 +01:00
|
|
|
@c Part 4 Top node, Master Menu, and/or Table of Contents
|
2001-05-12 00:10:54 +02:00
|
|
|
@ifinfo
|
|
|
|
@node Top, , , (dir)
|
|
|
|
@comment node-name, next, Previous, up
|
|
|
|
|
|
|
|
@menu
|
|
|
|
* Installing GCC:: This document describes the generic installation
|
|
|
|
procedure for GCC as well as detailing some target
|
2001-06-27 01:23:32 +02:00
|
|
|
specific installation instructions.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
|
|
|
* Specific:: Host/target specific installation notes for GCC.
|
|
|
|
* Binaries:: Where to get pre-compiled binaries.
|
|
|
|
|
2001-12-07 17:57:28 +01:00
|
|
|
* Old:: Old installation documentation.
|
|
|
|
|
2001-12-04 10:21:56 +01:00
|
|
|
* GNU Free Documentation License:: How you can copy and share this manual.
|
2001-05-12 00:10:54 +02:00
|
|
|
* Concept Index:: This index has two entries.
|
|
|
|
@end menu
|
|
|
|
@end ifinfo
|
|
|
|
|
2007-02-27 07:00:47 +01:00
|
|
|
@iftex
|
|
|
|
@contents
|
|
|
|
@end iftex
|
|
|
|
|
2001-05-12 00:10:54 +02:00
|
|
|
@c Part 5 The Body of the Document
|
|
|
|
@c ***Installing GCC**********************************************************
|
2001-06-13 15:07:28 +02:00
|
|
|
@ifnothtml
|
2001-05-12 00:10:54 +02:00
|
|
|
@comment node-name, next, previous, up
|
|
|
|
@node Installing GCC, Binaries, , Top
|
2001-06-13 15:07:28 +02:00
|
|
|
@end ifnothtml
|
2001-05-12 00:10:54 +02:00
|
|
|
@ifset indexhtml
|
|
|
|
@ifnothtml
|
|
|
|
@chapter Installing GCC
|
|
|
|
@end ifnothtml
|
|
|
|
|
|
|
|
The latest version of this document is always available at
|
2001-06-27 01:23:32 +02:00
|
|
|
@uref{http://gcc.gnu.org/install/,,http://gcc.gnu.org/install/}.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
|
|
|
This document describes the generic installation procedure for GCC as well
|
2001-06-27 01:23:32 +02:00
|
|
|
as detailing some target specific installation instructions.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2001-06-27 01:23:32 +02:00
|
|
|
GCC includes several components that previously were separate distributions
|
|
|
|
with their own installation instructions. This document supersedes all
|
2001-07-02 20:08:42 +02:00
|
|
|
package specific installation instructions.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2001-06-27 01:23:32 +02:00
|
|
|
@emph{Before} starting the build/install procedure please check the
|
2001-05-12 00:10:54 +02:00
|
|
|
@ifnothtml
|
2001-07-02 20:08:42 +02:00
|
|
|
@ref{Specific, host/target specific installation notes}.
|
2001-05-12 00:10:54 +02:00
|
|
|
@end ifnothtml
|
2001-08-18 00:21:49 +02:00
|
|
|
@ifhtml
|
2001-06-27 01:23:32 +02:00
|
|
|
@uref{specific.html,,host/target specific installation notes}.
|
2001-08-18 00:21:49 +02:00
|
|
|
@end ifhtml
|
2001-06-27 01:23:32 +02:00
|
|
|
We recommend you browse the entire generic installation instructions before
|
2001-05-12 00:10:54 +02:00
|
|
|
you proceed.
|
|
|
|
|
2001-08-18 00:21:49 +02:00
|
|
|
Lists of successful builds for released versions of GCC are
|
c-tree.texi, [...]: Remove trailing whitespace.
* doc/c-tree.texi, doc/cpp.texi, doc/extend.texi,
doc/frontends.texi, doc/gcov.texi, doc/gty.texi, doc/install.texi,
doc/invoke.texi, doc/libgcc.texi, doc/md.texi, doc/rtl.texi,
doc/sourcebuild.texi, doc/standards.texi, doc/tm.texi,
doc/trouble.texi: Remove trailing whitespace.
From-SVN: r76098
2004-01-18 12:57:17 +01:00
|
|
|
available at @uref{http://gcc.gnu.org/buildstat.html}.
|
2001-08-18 00:21:49 +02:00
|
|
|
These lists are updated as new information becomes available.
|
|
|
|
|
2001-06-27 01:23:32 +02:00
|
|
|
The installation procedure itself is broken into five steps.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
|
|
|
@ifinfo
|
|
|
|
@menu
|
2003-06-06 20:08:37 +02:00
|
|
|
* Prerequisites::
|
2001-05-12 00:10:54 +02:00
|
|
|
* Downloading the source::
|
|
|
|
* Configuration::
|
|
|
|
* Building::
|
|
|
|
* Testing:: (optional)
|
|
|
|
* Final install::
|
|
|
|
@end menu
|
|
|
|
@end ifinfo
|
2001-08-18 00:21:49 +02:00
|
|
|
@ifhtml
|
2001-05-12 00:10:54 +02:00
|
|
|
@enumerate
|
2001-06-27 01:23:32 +02:00
|
|
|
@item
|
2003-06-06 20:08:37 +02:00
|
|
|
@uref{prerequisites.html,,Prerequisites}
|
|
|
|
@item
|
2001-05-12 00:10:54 +02:00
|
|
|
@uref{download.html,,Downloading the source}
|
|
|
|
@item
|
2001-06-27 01:23:32 +02:00
|
|
|
@uref{configure.html,,Configuration}
|
|
|
|
@item
|
|
|
|
@uref{build.html,,Building}
|
|
|
|
@item
|
|
|
|
@uref{test.html,,Testing} (optional)
|
2001-05-12 00:10:54 +02:00
|
|
|
@item
|
|
|
|
@uref{finalinstall.html,,Final install}
|
|
|
|
@end enumerate
|
2001-08-18 00:21:49 +02:00
|
|
|
@end ifhtml
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2001-06-01 20:08:19 +02:00
|
|
|
Please note that GCC does not support @samp{make uninstall} and probably
|
2001-06-27 01:23:32 +02:00
|
|
|
won't do so in the near future as this would open a can of worms. Instead,
|
2001-05-12 00:10:54 +02:00
|
|
|
we suggest that you install GCC into a directory of its own and simply
|
2001-06-01 20:08:19 +02:00
|
|
|
remove that directory when you do not need that specific version of GCC
|
2001-07-02 20:08:42 +02:00
|
|
|
any longer, and, if shared libraries are installed there as well, no
|
|
|
|
more binaries exist that use them.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2001-12-07 17:57:28 +01:00
|
|
|
@ifhtml
|
|
|
|
There are also some @uref{old.html,,old installation instructions},
|
|
|
|
which are mostly obsolete but still contain some information which has
|
|
|
|
not yet been merged into the main part of this manual.
|
|
|
|
@end ifhtml
|
|
|
|
|
2001-05-12 00:10:54 +02:00
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-05-12 00:10:54 +02:00
|
|
|
<p>
|
|
|
|
@end html
|
|
|
|
@ifhtml
|
|
|
|
@uref{./index.html,,Return to the GCC Installation page}
|
2001-12-04 10:21:56 +01:00
|
|
|
|
2002-12-28 22:38:55 +01:00
|
|
|
@insertcopying
|
2001-05-12 00:10:54 +02:00
|
|
|
@end ifhtml
|
|
|
|
@end ifset
|
|
|
|
|
2003-06-06 20:08:37 +02:00
|
|
|
@c ***Prerequisites**************************************************
|
|
|
|
@ifnothtml
|
|
|
|
@comment node-name, next, previous, up
|
|
|
|
@node Prerequisites, Downloading the source, , Installing GCC
|
|
|
|
@end ifnothtml
|
|
|
|
@ifset prerequisiteshtml
|
|
|
|
@ifnothtml
|
|
|
|
@chapter Prerequisites
|
|
|
|
@end ifnothtml
|
|
|
|
@cindex Prerequisites
|
|
|
|
|
|
|
|
GCC requires that various tools and packages be available for use in the
|
|
|
|
build procedure. Modifying GCC sources requires additional tools
|
|
|
|
described below.
|
|
|
|
|
|
|
|
@heading Tools/packages necessary for building GCC
|
|
|
|
@table @asis
|
|
|
|
@item ISO C90 compiler
|
2006-04-05 07:21:32 +02:00
|
|
|
Necessary to bootstrap GCC, although versions of GCC prior
|
2003-06-06 20:08:37 +02:00
|
|
|
to 3.4 also allow bootstrapping with a traditional (K&R) C compiler.
|
|
|
|
|
2006-04-05 07:21:32 +02:00
|
|
|
To build all languages in a cross-compiler or other configuration where
|
2003-06-06 20:08:37 +02:00
|
|
|
3-stage bootstrap is not performed, you need to start with an existing
|
|
|
|
GCC binary (version 2.95 or later) because source code for language
|
|
|
|
frontends other than C might use GCC extensions.
|
|
|
|
|
|
|
|
@item GNAT
|
|
|
|
|
|
|
|
In order to build the Ada compiler (GNAT) you must already have GNAT
|
|
|
|
installed because portions of the Ada frontend are written in Ada (with
|
|
|
|
GNAT extensions.) Refer to the Ada installation instructions for more
|
|
|
|
specific information.
|
|
|
|
|
|
|
|
@item A ``working'' POSIX compatible shell, or GNU bash
|
|
|
|
|
|
|
|
Necessary when running @command{configure} because some
|
|
|
|
@command{/bin/sh} shells have bugs and may crash when configuring the
|
2006-04-05 07:21:32 +02:00
|
|
|
target libraries. In other cases, @command{/bin/sh} or @command{ksh}
|
|
|
|
have disastrous corner-case performance problems. This
|
2003-06-06 20:08:37 +02:00
|
|
|
can cause target @command{configure} runs to literally take days to
|
|
|
|
complete in some cases.
|
|
|
|
|
|
|
|
So on some platforms @command{/bin/ksh} is sufficient, on others it
|
|
|
|
isn't. See the host/target specific instructions for your platform, or
|
|
|
|
use @command{bash} to be sure. Then set @env{CONFIG_SHELL} in your
|
|
|
|
environment to your ``good'' shell prior to running
|
|
|
|
@command{configure}/@command{make}.
|
|
|
|
|
c-tree.texi, [...]: Remove trailing whitespace.
* doc/c-tree.texi, doc/cpp.texi, doc/extend.texi,
doc/frontends.texi, doc/gcov.texi, doc/gty.texi, doc/install.texi,
doc/invoke.texi, doc/libgcc.texi, doc/md.texi, doc/rtl.texi,
doc/sourcebuild.texi, doc/standards.texi, doc/tm.texi,
doc/trouble.texi: Remove trailing whitespace.
From-SVN: r76098
2004-01-18 12:57:17 +01:00
|
|
|
@command{zsh} is not a fully compliant POSIX shell and will not
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
work when configuring GCC@.
|
2003-10-18 00:36:57 +02:00
|
|
|
|
2008-06-18 20:46:35 +02:00
|
|
|
@item A POSIX or SVR4 awk
|
|
|
|
|
|
|
|
Necessary for creating some of the generated source files for GCC@.
|
|
|
|
If in doubt, use a recent GNU awk version, as some of the older ones
|
|
|
|
are broken. GNU awk version 3.1.5 is known to work.
|
|
|
|
|
2003-06-06 20:08:37 +02:00
|
|
|
@item GNU binutils
|
|
|
|
|
|
|
|
Necessary in some circumstances, optional in others. See the
|
|
|
|
host/target specific instructions for your platform for the exact
|
|
|
|
requirements.
|
|
|
|
|
|
|
|
@item gzip version 1.2.4 (or later) or
|
|
|
|
@itemx bzip2 version 1.0.2 (or later)
|
|
|
|
|
|
|
|
Necessary to uncompress GCC @command{tar} files when source code is
|
|
|
|
obtained via FTP mirror sites.
|
|
|
|
|
2008-04-03 08:12:27 +02:00
|
|
|
@item GNU make version 3.80 (or later)
|
2003-08-26 20:47:26 +02:00
|
|
|
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
You must have GNU make installed to build GCC@.
|
2003-08-26 20:47:26 +02:00
|
|
|
|
2006-02-24 22:52:14 +01:00
|
|
|
@item GNU tar version 1.14 (or later)
|
2003-06-06 20:08:37 +02:00
|
|
|
|
|
|
|
Necessary (only on some platforms) to untar the source code. Many
|
|
|
|
systems' @command{tar} programs will also work, only try GNU
|
|
|
|
@command{tar} if you have problems.
|
|
|
|
|
2011-03-21 13:09:28 +01:00
|
|
|
@item Perl version 5.6.1 (or later)
|
|
|
|
|
|
|
|
Necessary when targetting Darwin, building @samp{libstdc++},
|
|
|
|
and not using @option{--disable-symvers}.
|
|
|
|
Necessary when targetting Solaris 2 with Sun @command{ld} and not using
|
2011-03-21 13:17:10 +01:00
|
|
|
@option{--disable-symvers}. The bundled @command{perl} in Solaris@tie{}8
|
|
|
|
and up works.
|
2011-03-21 13:09:28 +01:00
|
|
|
|
|
|
|
Necessary when regenerating @file{Makefile} dependencies in libiberty.
|
|
|
|
Necessary when regenerating @file{libiberty/functions.texi}.
|
|
|
|
Necessary when generating manpages from Texinfo manuals.
|
|
|
|
Used by various scripts to generate some files included in SVN (mainly
|
|
|
|
Unicode-related and rarely changing) from source tables.
|
|
|
|
|
2011-03-21 13:12:19 +01:00
|
|
|
@item @command{jar}, or InfoZIP (@command{zip} and @command{unzip})
|
|
|
|
|
|
|
|
Necessary to build libgcj, the GCJ runtime.
|
|
|
|
|
|
|
|
@end table
|
|
|
|
|
|
|
|
Several support libraries are necessary to build GCC, some are required,
|
|
|
|
others optional. While any sufficiently new version of required tools
|
|
|
|
usually work, library requirements are generally stricter. Newer
|
|
|
|
versions may work in some cases, but it's safer to use the exact
|
|
|
|
versions documented. We appreciate bug reports about problems with
|
2012-02-14 21:34:41 +01:00
|
|
|
newer versions, though. If your OS vendor provides packages for the
|
|
|
|
support libraries then using those packages may be the simplest way to
|
|
|
|
install the libraries.
|
2011-03-21 13:12:19 +01:00
|
|
|
|
|
|
|
@table @asis
|
2010-01-31 19:12:21 +01:00
|
|
|
@item GNU Multiple Precision Library (GMP) version 4.3.2 (or later)
|
2004-06-05 16:34:56 +02:00
|
|
|
|
2012-02-14 21:34:41 +01:00
|
|
|
Necessary to build GCC@. If a GMP source distribution is found in a
|
|
|
|
subdirectory of your GCC sources named @file{gmp}, it will be built
|
|
|
|
together with GCC. Alternatively, if GMP is already installed but it
|
|
|
|
is not in your library search path, you will have to configure with the
|
2008-10-20 11:19:42 +02:00
|
|
|
@option{--with-gmp} configure option. See also @option{--with-gmp-lib}
|
2012-02-14 21:34:41 +01:00
|
|
|
and @option{--with-gmp-include}.
|
2004-06-05 16:34:56 +02:00
|
|
|
|
2010-01-31 19:12:21 +01:00
|
|
|
@item MPFR Library version 2.4.2 (or later)
|
2004-08-03 23:11:29 +02:00
|
|
|
|
2008-02-16 04:54:54 +01:00
|
|
|
Necessary to build GCC@. It can be downloaded from
|
2012-02-14 21:34:41 +01:00
|
|
|
@uref{http://www.mpfr.org/}. If an MPFR source distribution is found
|
|
|
|
in a subdirectory of your GCC sources named @file{mpfr}, it will be
|
|
|
|
built together with GCC. Alternatively, if MPFR is already installed
|
|
|
|
but it is not in your default library search path, the
|
|
|
|
@option{--with-mpfr} configure option should be used. See also
|
|
|
|
@option{--with-mpfr-lib} and @option{--with-mpfr-include}.
|
2008-10-19 20:55:05 +02:00
|
|
|
|
2010-01-31 19:12:21 +01:00
|
|
|
@item MPC Library version 0.8.1 (or later)
|
2009-12-06 17:11:06 +01:00
|
|
|
|
|
|
|
Necessary to build GCC@. It can be downloaded from
|
2012-02-14 21:34:41 +01:00
|
|
|
@uref{http://www.multiprecision.org/}. If an MPC source distribution
|
|
|
|
is found in a subdirectory of your GCC sources named @file{mpc}, it
|
|
|
|
will be built together with GCC. Alternatively, if MPC is already
|
|
|
|
installed but it is not in your default library search path, the
|
|
|
|
@option{--with-mpc} configure option should be used. See also
|
|
|
|
@option{--with-mpc-lib} and @option{--with-mpc-include}.
|
2009-12-06 17:11:06 +01:00
|
|
|
|
2011-01-25 07:46:19 +01:00
|
|
|
@item Parma Polyhedra Library (PPL) version 0.11
|
2008-12-17 19:56:33 +01:00
|
|
|
|
|
|
|
Necessary to build GCC with the Graphite loop optimizations.
|
|
|
|
It can be downloaded from @uref{http://www.cs.unipr.it/ppl/Download/}.
|
|
|
|
|
|
|
|
The @option{--with-ppl} configure option should be used if PPL is not
|
|
|
|
installed in your default library search path.
|
|
|
|
|
2011-01-25 07:44:20 +01:00
|
|
|
@item CLooG-PPL version 0.15 or CLooG 0.16
|
|
|
|
|
|
|
|
Necessary to build GCC with the Graphite loop optimizations. There
|
|
|
|
are two versions available. CLooG-PPL 0.15 as well as CLooG 0.16.
|
|
|
|
The former is the default right now. It can be downloaded from
|
|
|
|
@uref{ftp://gcc.gnu.org/pub/gcc/infrastructure/} as
|
|
|
|
@file{cloog-ppl-0.15.tar.gz}.
|
|
|
|
|
|
|
|
CLooG 0.16 support is still in testing stage, but will be the
|
|
|
|
default in future GCC releases. It is also available at
|
|
|
|
@uref{ftp://gcc.gnu.org/pub/gcc/infrastructure/} as
|
|
|
|
@file{cloog-0.16.1.tar.gz}. To use it add the additional configure
|
|
|
|
option @option{--enable-cloog-backend=isl}. Even if CLooG 0.16
|
|
|
|
does not use PPL, PPL is still required for Graphite.
|
|
|
|
|
|
|
|
In both cases @option{--with-cloog} configure option should be used
|
|
|
|
if CLooG is not installed in your default library search path.
|
2004-08-03 23:11:29 +02:00
|
|
|
|
2009-05-15 20:12:44 +02:00
|
|
|
@end table
|
2003-06-06 20:08:37 +02:00
|
|
|
|
|
|
|
@heading Tools/packages necessary for modifying GCC
|
|
|
|
@table @asis
|
Cleanups after the update to Autoconf 2.64, Automake 1.11.
/:
* configure.ac: Remove --with-datarootdir, --with-docdir,
--with-pdfdir, --with-htmldir switches.
* configure: Regenerate.
gcc/:
* configure.ac: Remove --with-datarootdir, --with-docdir,
--with-htmldir switches. No need to call AC_SUBST for
datarootdir, docdir, htmldir any more.
* configure: Regenerate.
* doc/install.texi (Configuration): Document --datarootdir,
--docdir, --htmldir, --pdfdir; update documentation for
--infodir, --mandir.
(Prerequisites): Bump Autoconf version to 2.64, Automake to
1.11, M4 to 1.4.6.
libgfortran/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libjava/classpath/:
* doc/cp-hacking.texinfo (Needed Tools and Libraries): Bump
Autoconf version to 2.64, Automake to 1.11, M4 to 1.4.6.
libjava/:
* HACKING: Use aclocal-1.11 and autoconf-2.64 in example.
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libstdc++-v3/:
* doc/xml/manual/build_hacking.xml: Use tools from Autoconf
2.64 and Automake 1.11 in examples; update link to Autoconf
manual page about quadrigraphs.
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libssp/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
boehm-gc/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libmudflap/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
zlib/:
* Makefile.am (install-html, install-pdf, html): Remove.
* Makefile.in: Regenerate.
libffi/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libgomp/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
From-SVN: r151015
2009-08-22 15:41:50 +02:00
|
|
|
@item autoconf version 2.64
|
|
|
|
@itemx GNU m4 version 1.4.6 (or later)
|
2003-06-06 20:08:37 +02:00
|
|
|
|
2004-03-14 23:15:13 +01:00
|
|
|
Necessary when modifying @file{configure.ac}, @file{aclocal.m4}, etc.@:
|
2007-05-28 17:42:25 +02:00
|
|
|
to regenerate @file{configure} and @file{config.in} files.
|
2003-06-06 20:08:37 +02:00
|
|
|
|
2010-04-02 20:18:06 +02:00
|
|
|
@item automake version 1.11.1
|
2003-06-06 20:08:37 +02:00
|
|
|
|
|
|
|
Necessary when modifying a @file{Makefile.am} file to regenerate its
|
2004-02-06 02:14:32 +01:00
|
|
|
associated @file{Makefile.in}.
|
|
|
|
|
|
|
|
Much of GCC does not use automake, so directly edit the @file{Makefile.in}
|
|
|
|
file. Specifically this applies to the @file{gcc}, @file{intl},
|
2004-08-25 10:10:02 +02:00
|
|
|
@file{libcpp}, @file{libiberty}, @file{libobjc} directories as well
|
|
|
|
as any of their subdirectories.
|
2004-02-06 02:14:32 +01:00
|
|
|
|
2004-11-13 21:14:21 +01:00
|
|
|
For directories that use automake, GCC requires the latest release in
|
2010-04-02 20:18:06 +02:00
|
|
|
the 1.11 series, which is currently 1.11.1. When regenerating a directory
|
Cleanups after the update to Autoconf 2.64, Automake 1.11.
/:
* configure.ac: Remove --with-datarootdir, --with-docdir,
--with-pdfdir, --with-htmldir switches.
* configure: Regenerate.
gcc/:
* configure.ac: Remove --with-datarootdir, --with-docdir,
--with-htmldir switches. No need to call AC_SUBST for
datarootdir, docdir, htmldir any more.
* configure: Regenerate.
* doc/install.texi (Configuration): Document --datarootdir,
--docdir, --htmldir, --pdfdir; update documentation for
--infodir, --mandir.
(Prerequisites): Bump Autoconf version to 2.64, Automake to
1.11, M4 to 1.4.6.
libgfortran/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libjava/classpath/:
* doc/cp-hacking.texinfo (Needed Tools and Libraries): Bump
Autoconf version to 2.64, Automake to 1.11, M4 to 1.4.6.
libjava/:
* HACKING: Use aclocal-1.11 and autoconf-2.64 in example.
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libstdc++-v3/:
* doc/xml/manual/build_hacking.xml: Use tools from Autoconf
2.64 and Automake 1.11 in examples; update link to Autoconf
manual page about quadrigraphs.
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libssp/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
boehm-gc/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libmudflap/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
zlib/:
* Makefile.am (install-html, install-pdf, html): Remove.
* Makefile.in: Regenerate.
libffi/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libgomp/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
From-SVN: r151015
2009-08-22 15:41:50 +02:00
|
|
|
to a newer version, please update all the directories using an older 1.11
|
2004-11-13 21:14:21 +01:00
|
|
|
to the latest released version.
|
2004-06-11 18:50:08 +02:00
|
|
|
|
exgettext: Handle gmsgid and cmsgid arguments specially, as gcc-internal-format and c-format.
gcc/po/
* exgettext: Handle gmsgid and cmsgid arguments specially,
as gcc-internal-format and c-format. Because of xgettext
bug, invoke xgettext once with --language=c, once with
--language=GCC-source and then merge together. Fail if
xgettext is not 0.14.5 or later.
gcc/
* intl.h (G_): New macro.
* rtl-error.c (error_for_asm, warning_for_asm): Use gmsgid
instead of msgid for argument name.
* tree-ssa.c (warn_uninit): Likewise.
* c-parser.c (c_parser_error): Likewise.
* config/rs6000/rs6000-c.c (SYNTAX_ERROR): Likewise.
* config/darwin-c.c (BAD): Likewise.
* config/c4x/c4x-c.c (BAD): Likewise.
* c-pragma.c (GCC_BAD, GCC_BAD2): Likewise.
* c-errors.c (pedwarn_c99, pedwarn_c90): Likewise.
* c-common.c (c_parse_error): Likewise.
* diagnostic.c (diagnostic_set_info, verbatim, inform, warning,
warning0, pedwarn, error, sorry, fatal_error, internal_error):
Likewise.
(fnotice): Use cmsgid instead of msgid for argument name.
* gcov.c (fnotice): Likewise.
* protoize.c (notice): Likewise.
* final.c (output_operand_lossage): Likewise.
* gcc.c (fatal, notice): Likewise.
(error): Use gmsgid instead of msgid for argument name.
* collect2.c (notice, fatal_perror, fatal): Use cmsgid instead
of msgid for argument name.
(error): Use gmsgid instead of msgid for argument name.
* c-decl.c (locate_old_decl, implicit_decl_warning): Use G_()
instead of N_().
* c-typeck.c (readonly_error, convert_for_assignment): Likewise.
* tree-inline.c (inline_forbidden_p_1): Likewise.
* ABOUT-GCC-NLS: Require gettext 0.14.5 or later. Mention the new
conventions for marking translations.
* doc/install.texi: Mention gettext 0.14.5 or later requirement.
gcc/cp/
* error.c (locate_error): Use gmsgid instead of msgid for argument
name.
(cp_error_at, cp_warning_at, cp_pedwarn_at): Likewise.
gcc/java/
* jv-scan.c (fatal_error, warning, warning0): Use gmsgid instead of
msgid for argument name.
* gjavah.c (error): Likewise.
* java-tree.h (parse_error_context): Likewise.
* parse.y (parse_error_context, parse_warning_context,
issue_warning_error_from_context): Likewise.
From-SVN: r100676
2005-06-06 21:31:40 +02:00
|
|
|
@item gettext version 0.14.5 (or later)
|
2003-11-15 21:09:41 +01:00
|
|
|
|
|
|
|
Needed to regenerate @file{gcc.pot}.
|
2003-06-06 20:08:37 +02:00
|
|
|
|
|
|
|
@item gperf version 2.7.2 (or later)
|
|
|
|
|
|
|
|
Necessary when modifying @command{gperf} input files, e.g.@:
|
|
|
|
@file{gcc/cp/cfns.gperf} to regenerate its associated header file, e.g.@:
|
|
|
|
@file{gcc/cp/cfns.h}.
|
|
|
|
|
2006-04-05 07:21:32 +02:00
|
|
|
@item DejaGnu 1.4.4
|
|
|
|
@itemx Expect
|
|
|
|
@itemx Tcl
|
2003-06-06 20:08:37 +02:00
|
|
|
|
2006-04-05 07:21:32 +02:00
|
|
|
Necessary to run the GCC testsuite; see the section on testing for details.
|
2003-06-06 20:08:37 +02:00
|
|
|
|
|
|
|
@item autogen version 5.5.4 (or later) and
|
|
|
|
@itemx guile version 1.4.1 (or later)
|
|
|
|
|
|
|
|
Necessary to regenerate @file{fixinc/fixincl.x} from
|
|
|
|
@file{fixinc/inclhack.def} and @file{fixinc/*.tpl}.
|
|
|
|
|
2006-04-05 07:21:32 +02:00
|
|
|
Necessary to run @samp{make check} for @file{fixinc}.
|
2003-06-06 20:08:37 +02:00
|
|
|
|
2004-02-06 02:14:32 +01:00
|
|
|
Necessary to regenerate the top level @file{Makefile.in} file from
|
2003-06-06 20:08:37 +02:00
|
|
|
@file{Makefile.tpl} and @file{Makefile.def}.
|
|
|
|
|
|
|
|
@item Flex version 2.5.4 (or later)
|
|
|
|
|
|
|
|
Necessary when modifying @file{*.l} files.
|
|
|
|
|
|
|
|
Necessary to build GCC during development because the generated output
|
2006-04-05 07:21:32 +02:00
|
|
|
files are not included in the SVN repository. They are included in
|
2003-06-06 20:08:37 +02:00
|
|
|
releases.
|
|
|
|
|
2008-07-24 00:50:42 +02:00
|
|
|
@item Texinfo version 4.7 (or later)
|
2003-06-06 20:08:37 +02:00
|
|
|
|
|
|
|
Necessary for running @command{makeinfo} when modifying @file{*.texi}
|
|
|
|
files to test your changes.
|
|
|
|
|
2006-10-16 21:51:55 +02:00
|
|
|
Necessary for running @command{make dvi} or @command{make pdf} to
|
|
|
|
create printable documentation in DVI or PDF format. Texinfo version
|
|
|
|
4.8 or later is required for @command{make pdf}.
|
|
|
|
|
2003-06-06 20:08:37 +02:00
|
|
|
Necessary to build GCC documentation during development because the
|
2006-04-05 07:21:32 +02:00
|
|
|
generated output files are not included in the SVN repository. They are
|
2003-06-06 20:08:37 +02:00
|
|
|
included in releases.
|
|
|
|
|
|
|
|
@item @TeX{} (any working version)
|
|
|
|
|
2011-05-05 01:34:37 +02:00
|
|
|
Necessary for running @command{texi2dvi} and @command{texi2pdf}, which
|
2006-10-16 21:51:55 +02:00
|
|
|
are used when running @command{make dvi} or @command{make pdf} to create
|
|
|
|
DVI or PDF files, respectively.
|
2003-06-06 20:08:37 +02:00
|
|
|
|
2006-04-05 07:21:32 +02:00
|
|
|
@item SVN (any version)
|
|
|
|
@itemx SSH (any version)
|
2003-06-06 20:08:37 +02:00
|
|
|
|
2006-04-05 07:21:32 +02:00
|
|
|
Necessary to access the SVN repository. Public releases and weekly
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
snapshots of the development sources are also available via FTP@.
|
2003-06-06 20:08:37 +02:00
|
|
|
|
|
|
|
@item GNU diffutils version 2.7 (or later)
|
|
|
|
|
2006-04-05 07:21:32 +02:00
|
|
|
Useful when submitting patches for the GCC source code.
|
2003-06-06 20:08:37 +02:00
|
|
|
|
|
|
|
@item patch version 2.5.4 (or later)
|
|
|
|
|
|
|
|
Necessary when applying patches, created with @command{diff}, to one's
|
|
|
|
own sources.
|
|
|
|
|
2007-01-15 22:49:31 +01:00
|
|
|
@item ecj1
|
|
|
|
@itemx gjavah
|
|
|
|
|
|
|
|
If you wish to modify @file{.java} files in libjava, you will need to
|
|
|
|
configure with @option{--enable-java-maintainer-mode}, and you will need
|
|
|
|
to have executables named @command{ecj1} and @command{gjavah} in your path.
|
|
|
|
The @command{ecj1} executable should run the Eclipse Java compiler via
|
|
|
|
the GCC-specific entry point. You can download a suitable jar from
|
|
|
|
@uref{ftp://sourceware.org/pub/java/}, or by running the script
|
|
|
|
@command{contrib/download_ecj}.
|
|
|
|
|
2008-10-26 17:22:52 +01:00
|
|
|
@item antlr.jar version 2.7.1 (or later)
|
|
|
|
@itemx antlr binary
|
|
|
|
|
|
|
|
If you wish to build the @command{gjdoc} binary in libjava, you will
|
c-tree.texi (Types, [...]): Fix grammar nits.
gcc/
* doc/c-tree.texi (Types, Functions, Expression trees): Fix
grammar nits.
* doc/cfg.texi (Maintaining the CFG, Liveness information):
Likewise.
* doc/cpp.texi (Standard Predefined Macros)
(Implementation-defined behavior): Likewise.
* doc/extend.texi (Function Attributes, Type Attributes):
Likewise.
* doc/gimple.texi (GIMPLE Exception Handling)
(@code{GIMPLE_ASSIGN}): Likewise.
* doc/install.texi (Prerequisites, Configuration, Specific):
Likewise.
* doc/invoke.texi (Warning Options, Optimize Options)
(AVR Options, Darwin Options): Likewise.
(Optimize Options): Reformulate -fwhole-program description.
* doc/loop.texi (Lambda): Likewise.
* doc/md.texi (Output Template, Define Constraints)
(Standard Names, Insn Splitting): Likewise.
* doc/options.texi (Option properties): Likewise.
* doc/passes.texi (Tree-SSA passes): Likewise.
* doc/rtl.texi (Side Effects, Assembler, Insns): Likewise.
* doc/tm.texi (Register Classes, Old Constraints, Scalar Return)
(File Names and DBX): Likewise.
* doc/trouble.texi (Incompatibilities): Likewise.
From-SVN: r146854
2009-04-27 22:23:51 +02:00
|
|
|
need to have an @file{antlr.jar} library available. The library is
|
2012-02-14 21:55:35 +01:00
|
|
|
searched for in system locations but can be specified with
|
2008-10-26 17:22:52 +01:00
|
|
|
@option{--with-antlr-jar=} instead. When configuring with
|
|
|
|
@option{--enable-java-maintainer-mode}, you will need to have one of
|
|
|
|
the executables named @command{cantlr}, @command{runantlr} or
|
|
|
|
@command{antlr} in your path.
|
|
|
|
|
2003-06-06 20:08:37 +02:00
|
|
|
@end table
|
|
|
|
|
|
|
|
@html
|
|
|
|
<hr />
|
|
|
|
<p>
|
|
|
|
@end html
|
|
|
|
@ifhtml
|
|
|
|
@uref{./index.html,,Return to the GCC Installation page}
|
|
|
|
@end ifhtml
|
|
|
|
@end ifset
|
|
|
|
|
2001-05-12 00:10:54 +02:00
|
|
|
@c ***Downloading the source**************************************************
|
2001-06-13 15:07:28 +02:00
|
|
|
@ifnothtml
|
2001-05-12 00:10:54 +02:00
|
|
|
@comment node-name, next, previous, up
|
2003-06-06 20:08:37 +02:00
|
|
|
@node Downloading the source, Configuration, Prerequisites, Installing GCC
|
2001-06-13 15:07:28 +02:00
|
|
|
@end ifnothtml
|
2001-05-12 00:10:54 +02:00
|
|
|
@ifset downloadhtml
|
|
|
|
@ifnothtml
|
|
|
|
@chapter Downloading GCC
|
|
|
|
@end ifnothtml
|
|
|
|
@cindex Downloading GCC
|
|
|
|
@cindex Downloading the Source
|
|
|
|
|
2006-04-05 07:21:32 +02:00
|
|
|
GCC is distributed via @uref{http://gcc.gnu.org/svn.html,,SVN} and FTP
|
2001-07-02 20:08:42 +02:00
|
|
|
tarballs compressed with @command{gzip} or
|
2001-06-13 15:07:28 +02:00
|
|
|
@command{bzip2}. It is possible to download a full distribution or specific
|
2001-05-12 00:10:54 +02:00
|
|
|
components.
|
|
|
|
|
bugreport.texi, [...]: Avoid some first-person references and patronizing comments.
* doc/bugreport.texi, doc/configterms.texi, doc/contrib.texi,
doc/contribute.texi, doc/cpp.texi, doc/cppinternals.texi,
doc/extend.texi, doc/install.texi, doc/invoke.texi, doc/md.texi,
doc/portability.texi, doc/tree-ssa.texi, doc/trouble.texi: Avoid
some first-person references and patronizing comments. Based on
printed manual.
* doc/invoke.texi: Don't reference fortran@gnu.org.
* doc/trouble.texi (Warning when a non-void function value is
ignored): Rewrite. From Russ Allbery and Chris Devers.
From-SVN: r84034
2004-07-03 01:57:12 +02:00
|
|
|
Please refer to the @uref{http://gcc.gnu.org/releases.html,,releases web page}
|
c-tree.texi, [...]: Replace . at end of sentences preceded by a capital letter with @..
* doc/c-tree.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppinternals.texi, doc/extend.texi, doc/gcc.texi,
doc/gcov.texi, doc/install-old.texi, doc/install.texi,
doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi: Replace
. at end of sentences preceded by a capital letter with @..
From-SVN: r43611
2001-06-27 17:04:16 +02:00
|
|
|
for information on how to obtain GCC@.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2006-10-20 01:39:45 +02:00
|
|
|
The full distribution includes the C, C++, Objective-C, Fortran, Java,
|
|
|
|
and Ada (in the case of GCC 3.1 and later) compilers. The full
|
|
|
|
distribution also includes runtime libraries for C++, Objective-C,
|
|
|
|
Fortran, and Java. In GCC 3.0 and later versions, the GNU compiler
|
|
|
|
testsuites are also included in the full distribution.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
|
|
|
If you choose to download specific components, you must download the core
|
2001-07-02 20:08:42 +02:00
|
|
|
GCC distribution plus any language specific distributions you wish to
|
2001-06-21 02:03:48 +02:00
|
|
|
use. The core distribution includes the C language front end as well as the
|
2001-06-27 00:47:11 +02:00
|
|
|
shared components. Each language has a tarball which includes the language
|
2001-06-21 02:03:48 +02:00
|
|
|
front end as well as the language runtime (when appropriate).
|
2001-05-12 00:10:54 +02:00
|
|
|
|
|
|
|
Unpack the core distribution as well as any language specific
|
|
|
|
distributions in the same directory.
|
|
|
|
|
|
|
|
If you also intend to build binutils (either to upgrade an existing
|
|
|
|
installation or for use in place of the corresponding tools of your
|
|
|
|
OS), unpack the binutils distribution either in the same directory or
|
|
|
|
a separate one. In the latter case, add symbolic links to any
|
|
|
|
components of the binutils you intend to build alongside the compiler
|
2001-06-13 15:07:28 +02:00
|
|
|
(@file{bfd}, @file{binutils}, @file{gas}, @file{gprof}, @file{ld},
|
|
|
|
@file{opcodes}, @dots{}) to the directory containing the GCC sources.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2009-05-15 20:12:44 +02:00
|
|
|
Likewise the GMP, MPFR and MPC libraries can be automatically built
|
|
|
|
together with GCC. Unpack the GMP, MPFR and/or MPC source
|
|
|
|
distributions in the directory containing the GCC sources and rename
|
|
|
|
their directories to @file{gmp}, @file{mpfr} and @file{mpc},
|
|
|
|
respectively (or use symbolic links with the same name).
|
2008-10-19 20:55:05 +02:00
|
|
|
|
2001-05-12 00:10:54 +02:00
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-05-12 00:10:54 +02:00
|
|
|
<p>
|
|
|
|
@end html
|
|
|
|
@ifhtml
|
|
|
|
@uref{./index.html,,Return to the GCC Installation page}
|
|
|
|
@end ifhtml
|
|
|
|
@end ifset
|
|
|
|
|
|
|
|
@c ***Configuration***********************************************************
|
2001-06-13 15:07:28 +02:00
|
|
|
@ifnothtml
|
2001-05-12 00:10:54 +02:00
|
|
|
@comment node-name, next, previous, up
|
|
|
|
@node Configuration, Building, Downloading the source, Installing GCC
|
2001-06-13 15:07:28 +02:00
|
|
|
@end ifnothtml
|
2001-05-12 00:10:54 +02:00
|
|
|
@ifset configurehtml
|
|
|
|
@ifnothtml
|
|
|
|
@chapter Installing GCC: Configuration
|
|
|
|
@end ifnothtml
|
|
|
|
@cindex Configuration
|
|
|
|
@cindex Installing GCC: Configuration
|
|
|
|
|
|
|
|
Like most GNU software, GCC must be configured before it can be built.
|
|
|
|
This document describes the recommended configuration procedure
|
|
|
|
for both native and cross targets.
|
|
|
|
|
2001-06-01 20:08:19 +02:00
|
|
|
We use @var{srcdir} to refer to the toplevel source directory for
|
|
|
|
GCC; we use @var{objdir} to refer to the toplevel build/object directory.
|
|
|
|
|
2006-04-05 07:21:32 +02:00
|
|
|
If you obtained the sources via SVN, @var{srcdir} must refer to the top
|
2009-09-30 02:47:38 +02:00
|
|
|
@file{gcc} directory, the one where the @file{MAINTAINERS} file can be
|
|
|
|
found, and not its @file{gcc} subdirectory, otherwise the build will fail.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2002-05-17 00:15:53 +02:00
|
|
|
If either @var{srcdir} or @var{objdir} is located on an automounted NFS
|
|
|
|
file system, the shell's built-in @command{pwd} command will return
|
|
|
|
temporary pathnames. Using these can lead to various sorts of build
|
|
|
|
problems. To avoid this issue, set the @env{PWDCMD} environment
|
|
|
|
variable to an automounter-aware @command{pwd} command, e.g.,
|
2003-04-08 08:39:15 +02:00
|
|
|
@command{pawd} or @samp{amq -w}, during the configuration and build
|
2002-05-17 00:15:53 +02:00
|
|
|
phases.
|
|
|
|
|
2002-11-02 11:28:09 +01:00
|
|
|
First, we @strong{highly} recommend that GCC be built into a
|
2009-09-30 02:47:38 +02:00
|
|
|
separate directory from the sources which does @strong{not} reside
|
2002-11-02 11:28:09 +01:00
|
|
|
within the source tree. This is how we generally build GCC; building
|
|
|
|
where @var{srcdir} == @var{objdir} should still work, but doesn't
|
|
|
|
get extensive testing; building where @var{objdir} is a subdirectory
|
|
|
|
of @var{srcdir} is unsupported.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2001-07-02 20:08:42 +02:00
|
|
|
If you have previously built GCC in the same directory for a
|
2001-06-03 21:06:55 +02:00
|
|
|
different target machine, do @samp{make distclean} to delete all files
|
2002-12-07 00:32:52 +01:00
|
|
|
that might be invalid. One of the files this deletes is @file{Makefile};
|
|
|
|
if @samp{make distclean} complains that @file{Makefile} does not exist
|
|
|
|
or issues a message like ``don't know how to make distclean'' it probably
|
|
|
|
means that the directory is already suitably clean. However, with the
|
|
|
|
recommended method of building in a separate @var{objdir}, you should
|
|
|
|
simply use a different @var{objdir} for each target.
|
2001-06-03 21:06:55 +02:00
|
|
|
|
2001-06-01 20:08:19 +02:00
|
|
|
Second, when configuring a native system, either @command{cc} or
|
|
|
|
@command{gcc} must be in your path or you must set @env{CC} in
|
2001-05-16 16:57:06 +02:00
|
|
|
your environment before running configure. Otherwise the configuration
|
|
|
|
scripts may fail.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
re PR bootstrap/25670 (build fail with 'make all-gcc')
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25670
* Makefile.tpl ([+compare-target+]): Print explanation messages.
* Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES): New flags_to_pass.
* Makefile.tpl (BASE_FLAGS_TO_PASS): Support optional flags_to_pass.
(EXTRA_GCC_FLAGS): Remove ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES,
BUILD_PREFIX, BUILD_PREFIX_1.
* configure.in: (BUILD_PREFIX, BUILD_PREFIX_1): Don't substitute.
* Makefile.def (bootstrap stage 1): Pass LIBCFLAGS too.
* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Override LIBCFLAGS too.
* Makefile.tpl (configure-stage[+id+]-[+prefix+][+module+],
all-stage[+id+]-[+prefix+][+module+], : Use $(current_stage) instead
of `cat stage_current`. Always provide the `r' and `s' variables.
(clean-stage[+id+]-[+prefix+][+module+]): Likewise, and make it into
a single shell execution.
(configure-[+prefix+][+module+], all-[+prefix+][+module+]): For
bootstrapped modules, make the stage1 module if the build was not
started yet, else build the current stage.
(all-host, all-target): Omit bootstrapped modules (if bootstrapping).
(all-build, all-host, all-target, [+make_target+]-host,
[+make_target+]-target): Do not use \-continued lines.
(target modules): Depend on stage_last, not all-gcc, if bootstrapping.
(current_stage, restrap, stage_last): New.
* Makefile.in: Regenerate.
* configure: Regenerate.
gcc:
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25476
* Makefile.in (LDFLAGS): Define from autoconf substitution.
* Makefile.in (BOOTSTRAPPING): New.
(quickstrap): New definition if BOOTSTRAPPING=yes.
* Makefile.in (CONFIG_LANGUAGES): Substitute all_selected_languages.
* configure.ac: Substitute all_selected_languages with the languages
that were configured. For all the other variables except
lang_specs_files, include all the languages in the tree.
* configure: Regenerate.
* Makefile.in (stmp-fixinc): Copy includes from the prev-gcc directory,
if there is one. Run the commands to run fixincludes in the same
subshell.
* doc/makefile.texi: Document new makefile targets from toplevel bootstrap.
* doc/install.texi: Document exact conventions for searching target tools.
Document --with-build-time-tools. Document toplevel bootstrap. Document
something more about building an Ada cross-compiler. Don't list GNU Make
requirements which affect all platforms.
From-SVN: r111295
2006-02-20 09:29:17 +01:00
|
|
|
@ignore
|
2001-07-02 20:08:42 +02:00
|
|
|
Note that the bootstrap compiler and the resulting GCC must be link
|
|
|
|
compatible, else the bootstrap will fail with linker errors about
|
|
|
|
incompatible object file formats. Several multilibed targets are
|
2001-07-27 10:48:38 +02:00
|
|
|
affected by this requirement, see
|
|
|
|
@ifnothtml
|
|
|
|
@ref{Specific, host/target specific installation notes}.
|
|
|
|
@end ifnothtml
|
2001-08-18 00:21:49 +02:00
|
|
|
@ifhtml
|
2001-07-27 10:48:38 +02:00
|
|
|
@uref{specific.html,,host/target specific installation notes}.
|
2001-08-18 00:21:49 +02:00
|
|
|
@end ifhtml
|
re PR bootstrap/25670 (build fail with 'make all-gcc')
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25670
* Makefile.tpl ([+compare-target+]): Print explanation messages.
* Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES): New flags_to_pass.
* Makefile.tpl (BASE_FLAGS_TO_PASS): Support optional flags_to_pass.
(EXTRA_GCC_FLAGS): Remove ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES,
BUILD_PREFIX, BUILD_PREFIX_1.
* configure.in: (BUILD_PREFIX, BUILD_PREFIX_1): Don't substitute.
* Makefile.def (bootstrap stage 1): Pass LIBCFLAGS too.
* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Override LIBCFLAGS too.
* Makefile.tpl (configure-stage[+id+]-[+prefix+][+module+],
all-stage[+id+]-[+prefix+][+module+], : Use $(current_stage) instead
of `cat stage_current`. Always provide the `r' and `s' variables.
(clean-stage[+id+]-[+prefix+][+module+]): Likewise, and make it into
a single shell execution.
(configure-[+prefix+][+module+], all-[+prefix+][+module+]): For
bootstrapped modules, make the stage1 module if the build was not
started yet, else build the current stage.
(all-host, all-target): Omit bootstrapped modules (if bootstrapping).
(all-build, all-host, all-target, [+make_target+]-host,
[+make_target+]-target): Do not use \-continued lines.
(target modules): Depend on stage_last, not all-gcc, if bootstrapping.
(current_stage, restrap, stage_last): New.
* Makefile.in: Regenerate.
* configure: Regenerate.
gcc:
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25476
* Makefile.in (LDFLAGS): Define from autoconf substitution.
* Makefile.in (BOOTSTRAPPING): New.
(quickstrap): New definition if BOOTSTRAPPING=yes.
* Makefile.in (CONFIG_LANGUAGES): Substitute all_selected_languages.
* configure.ac: Substitute all_selected_languages with the languages
that were configured. For all the other variables except
lang_specs_files, include all the languages in the tree.
* configure: Regenerate.
* Makefile.in (stmp-fixinc): Copy includes from the prev-gcc directory,
if there is one. Run the commands to run fixincludes in the same
subshell.
* doc/makefile.texi: Document new makefile targets from toplevel bootstrap.
* doc/install.texi: Document exact conventions for searching target tools.
Document --with-build-time-tools. Document toplevel bootstrap. Document
something more about building an Ada cross-compiler. Don't list GNU Make
requirements which affect all platforms.
From-SVN: r111295
2006-02-20 09:29:17 +01:00
|
|
|
@end ignore
|
2001-07-02 20:08:42 +02:00
|
|
|
|
2001-05-12 00:10:54 +02:00
|
|
|
To configure GCC:
|
|
|
|
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@smallexample
|
2010-12-20 08:25:51 +01:00
|
|
|
% mkdir @var{objdir}
|
|
|
|
% cd @var{objdir}
|
|
|
|
% @var{srcdir}/configure [@var{options}] [@var{target}]
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@end smallexample
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2007-08-21 17:35:30 +02:00
|
|
|
@heading Distributor options
|
|
|
|
|
|
|
|
If you will be distributing binary versions of GCC, with modifications
|
|
|
|
to the source code, you should use the options described in this
|
|
|
|
section to make clear that your version contains modifications.
|
|
|
|
|
|
|
|
@table @code
|
|
|
|
@item --with-pkgversion=@var{version}
|
|
|
|
Specify a string that identifies your package. You may wish
|
|
|
|
to include a build number or build date. This version string will be
|
|
|
|
included in the output of @command{gcc --version}. This suffix does
|
|
|
|
not replace the default version string, only the @samp{GCC} part.
|
|
|
|
|
|
|
|
The default value is @samp{GCC}.
|
|
|
|
|
|
|
|
@item --with-bugurl=@var{url}
|
|
|
|
Specify the URL that users should visit if they wish to report a bug.
|
|
|
|
You are of course welcome to forward bugs reported to you to the FSF,
|
|
|
|
if you determine that they are not bugs in your modifications.
|
|
|
|
|
|
|
|
The default value refers to the FSF's GCC bug tracker.
|
|
|
|
|
|
|
|
@end table
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2001-06-02 20:21:37 +02:00
|
|
|
@heading Target specification
|
2001-05-12 00:10:54 +02:00
|
|
|
@itemize @bullet
|
|
|
|
@item
|
2001-06-01 20:08:19 +02:00
|
|
|
GCC has code to correctly determine the correct value for @var{target}
|
2009-09-30 02:47:38 +02:00
|
|
|
for nearly all native systems. Therefore, we highly recommend you do
|
|
|
|
not provide a configure target when configuring a native compiler.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
|
|
|
@item
|
2001-06-13 15:07:28 +02:00
|
|
|
@var{target} must be specified as @option{--target=@var{target}}
|
2001-06-27 01:23:32 +02:00
|
|
|
when configuring a cross compiler; examples of valid targets would be
|
inclhack.def (aix_syswait, [...]): Remove.
fixincludes:
* inclhack.def (aix_syswait, exception_structure,
pthread_page_size): Remove.
(math_exception): Remove mention of fixproto in comment.
* fixincl.x: Regenerate.
* mkheaders.in: Do not handle STMP_FIXPROTO.
gcc:
* config/arm/t-arm-coff, config/h8300/coff.h,
config/i386/i386-aout.h, config/i386/i386-coff.h,
config/libgloss.h, config/m68k/coff.h, config/m68k/m68k-aout.h,
config/pdp11/2bsd.h, config/rs6000/aix41.h,
config/rs6000/aix41.opt, config/rs6000/t-newas, config/sh/coff.h,
fix-header.c, fixproto, gen-protos.c, protoize.c, scan-decls.c,
scan-types.sh, scan.c, scan.h, sort-protos, sys-protos.h,
sys-types.h: Remove.
* Makefile.in: Remove protoize and fixproto support and references
in comments.
(SYSCALLS.c.X-warn, TARGET_GETGROUPS_T, STMP_FIXPROTO,
PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, FIXPROTO_DEFINES):
Remove.
(ALL_HOST_OBJS): Remove $(PROTO_OBJS).
(MOSTLYCLEANFILES): Remove protoize$(exeext) and
unprotoize$(exeext).
(rest.encap): Don't depend on $(STMP_FIXPROTO)
(.PHONY): Don't depend on proto.
(libgcc-support): Don't depend on $(STMP_FIXPROTO).
(proto, PROTO_OBJS, protoize$(exeext), unprotoize$(exeext),
protoize.o, unprotoize.o, SYSCALLS.c.X, test-protoize-simple,
deduced.h, GEN_PROTOS_OBJS, build/gen-protos$(build_exeext),
build/gen-protos.o, build/scan.o, xsys-protos.h,
build/fix-header$(build_exeext), build/fix-header.o,
build/scan-decls.o, fixhdr.ready, stmp-fixproto,
stmp-install-fixproto): Remove.
(mostlyclean): Don't remove xsys-protos.hT, SYSCALLS.c.X,
SYSCALLS.c or fixproto files.
(install-common): Don't install protoize.
(install-headers-tar, install-headers-cpio, install-headers-cp):
Don't depend on $(STMP_FIXPROTO).
(install-mkheaders): Don't depend on $(STMP_FIXPROTO). Don't
install fixproto files or write out fixproto settings.
(uninstall): Don't uninstall protoize.
* config.gcc (use_fixproto): Remove.
(arm-*-coff*, armel-*-coff*, h8300-*-*, i[34567]86-*-aout*,
i[34567]86-*-coff*, m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd,
rs6000-ibm-aix4.[12]*, powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
* config/m32r/t-linux (STMP_FIXPROTO): Remove.
* config/m68k/m68k.c: Remove M68K_TARGET_COFF-conditional code.
* config/mips/t-iris (FIXPROTO_DEFINES): Remove.
* config/pa/t-pa-hpux (FIXPROTO_DEFINES): Remove.
* config/pdp11/pdp11.c: Remove TWO_BSD-conditional code.
* config/t-svr4 (FIXPROTO_DEFINES): Remove.
* config/t-vxworks (STMP_FIXPROTO): Remove.
* configure.ac (AC_TYPE_GETGROUPS, TARGET_GETGROUPS_T,
STMP_FIXPROTO): Remove.
* config.in, configure: Regenerate.
* crtstuff.c (gid_t, uid_t): Don't undefine.
* doc/install.texi: Change m68k-coff to m68k-elf in example.
(arm-*-coff, arm-*-aout: Remove target entries.
(*-ibm-aix*): Mention removal of support for AIX 4.2 and older.
Remove mention of AIX 4.1.
(m68k-*-*): Remove mention of m68k-*-aout and m68k-*-coff*.
* doc/invoke.texi (Running Protoize): Remove.
* doc/trouble.texi (Actual Bugs): Remove mention of fixproto.
(Protoize Caveats): Remove.
* tsystem.h: Update comments on headers assumed to exist.
gcc/po:
* EXCLUDES (fix-header.c, gen-protos.c, scan-decls.c, scan.c,
scan.h): Remove.
gcc/testsuite:
* g++.old-deja/g++.ext/attrib5.C, g++.old-deja/g++.jason/thunk3.C,
gcc.c-torture/compile/981006-1.c: Don't XFAIL or add special
options for removed targets.
libgcc:
* config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
From-SVN: r145158
2009-03-28 07:51:09 +01:00
|
|
|
m68k-elf, sh-elf, etc.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
|
|
|
@item
|
2001-06-13 15:07:28 +02:00
|
|
|
Specifying just @var{target} instead of @option{--target=@var{target}}
|
2001-06-01 20:08:19 +02:00
|
|
|
implies that the host defaults to @var{target}.
|
2001-05-12 00:10:54 +02:00
|
|
|
@end itemize
|
|
|
|
|
|
|
|
|
2001-06-02 20:21:37 +02:00
|
|
|
@heading Options specification
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2001-06-02 20:21:37 +02:00
|
|
|
Use @var{options} to override several configure time options for
|
2003-04-08 08:39:15 +02:00
|
|
|
GCC@. A list of supported @var{options} follows; @samp{configure
|
2001-11-06 21:05:07 +01:00
|
|
|
--help} may list other options, but those not listed below may not
|
|
|
|
work and should not normally be used.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2004-02-20 13:55:00 +01:00
|
|
|
Note that each @option{--enable} option has a corresponding
|
|
|
|
@option{--disable} option and that each @option{--with} option has a
|
|
|
|
corresponding @option{--without} option.
|
|
|
|
|
2001-06-02 20:21:37 +02:00
|
|
|
@table @code
|
|
|
|
@item --prefix=@var{dirname}
|
|
|
|
Specify the toplevel installation
|
2001-05-12 00:10:54 +02:00
|
|
|
directory. This is the recommended way to install the tools into a directory
|
|
|
|
other than the default. The toplevel installation directory defaults to
|
2001-06-13 15:07:28 +02:00
|
|
|
@file{/usr/local}.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2001-06-01 20:08:19 +02:00
|
|
|
We @strong{highly} recommend against @var{dirname} being the same or a
|
2003-02-21 04:12:17 +01:00
|
|
|
subdirectory of @var{objdir} or vice versa. If specifying a directory
|
|
|
|
beneath a user's home directory tree, some shells will not expand
|
|
|
|
@var{dirname} correctly if it contains the @samp{~} metacharacter; use
|
|
|
|
@env{$HOME} instead.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2003-08-01 23:53:22 +02:00
|
|
|
The following standard @command{autoconf} options are supported. Normally you
|
|
|
|
should not need to use these options.
|
2001-06-02 20:21:37 +02:00
|
|
|
@table @code
|
2001-06-12 21:36:53 +02:00
|
|
|
@item --exec-prefix=@var{dirname}
|
|
|
|
Specify the toplevel installation directory for architecture-dependent
|
|
|
|
files. The default is @file{@var{prefix}}.
|
|
|
|
|
|
|
|
@item --bindir=@var{dirname}
|
|
|
|
Specify the installation directory for the executables called by users
|
|
|
|
(such as @command{gcc} and @command{g++}). The default is
|
|
|
|
@file{@var{exec-prefix}/bin}.
|
|
|
|
|
|
|
|
@item --libdir=@var{dirname}
|
|
|
|
Specify the installation directory for object code libraries and
|
2003-08-01 23:53:22 +02:00
|
|
|
internal data files of GCC@. The default is @file{@var{exec-prefix}/lib}.
|
|
|
|
|
|
|
|
@item --libexecdir=@var{dirname}
|
|
|
|
Specify the installation directory for internal executables of GCC@.
|
2008-06-15 11:42:13 +02:00
|
|
|
The default is @file{@var{exec-prefix}/libexec}.
|
2001-06-12 21:36:53 +02:00
|
|
|
|
|
|
|
@item --with-slibdir=@var{dirname}
|
|
|
|
Specify the installation directory for the shared libgcc library. The
|
|
|
|
default is @file{@var{libdir}}.
|
|
|
|
|
Cleanups after the update to Autoconf 2.64, Automake 1.11.
/:
* configure.ac: Remove --with-datarootdir, --with-docdir,
--with-pdfdir, --with-htmldir switches.
* configure: Regenerate.
gcc/:
* configure.ac: Remove --with-datarootdir, --with-docdir,
--with-htmldir switches. No need to call AC_SUBST for
datarootdir, docdir, htmldir any more.
* configure: Regenerate.
* doc/install.texi (Configuration): Document --datarootdir,
--docdir, --htmldir, --pdfdir; update documentation for
--infodir, --mandir.
(Prerequisites): Bump Autoconf version to 2.64, Automake to
1.11, M4 to 1.4.6.
libgfortran/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libjava/classpath/:
* doc/cp-hacking.texinfo (Needed Tools and Libraries): Bump
Autoconf version to 2.64, Automake to 1.11, M4 to 1.4.6.
libjava/:
* HACKING: Use aclocal-1.11 and autoconf-2.64 in example.
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libstdc++-v3/:
* doc/xml/manual/build_hacking.xml: Use tools from Autoconf
2.64 and Automake 1.11 in examples; update link to Autoconf
manual page about quadrigraphs.
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libssp/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
boehm-gc/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libmudflap/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
zlib/:
* Makefile.am (install-html, install-pdf, html): Remove.
* Makefile.in: Regenerate.
libffi/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libgomp/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
From-SVN: r151015
2009-08-22 15:41:50 +02:00
|
|
|
@item --datarootdir=@var{dirname}
|
|
|
|
Specify the root of the directory tree for read-only architecture-independent
|
|
|
|
data files referenced by GCC@. The default is @file{@var{prefix}/share}.
|
|
|
|
|
2001-06-12 21:36:53 +02:00
|
|
|
@item --infodir=@var{dirname}
|
|
|
|
Specify the installation directory for documentation in info format.
|
Cleanups after the update to Autoconf 2.64, Automake 1.11.
/:
* configure.ac: Remove --with-datarootdir, --with-docdir,
--with-pdfdir, --with-htmldir switches.
* configure: Regenerate.
gcc/:
* configure.ac: Remove --with-datarootdir, --with-docdir,
--with-htmldir switches. No need to call AC_SUBST for
datarootdir, docdir, htmldir any more.
* configure: Regenerate.
* doc/install.texi (Configuration): Document --datarootdir,
--docdir, --htmldir, --pdfdir; update documentation for
--infodir, --mandir.
(Prerequisites): Bump Autoconf version to 2.64, Automake to
1.11, M4 to 1.4.6.
libgfortran/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libjava/classpath/:
* doc/cp-hacking.texinfo (Needed Tools and Libraries): Bump
Autoconf version to 2.64, Automake to 1.11, M4 to 1.4.6.
libjava/:
* HACKING: Use aclocal-1.11 and autoconf-2.64 in example.
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libstdc++-v3/:
* doc/xml/manual/build_hacking.xml: Use tools from Autoconf
2.64 and Automake 1.11 in examples; update link to Autoconf
manual page about quadrigraphs.
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libssp/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
boehm-gc/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libmudflap/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
zlib/:
* Makefile.am (install-html, install-pdf, html): Remove.
* Makefile.in: Regenerate.
libffi/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libgomp/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
From-SVN: r151015
2009-08-22 15:41:50 +02:00
|
|
|
The default is @file{@var{datarootdir}/info}.
|
2001-06-12 21:36:53 +02:00
|
|
|
|
2002-08-22 19:46:35 +02:00
|
|
|
@item --datadir=@var{dirname}
|
|
|
|
Specify the installation directory for some architecture-independent
|
Cleanups after the update to Autoconf 2.64, Automake 1.11.
/:
* configure.ac: Remove --with-datarootdir, --with-docdir,
--with-pdfdir, --with-htmldir switches.
* configure: Regenerate.
gcc/:
* configure.ac: Remove --with-datarootdir, --with-docdir,
--with-htmldir switches. No need to call AC_SUBST for
datarootdir, docdir, htmldir any more.
* configure: Regenerate.
* doc/install.texi (Configuration): Document --datarootdir,
--docdir, --htmldir, --pdfdir; update documentation for
--infodir, --mandir.
(Prerequisites): Bump Autoconf version to 2.64, Automake to
1.11, M4 to 1.4.6.
libgfortran/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libjava/classpath/:
* doc/cp-hacking.texinfo (Needed Tools and Libraries): Bump
Autoconf version to 2.64, Automake to 1.11, M4 to 1.4.6.
libjava/:
* HACKING: Use aclocal-1.11 and autoconf-2.64 in example.
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libstdc++-v3/:
* doc/xml/manual/build_hacking.xml: Use tools from Autoconf
2.64 and Automake 1.11 in examples; update link to Autoconf
manual page about quadrigraphs.
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libssp/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
boehm-gc/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libmudflap/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
zlib/:
* Makefile.am (install-html, install-pdf, html): Remove.
* Makefile.in: Regenerate.
libffi/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libgomp/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
From-SVN: r151015
2009-08-22 15:41:50 +02:00
|
|
|
data files referenced by GCC@. The default is @file{@var{datarootdir}}.
|
|
|
|
|
|
|
|
@item --docdir=@var{dirname}
|
|
|
|
Specify the installation directory for documentation files (other
|
|
|
|
than Info) for GCC@. The default is @file{@var{datarootdir}/doc}.
|
|
|
|
|
|
|
|
@item --htmldir=@var{dirname}
|
|
|
|
Specify the installation directory for HTML documentation files.
|
|
|
|
The default is @file{@var{docdir}}.
|
|
|
|
|
|
|
|
@item --pdfdir=@var{dirname}
|
|
|
|
Specify the installation directory for PDF documentation files.
|
|
|
|
The default is @file{@var{docdir}}.
|
2002-08-22 19:46:35 +02:00
|
|
|
|
2001-06-12 21:36:53 +02:00
|
|
|
@item --mandir=@var{dirname}
|
|
|
|
Specify the installation directory for manual pages. The default is
|
Cleanups after the update to Autoconf 2.64, Automake 1.11.
/:
* configure.ac: Remove --with-datarootdir, --with-docdir,
--with-pdfdir, --with-htmldir switches.
* configure: Regenerate.
gcc/:
* configure.ac: Remove --with-datarootdir, --with-docdir,
--with-htmldir switches. No need to call AC_SUBST for
datarootdir, docdir, htmldir any more.
* configure: Regenerate.
* doc/install.texi (Configuration): Document --datarootdir,
--docdir, --htmldir, --pdfdir; update documentation for
--infodir, --mandir.
(Prerequisites): Bump Autoconf version to 2.64, Automake to
1.11, M4 to 1.4.6.
libgfortran/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libjava/classpath/:
* doc/cp-hacking.texinfo (Needed Tools and Libraries): Bump
Autoconf version to 2.64, Automake to 1.11, M4 to 1.4.6.
libjava/:
* HACKING: Use aclocal-1.11 and autoconf-2.64 in example.
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libstdc++-v3/:
* doc/xml/manual/build_hacking.xml: Use tools from Autoconf
2.64 and Automake 1.11 in examples; update link to Autoconf
manual page about quadrigraphs.
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libssp/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
boehm-gc/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libmudflap/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
zlib/:
* Makefile.am (install-html, install-pdf, html): Remove.
* Makefile.in: Regenerate.
libffi/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
libgomp/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.
From-SVN: r151015
2009-08-22 15:41:50 +02:00
|
|
|
@file{@var{datarootdir}/man}. (Note that the manual pages are only extracts
|
|
|
|
from the full GCC manuals, which are provided in Texinfo format. The manpages
|
2001-06-12 21:36:53 +02:00
|
|
|
are derived by an automatic conversion process from parts of the full
|
|
|
|
manual.)
|
|
|
|
|
2001-06-02 20:21:37 +02:00
|
|
|
@item --with-gxx-include-dir=@var{dirname}
|
|
|
|
Specify
|
2009-04-13 06:50:06 +02:00
|
|
|
the installation directory for G++ header files. The default depends
|
|
|
|
on other configuration options, and differs between cross and native
|
|
|
|
configurations.
|
2001-06-11 09:26:33 +02:00
|
|
|
|
2011-06-03 11:29:33 +02:00
|
|
|
@item --with-specs=@var{specs}
|
|
|
|
Specify additional command line driver SPECS.
|
|
|
|
This can be useful if you need to turn on a non-standard feature by
|
|
|
|
default without modifying the compiler's source code, for instance
|
|
|
|
@option{--with-specs=%@{!fcommon:%@{!fno-common:-fno-common@}@}}.
|
|
|
|
@ifnothtml
|
|
|
|
@xref{Spec Files,, Specifying subprocesses and the switches to pass to them,
|
|
|
|
gcc, Using the GNU Compiler Collection (GCC)},
|
|
|
|
@end ifnothtml
|
|
|
|
@ifhtml
|
|
|
|
See ``Spec Files'' in the main manual
|
|
|
|
@end ifhtml
|
|
|
|
|
2001-06-02 20:21:37 +02:00
|
|
|
@end table
|
2001-05-12 00:10:54 +02:00
|
|
|
|
configure.in: Add AC_ARG_PROGRAM to support program name transformation with --program-prefix...
* configure.in: Add AC_ARG_PROGRAM to support program name
transformation with --program-prefix, --program-suffix and
--program-transform-name.
* Makefile.in (GCC_INSTALL_NAME, CPP_INSTALL_NAME,
PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
GCCBUG_INSTALL_NAME, GCC_CROSS_NAME, CPP_CROSS_NAME,
PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Handle
program_transform_name the way suggested by autoconf.
(GCC_TARGET_INSTALL_NAME): Define.
(install-driver): Use the transformed target alias name.
* Make-lang.in (CXX_INSTALL_NAME, GXX_CROSS_NAME,
DEMANGLER_CROSS_NAME): Handle program_transform_name the way
suggested by autoconf.
(GXX_TARGET_INSTALL_NAME, CXX_TARGET_INSTALL_NAME): Define.
(c++.install-common): Use the transformed target alias names.
* Make-lang.in (G77_INSTALL_NAME, G77_CROSS_NAME): Handle
program_transform_name the way suggested by autoconf.
* Make-lang.in (JAVA_INSTALL_NAME, JAVA_CROSS_NAME): Handle
program_transform_name the way suggested by autoconf.
(java.install-common): Also transform auxiliary program names with
program_transform_name.
From-SVN: r46856
2001-11-08 21:18:18 +01:00
|
|
|
@item --program-prefix=@var{prefix}
|
|
|
|
GCC supports some transformations of the names of its programs when
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
installing them. This option prepends @var{prefix} to the names of
|
|
|
|
programs to install in @var{bindir} (see above). For example, specifying
|
configure.in: Add AC_ARG_PROGRAM to support program name transformation with --program-prefix...
* configure.in: Add AC_ARG_PROGRAM to support program name
transformation with --program-prefix, --program-suffix and
--program-transform-name.
* Makefile.in (GCC_INSTALL_NAME, CPP_INSTALL_NAME,
PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
GCCBUG_INSTALL_NAME, GCC_CROSS_NAME, CPP_CROSS_NAME,
PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Handle
program_transform_name the way suggested by autoconf.
(GCC_TARGET_INSTALL_NAME): Define.
(install-driver): Use the transformed target alias name.
* Make-lang.in (CXX_INSTALL_NAME, GXX_CROSS_NAME,
DEMANGLER_CROSS_NAME): Handle program_transform_name the way
suggested by autoconf.
(GXX_TARGET_INSTALL_NAME, CXX_TARGET_INSTALL_NAME): Define.
(c++.install-common): Use the transformed target alias names.
* Make-lang.in (G77_INSTALL_NAME, G77_CROSS_NAME): Handle
program_transform_name the way suggested by autoconf.
* Make-lang.in (JAVA_INSTALL_NAME, JAVA_CROSS_NAME): Handle
program_transform_name the way suggested by autoconf.
(java.install-common): Also transform auxiliary program names with
program_transform_name.
From-SVN: r46856
2001-11-08 21:18:18 +01:00
|
|
|
@option{--program-prefix=foo-} would result in @samp{gcc}
|
|
|
|
being installed as @file{/usr/local/bin/foo-gcc}.
|
|
|
|
|
|
|
|
@item --program-suffix=@var{suffix}
|
|
|
|
Appends @var{suffix} to the names of programs to install in @var{bindir}
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
(see above). For example, specifying @option{--program-suffix=-3.1}
|
configure.in: Add AC_ARG_PROGRAM to support program name transformation with --program-prefix...
* configure.in: Add AC_ARG_PROGRAM to support program name
transformation with --program-prefix, --program-suffix and
--program-transform-name.
* Makefile.in (GCC_INSTALL_NAME, CPP_INSTALL_NAME,
PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
GCCBUG_INSTALL_NAME, GCC_CROSS_NAME, CPP_CROSS_NAME,
PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Handle
program_transform_name the way suggested by autoconf.
(GCC_TARGET_INSTALL_NAME): Define.
(install-driver): Use the transformed target alias name.
* Make-lang.in (CXX_INSTALL_NAME, GXX_CROSS_NAME,
DEMANGLER_CROSS_NAME): Handle program_transform_name the way
suggested by autoconf.
(GXX_TARGET_INSTALL_NAME, CXX_TARGET_INSTALL_NAME): Define.
(c++.install-common): Use the transformed target alias names.
* Make-lang.in (G77_INSTALL_NAME, G77_CROSS_NAME): Handle
program_transform_name the way suggested by autoconf.
* Make-lang.in (JAVA_INSTALL_NAME, JAVA_CROSS_NAME): Handle
program_transform_name the way suggested by autoconf.
(java.install-common): Also transform auxiliary program names with
program_transform_name.
From-SVN: r46856
2001-11-08 21:18:18 +01:00
|
|
|
would result in @samp{gcc} being installed as
|
|
|
|
@file{/usr/local/bin/gcc-3.1}.
|
|
|
|
|
|
|
|
@item --program-transform-name=@var{pattern}
|
|
|
|
Applies the @samp{sed} script @var{pattern} to be applied to the names
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
of programs to install in @var{bindir} (see above). @var{pattern} has to
|
configure.in: Add AC_ARG_PROGRAM to support program name transformation with --program-prefix...
* configure.in: Add AC_ARG_PROGRAM to support program name
transformation with --program-prefix, --program-suffix and
--program-transform-name.
* Makefile.in (GCC_INSTALL_NAME, CPP_INSTALL_NAME,
PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
GCCBUG_INSTALL_NAME, GCC_CROSS_NAME, CPP_CROSS_NAME,
PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Handle
program_transform_name the way suggested by autoconf.
(GCC_TARGET_INSTALL_NAME): Define.
(install-driver): Use the transformed target alias name.
* Make-lang.in (CXX_INSTALL_NAME, GXX_CROSS_NAME,
DEMANGLER_CROSS_NAME): Handle program_transform_name the way
suggested by autoconf.
(GXX_TARGET_INSTALL_NAME, CXX_TARGET_INSTALL_NAME): Define.
(c++.install-common): Use the transformed target alias names.
* Make-lang.in (G77_INSTALL_NAME, G77_CROSS_NAME): Handle
program_transform_name the way suggested by autoconf.
* Make-lang.in (JAVA_INSTALL_NAME, JAVA_CROSS_NAME): Handle
program_transform_name the way suggested by autoconf.
(java.install-common): Also transform auxiliary program names with
program_transform_name.
From-SVN: r46856
2001-11-08 21:18:18 +01:00
|
|
|
consist of one or more basic @samp{sed} editing commands, separated by
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
semicolons. For example, if you want the @samp{gcc} program name to be
|
configure.in: Add AC_ARG_PROGRAM to support program name transformation with --program-prefix...
* configure.in: Add AC_ARG_PROGRAM to support program name
transformation with --program-prefix, --program-suffix and
--program-transform-name.
* Makefile.in (GCC_INSTALL_NAME, CPP_INSTALL_NAME,
PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
GCCBUG_INSTALL_NAME, GCC_CROSS_NAME, CPP_CROSS_NAME,
PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Handle
program_transform_name the way suggested by autoconf.
(GCC_TARGET_INSTALL_NAME): Define.
(install-driver): Use the transformed target alias name.
* Make-lang.in (CXX_INSTALL_NAME, GXX_CROSS_NAME,
DEMANGLER_CROSS_NAME): Handle program_transform_name the way
suggested by autoconf.
(GXX_TARGET_INSTALL_NAME, CXX_TARGET_INSTALL_NAME): Define.
(c++.install-common): Use the transformed target alias names.
* Make-lang.in (G77_INSTALL_NAME, G77_CROSS_NAME): Handle
program_transform_name the way suggested by autoconf.
* Make-lang.in (JAVA_INSTALL_NAME, JAVA_CROSS_NAME): Handle
program_transform_name the way suggested by autoconf.
(java.install-common): Also transform auxiliary program names with
program_transform_name.
From-SVN: r46856
2001-11-08 21:18:18 +01:00
|
|
|
transformed to the installed program @file{/usr/local/bin/myowngcc} and
|
|
|
|
the @samp{g++} program name to be transformed to
|
|
|
|
@file{/usr/local/bin/gspecial++} without changing other program names,
|
|
|
|
you could use the pattern
|
|
|
|
@option{--program-transform-name='s/^gcc$/myowngcc/; s/^g++$/gspecial++/'}
|
|
|
|
to achieve this effect.
|
|
|
|
|
|
|
|
All three options can be combined and used together, resulting in more
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
complex conversion patterns. As a basic rule, @var{prefix} (and
|
configure.in: Add AC_ARG_PROGRAM to support program name transformation with --program-prefix...
* configure.in: Add AC_ARG_PROGRAM to support program name
transformation with --program-prefix, --program-suffix and
--program-transform-name.
* Makefile.in (GCC_INSTALL_NAME, CPP_INSTALL_NAME,
PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
GCCBUG_INSTALL_NAME, GCC_CROSS_NAME, CPP_CROSS_NAME,
PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Handle
program_transform_name the way suggested by autoconf.
(GCC_TARGET_INSTALL_NAME): Define.
(install-driver): Use the transformed target alias name.
* Make-lang.in (CXX_INSTALL_NAME, GXX_CROSS_NAME,
DEMANGLER_CROSS_NAME): Handle program_transform_name the way
suggested by autoconf.
(GXX_TARGET_INSTALL_NAME, CXX_TARGET_INSTALL_NAME): Define.
(c++.install-common): Use the transformed target alias names.
* Make-lang.in (G77_INSTALL_NAME, G77_CROSS_NAME): Handle
program_transform_name the way suggested by autoconf.
* Make-lang.in (JAVA_INSTALL_NAME, JAVA_CROSS_NAME): Handle
program_transform_name the way suggested by autoconf.
(java.install-common): Also transform auxiliary program names with
program_transform_name.
From-SVN: r46856
2001-11-08 21:18:18 +01:00
|
|
|
@var{suffix}) are prepended (appended) before further transformations
|
|
|
|
can happen with a special transformation script @var{pattern}.
|
|
|
|
|
2002-09-04 01:52:06 +02:00
|
|
|
As currently implemented, this option only takes effect for native
|
configure.in: Add AC_ARG_PROGRAM to support program name transformation with --program-prefix...
* configure.in: Add AC_ARG_PROGRAM to support program name
transformation with --program-prefix, --program-suffix and
--program-transform-name.
* Makefile.in (GCC_INSTALL_NAME, CPP_INSTALL_NAME,
PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
GCCBUG_INSTALL_NAME, GCC_CROSS_NAME, CPP_CROSS_NAME,
PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Handle
program_transform_name the way suggested by autoconf.
(GCC_TARGET_INSTALL_NAME): Define.
(install-driver): Use the transformed target alias name.
* Make-lang.in (CXX_INSTALL_NAME, GXX_CROSS_NAME,
DEMANGLER_CROSS_NAME): Handle program_transform_name the way
suggested by autoconf.
(GXX_TARGET_INSTALL_NAME, CXX_TARGET_INSTALL_NAME): Define.
(c++.install-common): Use the transformed target alias names.
* Make-lang.in (G77_INSTALL_NAME, G77_CROSS_NAME): Handle
program_transform_name the way suggested by autoconf.
* Make-lang.in (JAVA_INSTALL_NAME, JAVA_CROSS_NAME): Handle
program_transform_name the way suggested by autoconf.
(java.install-common): Also transform auxiliary program names with
program_transform_name.
From-SVN: r46856
2001-11-08 21:18:18 +01:00
|
|
|
builds; cross compiler binaries' names are not transformed even when a
|
2002-09-04 01:52:06 +02:00
|
|
|
transformation is explicitly asked for by one of these options.
|
configure.in: Add AC_ARG_PROGRAM to support program name transformation with --program-prefix...
* configure.in: Add AC_ARG_PROGRAM to support program name
transformation with --program-prefix, --program-suffix and
--program-transform-name.
* Makefile.in (GCC_INSTALL_NAME, CPP_INSTALL_NAME,
PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
GCCBUG_INSTALL_NAME, GCC_CROSS_NAME, CPP_CROSS_NAME,
PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Handle
program_transform_name the way suggested by autoconf.
(GCC_TARGET_INSTALL_NAME): Define.
(install-driver): Use the transformed target alias name.
* Make-lang.in (CXX_INSTALL_NAME, GXX_CROSS_NAME,
DEMANGLER_CROSS_NAME): Handle program_transform_name the way
suggested by autoconf.
(GXX_TARGET_INSTALL_NAME, CXX_TARGET_INSTALL_NAME): Define.
(c++.install-common): Use the transformed target alias names.
* Make-lang.in (G77_INSTALL_NAME, G77_CROSS_NAME): Handle
program_transform_name the way suggested by autoconf.
* Make-lang.in (JAVA_INSTALL_NAME, JAVA_CROSS_NAME): Handle
program_transform_name the way suggested by autoconf.
(java.install-common): Also transform auxiliary program names with
program_transform_name.
From-SVN: r46856
2001-11-08 21:18:18 +01:00
|
|
|
|
|
|
|
For native builds, some of the installed programs are also installed
|
|
|
|
with the target alias in front of their name, as in
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
@samp{i686-pc-linux-gnu-gcc}. All of the above transformations happen
|
contrib.texi, [...]: Improve Texinfo formatting.
* doc/contrib.texi, doc/cpp.texi, doc/cppopts.texi,
doc/extend.texi, doc/gcov.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/sourcebuild.texi, doc/tm.texi: Improve Texinfo formatting.
From-SVN: r89725
2004-10-28 03:00:31 +02:00
|
|
|
before the target alias is prepended to the name---so, specifying
|
configure.in: Add AC_ARG_PROGRAM to support program name transformation with --program-prefix...
* configure.in: Add AC_ARG_PROGRAM to support program name
transformation with --program-prefix, --program-suffix and
--program-transform-name.
* Makefile.in (GCC_INSTALL_NAME, CPP_INSTALL_NAME,
PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
GCCBUG_INSTALL_NAME, GCC_CROSS_NAME, CPP_CROSS_NAME,
PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Handle
program_transform_name the way suggested by autoconf.
(GCC_TARGET_INSTALL_NAME): Define.
(install-driver): Use the transformed target alias name.
* Make-lang.in (CXX_INSTALL_NAME, GXX_CROSS_NAME,
DEMANGLER_CROSS_NAME): Handle program_transform_name the way
suggested by autoconf.
(GXX_TARGET_INSTALL_NAME, CXX_TARGET_INSTALL_NAME): Define.
(c++.install-common): Use the transformed target alias names.
* Make-lang.in (G77_INSTALL_NAME, G77_CROSS_NAME): Handle
program_transform_name the way suggested by autoconf.
* Make-lang.in (JAVA_INSTALL_NAME, JAVA_CROSS_NAME): Handle
program_transform_name the way suggested by autoconf.
(java.install-common): Also transform auxiliary program names with
program_transform_name.
From-SVN: r46856
2001-11-08 21:18:18 +01:00
|
|
|
@option{--program-prefix=foo-} and @option{program-suffix=-3.1}, the
|
|
|
|
resulting binary would be installed as
|
|
|
|
@file{/usr/local/bin/i686-pc-linux-gnu-foo-gcc-3.1}.
|
|
|
|
|
2002-04-18 20:04:03 +02:00
|
|
|
As a last shortcoming, none of the installed Ada programs are
|
configure.in: Add AC_ARG_PROGRAM to support program name transformation with --program-prefix...
* configure.in: Add AC_ARG_PROGRAM to support program name
transformation with --program-prefix, --program-suffix and
--program-transform-name.
* Makefile.in (GCC_INSTALL_NAME, CPP_INSTALL_NAME,
PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
GCCBUG_INSTALL_NAME, GCC_CROSS_NAME, CPP_CROSS_NAME,
PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Handle
program_transform_name the way suggested by autoconf.
(GCC_TARGET_INSTALL_NAME): Define.
(install-driver): Use the transformed target alias name.
* Make-lang.in (CXX_INSTALL_NAME, GXX_CROSS_NAME,
DEMANGLER_CROSS_NAME): Handle program_transform_name the way
suggested by autoconf.
(GXX_TARGET_INSTALL_NAME, CXX_TARGET_INSTALL_NAME): Define.
(c++.install-common): Use the transformed target alias names.
* Make-lang.in (G77_INSTALL_NAME, G77_CROSS_NAME): Handle
program_transform_name the way suggested by autoconf.
* Make-lang.in (JAVA_INSTALL_NAME, JAVA_CROSS_NAME): Handle
program_transform_name the way suggested by autoconf.
(java.install-common): Also transform auxiliary program names with
program_transform_name.
From-SVN: r46856
2001-11-08 21:18:18 +01:00
|
|
|
transformed yet, which will be fixed in some time.
|
|
|
|
|
2001-06-02 20:21:37 +02:00
|
|
|
@item --with-local-prefix=@var{dirname}
|
|
|
|
Specify the
|
2001-06-02 15:59:52 +02:00
|
|
|
installation directory for local include files. The default is
|
|
|
|
@file{/usr/local}. Specify this option if you want the compiler to
|
|
|
|
search directory @file{@var{dirname}/include} for locally installed
|
|
|
|
header files @emph{instead} of @file{/usr/local/include}.
|
|
|
|
|
|
|
|
You should specify @option{--with-local-prefix} @strong{only} if your
|
|
|
|
site has a different convention (not @file{/usr/local}) for where to put
|
|
|
|
site-specific files.
|
|
|
|
|
|
|
|
The default value for @option{--with-local-prefix} is @file{/usr/local}
|
|
|
|
regardless of the value of @option{--prefix}. Specifying
|
|
|
|
@option{--prefix} has no effect on which directory GCC searches for
|
|
|
|
local header files. This may seem counterintuitive, but actually it is
|
|
|
|
logical.
|
|
|
|
|
|
|
|
The purpose of @option{--prefix} is to specify where to @emph{install
|
|
|
|
GCC}. The local header files in @file{/usr/local/include}---if you put
|
c-tree.texi, [...]: Replace . at end of sentences preceded by a capital letter with @..
* doc/c-tree.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppinternals.texi, doc/extend.texi, doc/gcc.texi,
doc/gcov.texi, doc/install-old.texi, doc/install.texi,
doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi: Replace
. at end of sentences preceded by a capital letter with @..
From-SVN: r43611
2001-06-27 17:04:16 +02:00
|
|
|
any in that directory---are not part of GCC@. They are part of other
|
2001-06-02 15:59:52 +02:00
|
|
|
programs---perhaps many others. (GCC installs its own header files in
|
|
|
|
another directory which is based on the @option{--prefix} value.)
|
|
|
|
|
2002-08-20 21:56:30 +02:00
|
|
|
Both the local-prefix include directory and the GCC-prefix include
|
contrib.texi, [...]: Improve Texinfo formatting.
* doc/contrib.texi, doc/cpp.texi, doc/cppopts.texi,
doc/extend.texi, doc/gcov.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/sourcebuild.texi, doc/tm.texi: Improve Texinfo formatting.
From-SVN: r89725
2004-10-28 03:00:31 +02:00
|
|
|
directory are part of GCC's ``system include'' directories. Although these
|
2002-08-20 21:56:30 +02:00
|
|
|
two directories are not fixed, they need to be searched in the proper
|
|
|
|
order for the correct processing of the include_next directive. The
|
|
|
|
local-prefix include directory is searched before the GCC-prefix
|
|
|
|
include directory. Another characteristic of system include directories
|
|
|
|
is that pedantic warnings are turned off for headers in these directories.
|
|
|
|
|
|
|
|
Some autoconf macros add @option{-I @var{directory}} options to the
|
|
|
|
compiler command line, to ensure that directories containing installed
|
|
|
|
packages' headers are searched. When @var{directory} is one of GCC's
|
|
|
|
system include directories, GCC will ignore the option so that system
|
|
|
|
directories continue to be processed in the correct order. This
|
|
|
|
may result in a search order different from what was specified but the
|
|
|
|
directory will still be searched.
|
|
|
|
|
|
|
|
GCC automatically searches for ordinary libraries using
|
|
|
|
@env{GCC_EXEC_PREFIX}. Thus, when the same installation prefix is
|
|
|
|
used for both GCC and packages, GCC will automatically search for
|
|
|
|
both headers and libraries. This provides a configuration that is
|
|
|
|
easy to use. GCC behaves in a manner similar to that when it is
|
|
|
|
installed as a system compiler in @file{/usr}.
|
|
|
|
|
|
|
|
Sites that need to install multiple versions of GCC may not want to
|
|
|
|
use the above simple configuration. It is possible to use the
|
|
|
|
@option{--program-prefix}, @option{--program-suffix} and
|
|
|
|
@option{--program-transform-name} options to install multiple versions
|
|
|
|
into a single directory, but it may be simpler to use different prefixes
|
|
|
|
and the @option{--with-local-prefix} option to specify the location of the
|
|
|
|
site-specific files for each version. It will then be necessary for
|
|
|
|
users to specify explicitly the location of local site libraries
|
|
|
|
(e.g., with @env{LIBRARY_PATH}).
|
|
|
|
|
|
|
|
The same value can be used for both @option{--with-local-prefix} and
|
|
|
|
@option{--prefix} provided it is not @file{/usr}. This can be used
|
|
|
|
to avoid the default search of @file{/usr/local/include}.
|
|
|
|
|
2001-06-02 15:59:52 +02:00
|
|
|
@strong{Do not} specify @file{/usr} as the @option{--with-local-prefix}!
|
|
|
|
The directory you use for @option{--with-local-prefix} @strong{must not}
|
|
|
|
contain any of the system's standard header files. If it did contain
|
|
|
|
them, certain programs would be miscompiled (including GNU Emacs, on
|
|
|
|
certain targets), because this would override and nullify the header
|
2002-08-30 22:48:14 +02:00
|
|
|
file corrections made by the @command{fixincludes} script.
|
2001-06-02 15:59:52 +02:00
|
|
|
|
|
|
|
Indications are that people who use this option use it based on mistaken
|
|
|
|
ideas of what it is for. People use it as if it specified where to
|
c-tree.texi, [...]: Replace . at end of sentences preceded by a capital letter with @..
* doc/c-tree.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppinternals.texi, doc/extend.texi, doc/gcc.texi,
doc/gcov.texi, doc/install-old.texi, doc/install.texi,
doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi: Replace
. at end of sentences preceded by a capital letter with @..
From-SVN: r43611
2001-06-27 17:04:16 +02:00
|
|
|
install part of GCC@. Perhaps they make this assumption because
|
2001-06-02 15:59:52 +02:00
|
|
|
installing GCC creates the directory.
|
|
|
|
|
2011-10-18 01:31:25 +02:00
|
|
|
@item --with-native-system-header-dir=@var{dirname}
|
|
|
|
Specifies that @var{dirname} is the directory that contains native system
|
|
|
|
header files, rather than @file{/usr/include}. This option is most useful
|
|
|
|
if you are creating a compiler that should be isolated from the system
|
|
|
|
as much as possible. It is most commonly used with the
|
|
|
|
@option{--with-sysroot} option and will cause GCC to search
|
|
|
|
@var{dirname} inside the system root specified by that option.
|
|
|
|
|
2001-06-13 15:07:28 +02:00
|
|
|
@item --enable-shared[=@var{package}[,@dots{}]]
|
2001-06-13 09:11:59 +02:00
|
|
|
Build shared versions of libraries, if shared libraries are supported on
|
|
|
|
the target platform. Unlike GCC 2.95.x and earlier, shared libraries
|
2004-06-11 22:17:46 +02:00
|
|
|
are enabled by default on all platforms that support shared libraries.
|
2001-06-13 09:11:59 +02:00
|
|
|
|
|
|
|
If a list of packages is given as an argument, build shared libraries
|
|
|
|
only for the listed packages. For other packages, only static libraries
|
|
|
|
will be built. Package names currently recognized in the GCC tree are
|
|
|
|
@samp{libgcc} (also known as @samp{gcc}), @samp{libstdc++} (not
|
2004-06-09 10:42:27 +02:00
|
|
|
@samp{libstdc++-v3}), @samp{libffi}, @samp{zlib}, @samp{boehm-gc},
|
2010-12-03 05:34:57 +01:00
|
|
|
@samp{ada}, @samp{libada}, @samp{libjava}, @samp{libgo}, and @samp{libobjc}.
|
2004-06-11 22:31:29 +02:00
|
|
|
Note @samp{libiberty} does not support shared libraries at all.
|
2001-06-13 09:11:59 +02:00
|
|
|
|
|
|
|
Use @option{--disable-shared} to build only static libraries. Note that
|
|
|
|
@option{--disable-shared} does not accept a list of package names as
|
|
|
|
argument, only @option{--enable-shared} does.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2001-06-02 20:21:37 +02:00
|
|
|
@item @anchor{with-gnu-as}--with-gnu-as
|
|
|
|
Specify that the compiler should assume that the
|
2001-06-27 00:47:11 +02:00
|
|
|
assembler it finds is the GNU assembler. However, this does not modify
|
2002-12-07 00:32:52 +01:00
|
|
|
the rules to find an assembler and will result in confusion if the
|
|
|
|
assembler found is not actually the GNU assembler. (Confusion may also
|
2001-06-24 01:41:59 +02:00
|
|
|
result if the compiler finds the GNU assembler but has not been
|
|
|
|
configured with @option{--with-gnu-as}.) If you have more than one
|
2001-06-01 20:08:19 +02:00
|
|
|
assembler installed on your system, you may want to use this option in
|
re PR bootstrap/25670 (build fail with 'make all-gcc')
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25670
* Makefile.tpl ([+compare-target+]): Print explanation messages.
* Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES): New flags_to_pass.
* Makefile.tpl (BASE_FLAGS_TO_PASS): Support optional flags_to_pass.
(EXTRA_GCC_FLAGS): Remove ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES,
BUILD_PREFIX, BUILD_PREFIX_1.
* configure.in: (BUILD_PREFIX, BUILD_PREFIX_1): Don't substitute.
* Makefile.def (bootstrap stage 1): Pass LIBCFLAGS too.
* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Override LIBCFLAGS too.
* Makefile.tpl (configure-stage[+id+]-[+prefix+][+module+],
all-stage[+id+]-[+prefix+][+module+], : Use $(current_stage) instead
of `cat stage_current`. Always provide the `r' and `s' variables.
(clean-stage[+id+]-[+prefix+][+module+]): Likewise, and make it into
a single shell execution.
(configure-[+prefix+][+module+], all-[+prefix+][+module+]): For
bootstrapped modules, make the stage1 module if the build was not
started yet, else build the current stage.
(all-host, all-target): Omit bootstrapped modules (if bootstrapping).
(all-build, all-host, all-target, [+make_target+]-host,
[+make_target+]-target): Do not use \-continued lines.
(target modules): Depend on stage_last, not all-gcc, if bootstrapping.
(current_stage, restrap, stage_last): New.
* Makefile.in: Regenerate.
* configure: Regenerate.
gcc:
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25476
* Makefile.in (LDFLAGS): Define from autoconf substitution.
* Makefile.in (BOOTSTRAPPING): New.
(quickstrap): New definition if BOOTSTRAPPING=yes.
* Makefile.in (CONFIG_LANGUAGES): Substitute all_selected_languages.
* configure.ac: Substitute all_selected_languages with the languages
that were configured. For all the other variables except
lang_specs_files, include all the languages in the tree.
* configure: Regenerate.
* Makefile.in (stmp-fixinc): Copy includes from the prev-gcc directory,
if there is one. Run the commands to run fixincludes in the same
subshell.
* doc/makefile.texi: Document new makefile targets from toplevel bootstrap.
* doc/install.texi: Document exact conventions for searching target tools.
Document --with-build-time-tools. Document toplevel bootstrap. Document
something more about building an Ada cross-compiler. Don't list GNU Make
requirements which affect all platforms.
From-SVN: r111295
2006-02-20 09:29:17 +01:00
|
|
|
connection with @option{--with-as=@var{pathname}} or
|
|
|
|
@option{--with-build-time-tools=@var{pathname}}.
|
2001-06-01 20:08:19 +02:00
|
|
|
|
2002-09-04 01:52:06 +02:00
|
|
|
The following systems are the only ones where it makes a difference
|
|
|
|
whether you use the GNU assembler. On any other system,
|
|
|
|
@option{--with-gnu-as} has no effect.
|
|
|
|
|
2003-07-10 03:41:38 +02:00
|
|
|
@itemize @bullet
|
2002-09-04 01:52:06 +02:00
|
|
|
@item @samp{hppa1.0-@var{any}-@var{any}}
|
|
|
|
@item @samp{hppa1.1-@var{any}-@var{any}}
|
2003-06-20 10:00:02 +02:00
|
|
|
@item @samp{sparc-sun-solaris2.@var{any}}
|
|
|
|
@item @samp{sparc64-@var{any}-solaris2.@var{any}}
|
2002-09-04 01:52:06 +02:00
|
|
|
@end itemize
|
2001-06-24 01:41:59 +02:00
|
|
|
|
2003-06-20 10:00:02 +02:00
|
|
|
@item @anchor{with-as}--with-as=@var{pathname}
|
re PR bootstrap/25670 (build fail with 'make all-gcc')
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25670
* Makefile.tpl ([+compare-target+]): Print explanation messages.
* Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES): New flags_to_pass.
* Makefile.tpl (BASE_FLAGS_TO_PASS): Support optional flags_to_pass.
(EXTRA_GCC_FLAGS): Remove ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES,
BUILD_PREFIX, BUILD_PREFIX_1.
* configure.in: (BUILD_PREFIX, BUILD_PREFIX_1): Don't substitute.
* Makefile.def (bootstrap stage 1): Pass LIBCFLAGS too.
* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Override LIBCFLAGS too.
* Makefile.tpl (configure-stage[+id+]-[+prefix+][+module+],
all-stage[+id+]-[+prefix+][+module+], : Use $(current_stage) instead
of `cat stage_current`. Always provide the `r' and `s' variables.
(clean-stage[+id+]-[+prefix+][+module+]): Likewise, and make it into
a single shell execution.
(configure-[+prefix+][+module+], all-[+prefix+][+module+]): For
bootstrapped modules, make the stage1 module if the build was not
started yet, else build the current stage.
(all-host, all-target): Omit bootstrapped modules (if bootstrapping).
(all-build, all-host, all-target, [+make_target+]-host,
[+make_target+]-target): Do not use \-continued lines.
(target modules): Depend on stage_last, not all-gcc, if bootstrapping.
(current_stage, restrap, stage_last): New.
* Makefile.in: Regenerate.
* configure: Regenerate.
gcc:
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25476
* Makefile.in (LDFLAGS): Define from autoconf substitution.
* Makefile.in (BOOTSTRAPPING): New.
(quickstrap): New definition if BOOTSTRAPPING=yes.
* Makefile.in (CONFIG_LANGUAGES): Substitute all_selected_languages.
* configure.ac: Substitute all_selected_languages with the languages
that were configured. For all the other variables except
lang_specs_files, include all the languages in the tree.
* configure: Regenerate.
* Makefile.in (stmp-fixinc): Copy includes from the prev-gcc directory,
if there is one. Run the commands to run fixincludes in the same
subshell.
* doc/makefile.texi: Document new makefile targets from toplevel bootstrap.
* doc/install.texi: Document exact conventions for searching target tools.
Document --with-build-time-tools. Document toplevel bootstrap. Document
something more about building an Ada cross-compiler. Don't list GNU Make
requirements which affect all platforms.
From-SVN: r111295
2006-02-20 09:29:17 +01:00
|
|
|
Specify that the compiler should use the assembler pointed to by
|
|
|
|
@var{pathname}, rather than the one found by the standard rules to find
|
|
|
|
an assembler, which are:
|
2001-05-12 00:10:54 +02:00
|
|
|
@itemize @bullet
|
|
|
|
@item
|
re PR bootstrap/25670 (build fail with 'make all-gcc')
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25670
* Makefile.tpl ([+compare-target+]): Print explanation messages.
* Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES): New flags_to_pass.
* Makefile.tpl (BASE_FLAGS_TO_PASS): Support optional flags_to_pass.
(EXTRA_GCC_FLAGS): Remove ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES,
BUILD_PREFIX, BUILD_PREFIX_1.
* configure.in: (BUILD_PREFIX, BUILD_PREFIX_1): Don't substitute.
* Makefile.def (bootstrap stage 1): Pass LIBCFLAGS too.
* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Override LIBCFLAGS too.
* Makefile.tpl (configure-stage[+id+]-[+prefix+][+module+],
all-stage[+id+]-[+prefix+][+module+], : Use $(current_stage) instead
of `cat stage_current`. Always provide the `r' and `s' variables.
(clean-stage[+id+]-[+prefix+][+module+]): Likewise, and make it into
a single shell execution.
(configure-[+prefix+][+module+], all-[+prefix+][+module+]): For
bootstrapped modules, make the stage1 module if the build was not
started yet, else build the current stage.
(all-host, all-target): Omit bootstrapped modules (if bootstrapping).
(all-build, all-host, all-target, [+make_target+]-host,
[+make_target+]-target): Do not use \-continued lines.
(target modules): Depend on stage_last, not all-gcc, if bootstrapping.
(current_stage, restrap, stage_last): New.
* Makefile.in: Regenerate.
* configure: Regenerate.
gcc:
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25476
* Makefile.in (LDFLAGS): Define from autoconf substitution.
* Makefile.in (BOOTSTRAPPING): New.
(quickstrap): New definition if BOOTSTRAPPING=yes.
* Makefile.in (CONFIG_LANGUAGES): Substitute all_selected_languages.
* configure.ac: Substitute all_selected_languages with the languages
that were configured. For all the other variables except
lang_specs_files, include all the languages in the tree.
* configure: Regenerate.
* Makefile.in (stmp-fixinc): Copy includes from the prev-gcc directory,
if there is one. Run the commands to run fixincludes in the same
subshell.
* doc/makefile.texi: Document new makefile targets from toplevel bootstrap.
* doc/install.texi: Document exact conventions for searching target tools.
Document --with-build-time-tools. Document toplevel bootstrap. Document
something more about building an Ada cross-compiler. Don't list GNU Make
requirements which affect all platforms.
From-SVN: r111295
2006-02-20 09:29:17 +01:00
|
|
|
Unless GCC is being built with a cross compiler, check the
|
|
|
|
@file{@var{libexec}/gcc/@var{target}/@var{version}} directory.
|
|
|
|
@var{libexec} defaults to @file{@var{exec-prefix}/libexec};
|
|
|
|
@var{exec-prefix} defaults to @var{prefix}, which
|
|
|
|
defaults to @file{/usr/local} unless overridden by the
|
|
|
|
@option{--prefix=@var{pathname}} switch described above. @var{target}
|
|
|
|
is the target system triple, such as @samp{sparc-sun-solaris2.7}, and
|
|
|
|
@var{version} denotes the GCC version, such as 3.0.
|
|
|
|
|
2001-05-12 00:10:54 +02:00
|
|
|
@item
|
re PR bootstrap/25670 (build fail with 'make all-gcc')
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25670
* Makefile.tpl ([+compare-target+]): Print explanation messages.
* Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES): New flags_to_pass.
* Makefile.tpl (BASE_FLAGS_TO_PASS): Support optional flags_to_pass.
(EXTRA_GCC_FLAGS): Remove ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES,
BUILD_PREFIX, BUILD_PREFIX_1.
* configure.in: (BUILD_PREFIX, BUILD_PREFIX_1): Don't substitute.
* Makefile.def (bootstrap stage 1): Pass LIBCFLAGS too.
* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Override LIBCFLAGS too.
* Makefile.tpl (configure-stage[+id+]-[+prefix+][+module+],
all-stage[+id+]-[+prefix+][+module+], : Use $(current_stage) instead
of `cat stage_current`. Always provide the `r' and `s' variables.
(clean-stage[+id+]-[+prefix+][+module+]): Likewise, and make it into
a single shell execution.
(configure-[+prefix+][+module+], all-[+prefix+][+module+]): For
bootstrapped modules, make the stage1 module if the build was not
started yet, else build the current stage.
(all-host, all-target): Omit bootstrapped modules (if bootstrapping).
(all-build, all-host, all-target, [+make_target+]-host,
[+make_target+]-target): Do not use \-continued lines.
(target modules): Depend on stage_last, not all-gcc, if bootstrapping.
(current_stage, restrap, stage_last): New.
* Makefile.in: Regenerate.
* configure: Regenerate.
gcc:
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25476
* Makefile.in (LDFLAGS): Define from autoconf substitution.
* Makefile.in (BOOTSTRAPPING): New.
(quickstrap): New definition if BOOTSTRAPPING=yes.
* Makefile.in (CONFIG_LANGUAGES): Substitute all_selected_languages.
* configure.ac: Substitute all_selected_languages with the languages
that were configured. For all the other variables except
lang_specs_files, include all the languages in the tree.
* configure: Regenerate.
* Makefile.in (stmp-fixinc): Copy includes from the prev-gcc directory,
if there is one. Run the commands to run fixincludes in the same
subshell.
* doc/makefile.texi: Document new makefile targets from toplevel bootstrap.
* doc/install.texi: Document exact conventions for searching target tools.
Document --with-build-time-tools. Document toplevel bootstrap. Document
something more about building an Ada cross-compiler. Don't list GNU Make
requirements which affect all platforms.
From-SVN: r111295
2006-02-20 09:29:17 +01:00
|
|
|
If the target system is the same that you are building on, check
|
|
|
|
operating system specific directories (e.g.@: @file{/usr/ccs/bin} on
|
2001-09-24 16:24:42 +02:00
|
|
|
Sun Solaris 2).
|
re PR bootstrap/25670 (build fail with 'make all-gcc')
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25670
* Makefile.tpl ([+compare-target+]): Print explanation messages.
* Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES): New flags_to_pass.
* Makefile.tpl (BASE_FLAGS_TO_PASS): Support optional flags_to_pass.
(EXTRA_GCC_FLAGS): Remove ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES,
BUILD_PREFIX, BUILD_PREFIX_1.
* configure.in: (BUILD_PREFIX, BUILD_PREFIX_1): Don't substitute.
* Makefile.def (bootstrap stage 1): Pass LIBCFLAGS too.
* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Override LIBCFLAGS too.
* Makefile.tpl (configure-stage[+id+]-[+prefix+][+module+],
all-stage[+id+]-[+prefix+][+module+], : Use $(current_stage) instead
of `cat stage_current`. Always provide the `r' and `s' variables.
(clean-stage[+id+]-[+prefix+][+module+]): Likewise, and make it into
a single shell execution.
(configure-[+prefix+][+module+], all-[+prefix+][+module+]): For
bootstrapped modules, make the stage1 module if the build was not
started yet, else build the current stage.
(all-host, all-target): Omit bootstrapped modules (if bootstrapping).
(all-build, all-host, all-target, [+make_target+]-host,
[+make_target+]-target): Do not use \-continued lines.
(target modules): Depend on stage_last, not all-gcc, if bootstrapping.
(current_stage, restrap, stage_last): New.
* Makefile.in: Regenerate.
* configure: Regenerate.
gcc:
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25476
* Makefile.in (LDFLAGS): Define from autoconf substitution.
* Makefile.in (BOOTSTRAPPING): New.
(quickstrap): New definition if BOOTSTRAPPING=yes.
* Makefile.in (CONFIG_LANGUAGES): Substitute all_selected_languages.
* configure.ac: Substitute all_selected_languages with the languages
that were configured. For all the other variables except
lang_specs_files, include all the languages in the tree.
* configure: Regenerate.
* Makefile.in (stmp-fixinc): Copy includes from the prev-gcc directory,
if there is one. Run the commands to run fixincludes in the same
subshell.
* doc/makefile.texi: Document new makefile targets from toplevel bootstrap.
* doc/install.texi: Document exact conventions for searching target tools.
Document --with-build-time-tools. Document toplevel bootstrap. Document
something more about building an Ada cross-compiler. Don't list GNU Make
requirements which affect all platforms.
From-SVN: r111295
2006-02-20 09:29:17 +01:00
|
|
|
|
|
|
|
@item
|
|
|
|
Check in the @env{PATH} for a tool whose name is prefixed by the
|
|
|
|
target system triple.
|
|
|
|
|
|
|
|
@item
|
|
|
|
Check in the @env{PATH} for a tool whose name is not prefixed by the
|
|
|
|
target system triple, if the host and target system triple are
|
|
|
|
the same (in other words, we use a host tool if it can be used for
|
|
|
|
the target as well).
|
2001-05-12 00:10:54 +02:00
|
|
|
@end itemize
|
re PR bootstrap/25670 (build fail with 'make all-gcc')
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25670
* Makefile.tpl ([+compare-target+]): Print explanation messages.
* Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES): New flags_to_pass.
* Makefile.tpl (BASE_FLAGS_TO_PASS): Support optional flags_to_pass.
(EXTRA_GCC_FLAGS): Remove ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES,
BUILD_PREFIX, BUILD_PREFIX_1.
* configure.in: (BUILD_PREFIX, BUILD_PREFIX_1): Don't substitute.
* Makefile.def (bootstrap stage 1): Pass LIBCFLAGS too.
* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Override LIBCFLAGS too.
* Makefile.tpl (configure-stage[+id+]-[+prefix+][+module+],
all-stage[+id+]-[+prefix+][+module+], : Use $(current_stage) instead
of `cat stage_current`. Always provide the `r' and `s' variables.
(clean-stage[+id+]-[+prefix+][+module+]): Likewise, and make it into
a single shell execution.
(configure-[+prefix+][+module+], all-[+prefix+][+module+]): For
bootstrapped modules, make the stage1 module if the build was not
started yet, else build the current stage.
(all-host, all-target): Omit bootstrapped modules (if bootstrapping).
(all-build, all-host, all-target, [+make_target+]-host,
[+make_target+]-target): Do not use \-continued lines.
(target modules): Depend on stage_last, not all-gcc, if bootstrapping.
(current_stage, restrap, stage_last): New.
* Makefile.in: Regenerate.
* configure: Regenerate.
gcc:
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25476
* Makefile.in (LDFLAGS): Define from autoconf substitution.
* Makefile.in (BOOTSTRAPPING): New.
(quickstrap): New definition if BOOTSTRAPPING=yes.
* Makefile.in (CONFIG_LANGUAGES): Substitute all_selected_languages.
* configure.ac: Substitute all_selected_languages with the languages
that were configured. For all the other variables except
lang_specs_files, include all the languages in the tree.
* configure: Regenerate.
* Makefile.in (stmp-fixinc): Copy includes from the prev-gcc directory,
if there is one. Run the commands to run fixincludes in the same
subshell.
* doc/makefile.texi: Document new makefile targets from toplevel bootstrap.
* doc/install.texi: Document exact conventions for searching target tools.
Document --with-build-time-tools. Document toplevel bootstrap. Document
something more about building an Ada cross-compiler. Don't list GNU Make
requirements which affect all platforms.
From-SVN: r111295
2006-02-20 09:29:17 +01:00
|
|
|
|
|
|
|
You may want to use @option{--with-as} if no assembler
|
|
|
|
is installed in the directories listed above, or if you have multiple
|
|
|
|
assemblers installed and want to choose one that is not found by the
|
|
|
|
above rules.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2001-06-02 20:21:37 +02:00
|
|
|
@item @anchor{with-gnu-ld}--with-gnu-ld
|
|
|
|
Same as @uref{#with-gnu-as,,@option{--with-gnu-as}}
|
2003-06-20 10:00:02 +02:00
|
|
|
but for the linker.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2001-07-02 20:08:42 +02:00
|
|
|
@item --with-ld=@var{pathname}
|
2003-06-20 10:00:02 +02:00
|
|
|
Same as @uref{#with-as,,@option{--with-as}}
|
|
|
|
but for the linker.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2001-06-02 20:21:37 +02:00
|
|
|
@item --with-stabs
|
|
|
|
Specify that stabs debugging
|
2001-06-01 20:08:19 +02:00
|
|
|
information should be used instead of whatever format the host normally
|
|
|
|
uses. Normally GCC uses the same debug format as the host system.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2001-06-24 01:41:59 +02:00
|
|
|
On MIPS based systems and on Alphas, you must specify whether you want
|
|
|
|
GCC to create the normal ECOFF debugging format, or to use BSD-style
|
|
|
|
stabs passed through the ECOFF symbol table. The normal ECOFF debug
|
c-tree.texi, [...]: Replace . at end of sentences preceded by a capital letter with @..
* doc/c-tree.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppinternals.texi, doc/extend.texi, doc/gcc.texi,
doc/gcov.texi, doc/install-old.texi, doc/install.texi,
doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi: Replace
. at end of sentences preceded by a capital letter with @..
From-SVN: r43611
2001-06-27 17:04:16 +02:00
|
|
|
format cannot fully handle languages other than C@. BSD stabs format can
|
|
|
|
handle other languages, but it only works with the GNU debugger GDB@.
|
2001-06-24 01:41:59 +02:00
|
|
|
|
|
|
|
Normally, GCC uses the ECOFF debugging format by default; if you
|
c-tree.texi, [...]: Replace . at end of sentences preceded by a capital letter with @..
* doc/c-tree.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppinternals.texi, doc/extend.texi, doc/gcc.texi,
doc/gcov.texi, doc/install-old.texi, doc/install.texi,
doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi: Replace
. at end of sentences preceded by a capital letter with @..
From-SVN: r43611
2001-06-27 17:04:16 +02:00
|
|
|
prefer BSD stabs, specify @option{--with-stabs} when you configure GCC@.
|
2001-06-24 01:41:59 +02:00
|
|
|
|
|
|
|
No matter which default you choose when you configure GCC, the user
|
|
|
|
can use the @option{-gcoff} and @option{-gstabs+} options to specify explicitly
|
|
|
|
the debug format for a particular compilation.
|
|
|
|
|
|
|
|
@option{--with-stabs} is meaningful on the ISC system on the 386, also, if
|
|
|
|
@option{--with-gas} is used. It selects use of stabs debugging
|
|
|
|
information embedded in COFF output. This kind of debugging information
|
|
|
|
supports C++ well; ordinary COFF debugging information does not.
|
|
|
|
|
|
|
|
@option{--with-stabs} is also meaningful on 386 systems running SVR4. It
|
|
|
|
selects use of stabs debugging information embedded in ELF output. The
|
|
|
|
C++ compiler currently (2.6.0) does not support the DWARF debugging
|
|
|
|
information normally used on 386 SVR4 platforms; stabs provide a
|
|
|
|
workable alternative. This requires gas and gdb, as the normal SVR4
|
|
|
|
tools can not generate or interpret stabs.
|
|
|
|
|
2011-06-22 11:57:02 +02:00
|
|
|
@item --with-tls=@var{dialect}
|
|
|
|
Specify the default TLS dialect, for systems were there is a choice.
|
|
|
|
For ARM targets, possible values for @var{dialect} are @code{gnu} or
|
|
|
|
@code{gnu2}, which select between the original GNU dialect and the GNU TLS
|
|
|
|
descriptor-based dialect.
|
|
|
|
|
2001-07-02 20:08:42 +02:00
|
|
|
@item --disable-multilib
|
2001-06-02 20:21:37 +02:00
|
|
|
Specify that multiple target
|
2001-07-02 20:08:42 +02:00
|
|
|
libraries to support different target variants, calling
|
2007-01-28 00:51:49 +01:00
|
|
|
conventions, etc.@: should not be built. The default is to build a
|
2001-07-02 20:08:42 +02:00
|
|
|
predefined set of them.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2001-08-07 18:42:03 +02:00
|
|
|
Some targets provide finer-grained control over which multilibs are built
|
|
|
|
(e.g., @option{--disable-softfloat}):
|
|
|
|
@table @code
|
|
|
|
@item arm-*-*
|
|
|
|
fpu, 26bit, underscore, interwork, biendian, nofmult.
|
|
|
|
|
|
|
|
@item m68*-*-*
|
|
|
|
softfloat, m68881, m68000, m68020.
|
|
|
|
|
|
|
|
@item mips*-*-*
|
|
|
|
single-float, biendian, softfloat.
|
|
|
|
|
|
|
|
@item powerpc*-*-*, rs6000*-*-*
|
|
|
|
aix64, pthread, softfloat, powercpu, powerpccpu, powerpcos, biendian,
|
2002-02-23 13:59:09 +01:00
|
|
|
sysv, aix.
|
2001-08-07 18:42:03 +02:00
|
|
|
|
|
|
|
@end table
|
|
|
|
|
2009-04-17 19:32:00 +02:00
|
|
|
@item --with-multilib-list=@var{list}
|
|
|
|
@itemx --without-multilib-list
|
|
|
|
Specify what multilibs to build.
|
2011-07-07 17:38:34 +02:00
|
|
|
Currently only implemented for sh*-*-* and x86-64-*-linux*.
|
2009-04-17 19:32:00 +02:00
|
|
|
|
2011-07-07 17:38:34 +02:00
|
|
|
@table @code
|
|
|
|
@item sh*-*-*
|
2009-04-17 19:32:00 +02:00
|
|
|
@var{list} is a comma separated list of CPU names. These must be of the
|
|
|
|
form @code{sh*} or @code{m*} (in which case they match the compiler option
|
|
|
|
for that processor). The list should not contain any endian options -
|
|
|
|
these are handled by @option{--with-endian}.
|
|
|
|
|
|
|
|
If @var{list} is empty, then there will be no multilibs for extra
|
|
|
|
processors. The multilib for the secondary endian remains enabled.
|
|
|
|
|
|
|
|
As a special case, if an entry in the list starts with a @code{!}
|
|
|
|
(exclamation point), then it is added to the list of excluded multilibs.
|
|
|
|
Entries of this sort should be compatible with @samp{MULTILIB_EXCLUDES}
|
|
|
|
(once the leading @code{!} has been stripped).
|
|
|
|
|
|
|
|
If @option{--with-multilib-list} is not given, then a default set of
|
|
|
|
multilibs is selected based on the value of @option{--target}. This is
|
|
|
|
usually the complete set of libraries, but some targets imply a more
|
|
|
|
specialized subset.
|
|
|
|
|
|
|
|
Example 1: to configure a compiler for SH4A only, but supporting both
|
|
|
|
endians, with little endian being the default:
|
|
|
|
@smallexample
|
|
|
|
--with-cpu=sh4a --with-endian=little,big --with-multilib-list=
|
|
|
|
@end smallexample
|
|
|
|
|
|
|
|
Example 2: to configure a compiler for both SH4A and SH4AL-DSP, but with
|
|
|
|
only little endian SH4AL:
|
|
|
|
@smallexample
|
2011-01-17 07:38:47 +01:00
|
|
|
--with-cpu=sh4a --with-endian=little,big \
|
|
|
|
--with-multilib-list=sh4al,!mb/m4al
|
2009-04-17 19:32:00 +02:00
|
|
|
@end smallexample
|
|
|
|
|
2011-07-07 17:38:34 +02:00
|
|
|
@item x86-64-*-linux*
|
|
|
|
@var{list} is a comma separated list of @code{m32}, @code{m64} and
|
|
|
|
@code{mx32} to enable 32-bit, 64-bit and x32 run-time libraries,
|
|
|
|
respectively. If @var{list} is empty, then there will be no multilibs
|
|
|
|
and only the default run-time library will be enabled.
|
|
|
|
|
|
|
|
If @option{--with-multilib-list} is not given, then only 32-bit and
|
|
|
|
64-bit run-time libraries will be enabled.
|
|
|
|
@end table
|
|
|
|
|
2009-04-17 19:32:00 +02:00
|
|
|
@item --with-endian=@var{endians}
|
|
|
|
Specify what endians to use.
|
|
|
|
Currently only implemented for sh*-*-*.
|
|
|
|
|
|
|
|
@var{endians} may be one of the following:
|
|
|
|
@table @code
|
|
|
|
@item big
|
|
|
|
Use big endian exclusively.
|
|
|
|
@item little
|
|
|
|
Use little endian exclusively.
|
|
|
|
@item big,little
|
|
|
|
Use big endian by default. Provide a multilib for little endian.
|
|
|
|
@item little,big
|
|
|
|
Use little endian by default. Provide a multilib for big endian.
|
|
|
|
@end table
|
|
|
|
|
2001-06-02 20:21:37 +02:00
|
|
|
@item --enable-threads
|
|
|
|
Specify that the target
|
2001-06-01 20:08:19 +02:00
|
|
|
supports threads. This affects the Objective-C compiler and runtime
|
|
|
|
library, and exception handling for other languages like C++ and Java.
|
2001-06-02 15:59:52 +02:00
|
|
|
On some systems, this is the default.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2001-06-15 09:18:55 +02:00
|
|
|
In general, the best (and, in many cases, the only known) threading
|
|
|
|
model available will be configured for use. Beware that on some
|
contrib.texi, [...]: Capitalize "gcc", "g++" and "g77" or mark up with appropriate markup.
* doc/contrib.texi, doc/extend.texi, doc/gcov.texi,
doc/install.texi, doc/invoke.texi, doc/makefile.texi,
doc/sourcebuild.texi, doc/tm.texi, doc/trouble.texi: Capitalize
"gcc", "g++" and "g77" or mark up with appropriate markup. Adjust
wording and grammar.
From-SVN: r79482
2004-03-14 23:29:38 +01:00
|
|
|
systems, GCC has not been taught what threading models are generally
|
2001-06-16 00:25:18 +02:00
|
|
|
available for the system. In this case, @option{--enable-threads} is an
|
|
|
|
alias for @option{--enable-threads=single}.
|
2001-06-15 09:18:55 +02:00
|
|
|
|
|
|
|
@item --disable-threads
|
|
|
|
Specify that threading support should be disabled for the system.
|
2001-06-16 00:25:18 +02:00
|
|
|
This is an alias for @option{--enable-threads=single}.
|
2001-06-15 09:18:55 +02:00
|
|
|
|
2001-06-02 20:21:37 +02:00
|
|
|
@item --enable-threads=@var{lib}
|
|
|
|
Specify that
|
2001-06-01 20:08:19 +02:00
|
|
|
@var{lib} is the thread support library. This affects the Objective-C
|
|
|
|
compiler and runtime library, and exception handling for other languages
|
2001-06-03 21:06:55 +02:00
|
|
|
like C++ and Java. The possibilities for @var{lib} are:
|
|
|
|
|
|
|
|
@table @code
|
|
|
|
@item aix
|
|
|
|
AIX thread support.
|
|
|
|
@item dce
|
|
|
|
DCE thread support.
|
2011-04-19 19:22:28 +02:00
|
|
|
@item lynx
|
|
|
|
LynxOS thread support.
|
|
|
|
@item mipssde
|
|
|
|
MIPS SDE thread support.
|
2001-06-15 09:18:55 +02:00
|
|
|
@item no
|
|
|
|
This is an alias for @samp{single}.
|
2001-06-03 21:06:55 +02:00
|
|
|
@item posix
|
2004-11-22 23:26:11 +01:00
|
|
|
Generic POSIX/Unix98 thread support.
|
2001-06-15 09:18:55 +02:00
|
|
|
@item rtems
|
|
|
|
RTEMS thread support.
|
2001-06-03 21:06:55 +02:00
|
|
|
@item single
|
|
|
|
Disable thread support, should work for all platforms.
|
2011-04-19 19:22:28 +02:00
|
|
|
@item tpf
|
|
|
|
TPF thread support.
|
2001-06-03 21:06:55 +02:00
|
|
|
@item vxworks
|
|
|
|
VxWorks thread support.
|
|
|
|
@item win32
|
|
|
|
Microsoft Win32 API thread support.
|
|
|
|
@end table
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2006-01-25 01:42:17 +01:00
|
|
|
@item --enable-tls
|
|
|
|
Specify that the target supports TLS (Thread Local Storage). Usually
|
|
|
|
configure can correctly determine if TLS is supported. In cases where
|
|
|
|
it guesses incorrectly, TLS can be explicitly enabled or disabled with
|
|
|
|
@option{--enable-tls} or @option{--disable-tls}. This can happen if
|
|
|
|
the assembler supports TLS but the C library does not, or if the
|
|
|
|
assumptions made by the configure test are incorrect.
|
|
|
|
|
|
|
|
@item --disable-tls
|
|
|
|
Specify that the target does not support TLS.
|
|
|
|
This is an alias for @option{--enable-tls=no}.
|
|
|
|
|
2001-06-02 20:21:37 +02:00
|
|
|
@item --with-cpu=@var{cpu}
|
config.gcc (all_defaults): Add arch_32 arch_64 cpu_32 cpu_64 tune_32 tune_64.
* config.gcc (all_defaults): Add arch_32 arch_64 cpu_32 cpu_64
tune_32 tune_64.
(i[34567]86-*-* | x86_64-*-*): Add arch_32 arch_64 cpu_32 cpu_64
tune_32 tune_64 to supported_defaults. Allow values not
supporting 64-bit mode for arch_32, cpu_32 and tune_32 for
x86_64. Do not override cpu_32 or cpu_64 values from target name.
(i[34567]86-*-linux*, i[34567]86-*-solaris2.1[0-9]*): Only default
with_cpu_64 to generic for 64-bit-supporting configurations, not
with_cpu. Remove FIXMEs.
* doc/install.texi (--with-cpu-32, --with-cpu-64, --with-arch-32,
--with-arch-64, --with-tune-32, --with-tune-64): Document.
* config/i386/i386.h (OPT_ARCH32, OPT_ARCH64): Define.
(OPTION_DEFAULT_SPECS): Add tune_32, tune_64, cpu_32, cpu_64,
arch_32 and arch_64.
From-SVN: r136674
2008-06-11 18:03:18 +02:00
|
|
|
@itemx --with-cpu-32=@var{cpu}
|
|
|
|
@itemx --with-cpu-64=@var{cpu}
|
config.gcc: Reorganize --with-cpu logic.
* config.gcc: Reorganize --with-cpu logic. Set
configure_default_options according to the default CPU, --with-cpu,
--with-arch, --with-tune, --with-schedule, --with-abi, and
--with-float. Check for legal values of various options.
* configure.in: Define configure_default_options in configargs.h.
* configure: Regenerated.
* config/mips/mips.h (TARGET_DEFAULT_ARCH_P)
(TARGET_DEFAULT_FLOAT_P): New macros.
* gcc.c (do_option_spec): New function.
(struct default_spec, option_default_specs): New.
(main): Call do_option_spec.
* config/alpha/alpha.h, config/arm/arm.h, config/i386/i386.h,
config/mips/mips.h, config/pa/pa.h, config/rs6000/rs6000.h,
config/sparc/sparc.h (OPTION_DEFAULT_SPECS): Define.
* doc/install.texi: Update --with-cpu documentation. Mention
--with-arch, --with-schedule, --with-tune, --with-abi, and
--with-float.
* doc/tm.texi (Driver): Document OPTION_DEFAULT_SPECS.
From-SVN: r67457
2003-06-04 19:50:44 +02:00
|
|
|
Specify which cpu variant the compiler should generate code for by default.
|
|
|
|
@var{cpu} will be used as the default value of the @option{-mcpu=} switch.
|
200x-xx-xx Nathan Sidwell <nathan@codesourcery.com> Richard Sandiford...
gcc/
200x-xx-xx Nathan Sidwell <nathan@codesourcery.com>
Richard Sandiford <richard@codesourcery.com>
Julian Brown <julian@codesourcery.com>
* config.gcc (m68k-*-aout*, m68k-*-coff*, m68020-*-elf*, m68k-*-elf*)
(m68k-*-uclinux*, m68k-*-linux*, m68k-*-rtems*): Set default_m68k_cpu
to the configuration's default CPU.
(m68010-*-netbsdelf*, m68k*-*-netbsdelf*, m68k*-*-openbsd*): Likewise.
Remove default masks.
(m680[012]0-*-*): Set the default with_cpu to the first part of
the target name.
(m68k*-*-*): Set the default with_cpu to m$default_m68k_cpu.
(m68k*-*-linux): Extend the --with-cpu handling to...
(m680[012]0-*-*, m68k*-*-*): ...these configurations. Allow m68000
and m68010. Don't set target_cpu_default2.
* doc/install.texi: Document --with-cpu for m68k.
* config/m68k/m68k.h (OPTION_DEFAULT_SPECS): Define.
* config/m68k/m68k-none.h (TARGET_CPU_DEFAULT, M68K_CPU_m68k)
(M68K_CPU_m68000, M68K_CPU_m68010, M68K_CPU_m68020, M68K_CPU_m68030)
(M68K_CPU_m68040, M68K_CPU_m68302, M68K_CPU_m68332, TARGET_DEFAULT)
(ASM_CPU_DEFAULT_SPEC, CC1_CPU_DEFAULT_SPEC): Delete.
(ASM_SPEC): Remove use of %(asm_cpu_default).
(EXTRA_SPECS, SUBTARGET_EXTRA_SPECS, MULTILIB_DEFAULTS): Delete.
* config/m68k/linux.h (TARGET_DEFAULT): Delete.
(CPP_SPEC): Merge definitions. Do not handle __HAVE_68881__ here.
* config/m68k/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define
__HAVE_FPU__ if TARGET_HARD_FLOAT.
(TARGET_DEFAULT): Delete.
(EXTRA_SPECS): Delete cpp_cpu_default_spec, cpp_cpu_spec,
cpp_fpu_spec, asm_default_spec and netbsd_cpp_spec.
(CPP_CPU_SPEC): Delete.
(TARGET_VERSION): Merge definitions, using TARGET_68010 to pick
the appropriate string.
(CPP_CPU_DEFAULT_SPEC, ASM_DEFAULT_SPEC, CPP_FPU_SPEC): Delete.
(CPP_SPEC): Define to NETBSD_CPP_SPEC.
(ASM_SPEC): Don't use %(asm_default_spec).
* config/m68k/m68k.c (TARGET_DEFAULT_TARGET_FLAGS): Remove
TARGET_DEFAULT and add MASK_68881.
* config/m68k/m68k.md: Remove mention of TARGET_DEFAULT from comments.
Co-Authored-By: Julian Brown <julian@codesourcery.com>
Co-Authored-By: Richard Sandiford <richard@codesourcery.com>
From-SVN: r120711
2007-01-12 10:28:34 +01:00
|
|
|
This option is only supported on some targets, including ARM, i386, M68k,
|
config.gcc (all_defaults): Add arch_32 arch_64 cpu_32 cpu_64 tune_32 tune_64.
* config.gcc (all_defaults): Add arch_32 arch_64 cpu_32 cpu_64
tune_32 tune_64.
(i[34567]86-*-* | x86_64-*-*): Add arch_32 arch_64 cpu_32 cpu_64
tune_32 tune_64 to supported_defaults. Allow values not
supporting 64-bit mode for arch_32, cpu_32 and tune_32 for
x86_64. Do not override cpu_32 or cpu_64 values from target name.
(i[34567]86-*-linux*, i[34567]86-*-solaris2.1[0-9]*): Only default
with_cpu_64 to generic for 64-bit-supporting configurations, not
with_cpu. Remove FIXMEs.
* doc/install.texi (--with-cpu-32, --with-cpu-64, --with-arch-32,
--with-arch-64, --with-tune-32, --with-tune-64): Document.
* config/i386/i386.h (OPT_ARCH32, OPT_ARCH64): Define.
(OPTION_DEFAULT_SPECS): Add tune_32, tune_64, cpu_32, cpu_64,
arch_32 and arch_64.
From-SVN: r136674
2008-06-11 18:03:18 +02:00
|
|
|
PowerPC, and SPARC@. The @option{--with-cpu-32} and
|
|
|
|
@option{--with-cpu-64} options specify separate default CPUs for
|
2009-04-28 20:59:57 +02:00
|
|
|
32-bit and 64-bit modes; these options are only supported for i386,
|
|
|
|
x86-64 and PowerPC.
|
config.gcc: Reorganize --with-cpu logic.
* config.gcc: Reorganize --with-cpu logic. Set
configure_default_options according to the default CPU, --with-cpu,
--with-arch, --with-tune, --with-schedule, --with-abi, and
--with-float. Check for legal values of various options.
* configure.in: Define configure_default_options in configargs.h.
* configure: Regenerated.
* config/mips/mips.h (TARGET_DEFAULT_ARCH_P)
(TARGET_DEFAULT_FLOAT_P): New macros.
* gcc.c (do_option_spec): New function.
(struct default_spec, option_default_specs): New.
(main): Call do_option_spec.
* config/alpha/alpha.h, config/arm/arm.h, config/i386/i386.h,
config/mips/mips.h, config/pa/pa.h, config/rs6000/rs6000.h,
config/sparc/sparc.h (OPTION_DEFAULT_SPECS): Define.
* doc/install.texi: Update --with-cpu documentation. Mention
--with-arch, --with-schedule, --with-tune, --with-abi, and
--with-float.
* doc/tm.texi (Driver): Document OPTION_DEFAULT_SPECS.
From-SVN: r67457
2003-06-04 19:50:44 +02:00
|
|
|
|
|
|
|
@item --with-schedule=@var{cpu}
|
|
|
|
@itemx --with-arch=@var{cpu}
|
config.gcc (all_defaults): Add arch_32 arch_64 cpu_32 cpu_64 tune_32 tune_64.
* config.gcc (all_defaults): Add arch_32 arch_64 cpu_32 cpu_64
tune_32 tune_64.
(i[34567]86-*-* | x86_64-*-*): Add arch_32 arch_64 cpu_32 cpu_64
tune_32 tune_64 to supported_defaults. Allow values not
supporting 64-bit mode for arch_32, cpu_32 and tune_32 for
x86_64. Do not override cpu_32 or cpu_64 values from target name.
(i[34567]86-*-linux*, i[34567]86-*-solaris2.1[0-9]*): Only default
with_cpu_64 to generic for 64-bit-supporting configurations, not
with_cpu. Remove FIXMEs.
* doc/install.texi (--with-cpu-32, --with-cpu-64, --with-arch-32,
--with-arch-64, --with-tune-32, --with-tune-64): Document.
* config/i386/i386.h (OPT_ARCH32, OPT_ARCH64): Define.
(OPTION_DEFAULT_SPECS): Add tune_32, tune_64, cpu_32, cpu_64,
arch_32 and arch_64.
From-SVN: r136674
2008-06-11 18:03:18 +02:00
|
|
|
@itemx --with-arch-32=@var{cpu}
|
|
|
|
@itemx --with-arch-64=@var{cpu}
|
config.gcc: Reorganize --with-cpu logic.
* config.gcc: Reorganize --with-cpu logic. Set
configure_default_options according to the default CPU, --with-cpu,
--with-arch, --with-tune, --with-schedule, --with-abi, and
--with-float. Check for legal values of various options.
* configure.in: Define configure_default_options in configargs.h.
* configure: Regenerated.
* config/mips/mips.h (TARGET_DEFAULT_ARCH_P)
(TARGET_DEFAULT_FLOAT_P): New macros.
* gcc.c (do_option_spec): New function.
(struct default_spec, option_default_specs): New.
(main): Call do_option_spec.
* config/alpha/alpha.h, config/arm/arm.h, config/i386/i386.h,
config/mips/mips.h, config/pa/pa.h, config/rs6000/rs6000.h,
config/sparc/sparc.h (OPTION_DEFAULT_SPECS): Define.
* doc/install.texi: Update --with-cpu documentation. Mention
--with-arch, --with-schedule, --with-tune, --with-abi, and
--with-float.
* doc/tm.texi (Driver): Document OPTION_DEFAULT_SPECS.
From-SVN: r67457
2003-06-04 19:50:44 +02:00
|
|
|
@itemx --with-tune=@var{cpu}
|
config.gcc (all_defaults): Add arch_32 arch_64 cpu_32 cpu_64 tune_32 tune_64.
* config.gcc (all_defaults): Add arch_32 arch_64 cpu_32 cpu_64
tune_32 tune_64.
(i[34567]86-*-* | x86_64-*-*): Add arch_32 arch_64 cpu_32 cpu_64
tune_32 tune_64 to supported_defaults. Allow values not
supporting 64-bit mode for arch_32, cpu_32 and tune_32 for
x86_64. Do not override cpu_32 or cpu_64 values from target name.
(i[34567]86-*-linux*, i[34567]86-*-solaris2.1[0-9]*): Only default
with_cpu_64 to generic for 64-bit-supporting configurations, not
with_cpu. Remove FIXMEs.
* doc/install.texi (--with-cpu-32, --with-cpu-64, --with-arch-32,
--with-arch-64, --with-tune-32, --with-tune-64): Document.
* config/i386/i386.h (OPT_ARCH32, OPT_ARCH64): Define.
(OPTION_DEFAULT_SPECS): Add tune_32, tune_64, cpu_32, cpu_64,
arch_32 and arch_64.
From-SVN: r136674
2008-06-11 18:03:18 +02:00
|
|
|
@itemx --with-tune-32=@var{cpu}
|
|
|
|
@itemx --with-tune-64=@var{cpu}
|
config.gcc: Reorganize --with-cpu logic.
* config.gcc: Reorganize --with-cpu logic. Set
configure_default_options according to the default CPU, --with-cpu,
--with-arch, --with-tune, --with-schedule, --with-abi, and
--with-float. Check for legal values of various options.
* configure.in: Define configure_default_options in configargs.h.
* configure: Regenerated.
* config/mips/mips.h (TARGET_DEFAULT_ARCH_P)
(TARGET_DEFAULT_FLOAT_P): New macros.
* gcc.c (do_option_spec): New function.
(struct default_spec, option_default_specs): New.
(main): Call do_option_spec.
* config/alpha/alpha.h, config/arm/arm.h, config/i386/i386.h,
config/mips/mips.h, config/pa/pa.h, config/rs6000/rs6000.h,
config/sparc/sparc.h (OPTION_DEFAULT_SPECS): Define.
* doc/install.texi: Update --with-cpu documentation. Mention
--with-arch, --with-schedule, --with-tune, --with-abi, and
--with-float.
* doc/tm.texi (Driver): Document OPTION_DEFAULT_SPECS.
From-SVN: r67457
2003-06-04 19:50:44 +02:00
|
|
|
@itemx --with-abi=@var{abi}
|
backport: re PR target/12476 (ARM/THUMB thunk calls broken)
Merge from csl-arm-branch.
2004-01-30 Paul Brook <paul@codesourcery.com>
* aof.h (REGISTER_NAMES): Add vfp reg names
(ADDITIONAL_REGISTER_NAMES): Ditto.
* aout.h (REGISTER_NAMES): Ditto.
(ADDITIONAL_REGISTER_NAMES): Ditto.
* arm-protos.h: Update/Add Prototypes.
* arm.c (init_fp_table): Rename from init_fpa_table. Update users.
Only allow 0.0 for VFP.
(fp_consts_inited): Rename from fpa_consts_inited. Update users.
(values_fp): Rename from values_fpa. Update Users.
(arm_const_double_rtx): Rename from const_double_rtx_ok_for_fpa.
Update users. Only check valid constants for this hardware.
(arm_float_rhs_operand): Rename from fpa_rhs_operand. Update Users.
Only allow consts for FPA.
(arm_float_add_operand): Rename from fpa_add_operand. Update users.
Only allow consts for FPA.
(use_return_insn): Check for saved VFP regs.
(arm_legitimate_address_p): Handle VFP DFmode addressing.
(arm_legitimize_address): Ditto.
(arm_general_register_operand): New function.
(vfp_mem_operand): New function.
(vfp_compare_operand): New function.
(vfp_secondary_reload_class): New function.
(arm_float_compare_operand): New function.
(vfp_print_multi): New function.
(vfp_output_fstmx): New function.
(vfp_emit_fstm): New function.
(arm_output_epilogue): Output VPF reg restore code.
(arm_expand_prologue): Output VFP reg save code.
(arm_print_operand): Add 'P'.
(arm_hard_regno_mode_ok): Return modes for VFP regs.
(arm_regno_class): Return classes for VFP regs.
(arm_compute_initial_elimination_offset): Include space for VFP regs.
(arm_get_frame_size): Ditto.
* arm.h (FIXED_REGISTERS): Add VFP regs.
(CALL_USED_REGISTERS): Ditto.
(CONDITIONAL_REGISTER_USAGE): Enable VFP regs.
(FIRST_VFP_REGNUM): Define.
(LAST_VFP_REGNUM): Define.
(IS_VFP_REGNUM): Define.
(FIRST_PSEUDO_REGISTER): Include VFP regs.
(HARD_REGNO_NREGS): Handle VFP regs.
(REG_ALLOC_ORDER): Add VFP regs.
(enum reg_class): Add VFP_REGS.
(REG_CLASS_NAMES): Ditto.
(REG_CLASS_CONTENTS): Ditto.
(CANNOT_CHANGE_MODE_CLASS) Handle VFP Regs.
(REG_CLASS_FROM_LETTER): Add 'w'.
(EXTRA_CONSTRAINT_ARM): Add 'U'.
(EXTRA_MEMORY_CONSTRAINT): Define.
(SECONDARY_OUTPUT_RELOAD_CLASS): Handle VFP regs.
(SECONDARY_INPUT_RELOAD_CLASS): Ditto.
(REGISTER_MOVE_COST): Ditto.
(PREDICATE_CODES): Add arm_general_register_operand,
arm_float_compare_operand and vfp_compare_operand.
* arm.md (various): Rename as above.
(divsf3): Enable when TARGET_VFP.
(divdf3): Ditto.
(movdfcc): Ditto.
(sqrtsf2): Ditto.
(sqrtdf2): Ditto.
(arm_movdi): Disable when TARGET_VFP.
(arm_movsi_insn): Ditto.
(movsi): Only split with general regs.
(cmpsf): Use arm_float_compare_operand.
(push_fp_multi): Restrict to TARGET_FPA.
(vfp.md): Include.
* vfp.md: New file.
* fpa.md (various): Rename as above.
* doc/md.texi: Document ARM w and U constraints.
2004-01-15 Paul Brook <paul@codesourcery.com>
* config.gcc: Add with_fpu. Allow with-float=softfp.
* config/arm/arm.c (arm_override_options): Rename *-s to *s.
Break out of loop when we find a float-abi. Fix typo.
* config/arm/arm.h (OPTION_DEFAULT_SPECS): Add "fpu".
Set -mfloat-abi=.
* doc/install.texi: Document --with-fpu.
2003-01-14 Paul Brook <paul@codesourcery.com>
* config.gcc (with_arch): Add armv6.
* config/arm/arm.h: Rename TARGET_CPU_*_s to TARGET_CPU_*s.
* config/arm/arm.c (arm_overrride_options): Ditto.
2004-01-08 Richard Earnshaw <rearnsha@arm.com>
* arm.c (FL_ARCH3M): Renamed from FL_FAST_MULT.
(FL_ARCH6): Renamed from FL_ARCH6J.
(arm_arch3m): Renamed from arm_fast_multiply.
(arm_arch6): Renamed from arm_arch6j.
* arm.h: Update all uses of above.
* arm-cores.def: Likewise.
* arm.md: Likewise.
* arm.h (CPP_CPU_ARCH_SPEC): Emit __ARM_ARCH_6J__ define for armV6j,
not arm6j. Add entry for arch armv6.
2004-01-07 Richard Earnshaw <rearnsha@arm.com>
* arm.c (arm_emit_extendsi): Delete.
* arm-protos.h (arm_emit_extendsi): Delete.
* arm.md (zero_extendhisi2): Also handle zero-extension of
non-subregs.
(zero_extendqisi2, extendhisi2, extendqisi2): Likewise.
(thumb_zero_extendhisi2): Only match if not v6.
(arm_zero_extendhisi2, thumb_zero_extendqisi2, arm_zero_extendqisi2)
(thumb_extendhisi2, arm_extendhisi2, arm_extendqisi)
(thumb_extendqisi2): Likewise.
(thumb_zero_extendhisi2_v6, arm_zero_extendhisi2_v6): New patterns.
(thumb_zero_extendqisi2_v6, arm_zero_extendqisi2_v6): New patterns.
(thumb_extendhisi2_insn_v6, arm_extendhisi2_v6): New patterns.
(thumb_extendqisi2_v6, arm_extendqisi_v6): New patterns.
(arm_zero_extendhisi2_reg, arm_zero_extendqisi2_reg): Delete.
(arm_extendhisi2_reg, arm_extendqisi2_reg): Delete.
(arm_zero_extendhisi2addsi): Remove subreg. Add attributes.
(arm_zero_extendqisi2addsi, arm_extendhisi2addsi): Likewise.
(arm_extendqisi2addsi): Likewise.
2003-12-31 Mark Mitchell <mark@codesourcery.com>
Revert this change:
* config/arm/arm.h (THUMB_LEGTITIMIZE_RELOAD_ADDRESS): Reload REG
+ REG addressing modes.
* config/arm/arm.h (THUMB_LEGTITIMIZE_RELOAD_ADDRESS): Reload REG
+ REG addressing modes.
2003-12-30 Mark Mitchell <mark@codesourcery.com>
* config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept
CONSTANT_P_RTX.
2003-30-12 Paul Brook <paul@codesourcery.com>
* longlong.h: protect arm inlines with !defined (__thumb__)
2003-30-12 Paul Brook <paul@codesourcery.com>
* config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Always define __arm__.
2003-12-30 Nathan Sidwell <nathan@codesourcery.com>
* builtins.c (expand_builtin_apply_args_1): Fix typo in previous
change.
2003-12-29 Nathan Sidwell <nathan@codesourcery.com>
* builtins.c (expand_builtin_apply_args_1): Add pretend args size
to the virtual incoming args pointer for downward stacks.
2003-12-29 Paul Brook <paul@codesourcery.com>
* config/arm/arm-cores.def: Add cost function.
* config/arm/arm.c (arm_*_rtx_costs): New functions.
(arm_rtx_costs): Remove
(struct processors): Add rtx_costs field.
(all_cores, all_architectures): Ditto.
(arm_override_options): Set targetm.rtx_costs.
(thumb_rtx_costs): New function.
(arm_rtx_costs_1): Remove cases handled elsewhere.
* config/arm/arm.h (processor_type): Add COSTS parameter.
2003-12-29 Nathan Sidwell <nathan@codesourcery.com>
* config/arm/arm.md (generic_sched): arm926 has its own scheduler.
(arm926ejs.md): Include it.
* config/arm/arm926ejs.md: New pipeline description.
2003-12-24 Paul Brook <paul@codesourcery.com>
* config/arm/arm.c (arm_arch6j): New variable.
(arm_override_options): Set it.
(arm_emit_extendsi): New function.
* config/arm/arm-protos.h (arm_emit_extendsi): Add prototype.
* config/arm/arm.h (arm_arch6j): Declare.
* config/arm/arm.md: Add sign/zero extend insns.
2003-12-23 Paul Brook <paul@codesourcery.com>
* config/arm/arm.c (all_architectures): Add armv6.
* doc/invoke.texi: Document it.
2003-12-19 Paul Brook <paul@codesourcery.com>
* config/arm/arm.md: Add load1 and load_byte "type" attrs. Modify
insn patterns to match.
* config/arm/arm-generic.md: Ditto.
* config/arm/cirrus.md: Ditto.
* config/arm/fpa.md: Ditto.
* config/amm/iwmmxt.md: Ditto.
* config/arm/arm1026ejs.md: Ditto.
* config/arm/arm1135jfs.md: Ditto. Add insn_reservation and bypasses
for 11_loadb.
2003-12-18 Nathan Sidwell <nathan@codesourcery.com>
* config/arm/arm-protos.h (arm_no_early_alu_shift_value_dep): Declare.
* config/arm/arm.c (arm_adjust_cost): Check shift cost for
TYPE_ALU_SHIFT and TYPE_ALU_SHIFT_REG.
(arm_no_early_store_addr_dep, arm_no_early_alu_shift_dep,
arm_no_early_mul_dep): Correctly deal with conditional execution,
parallels and single shift operations.
(arm_no_early_alu_shift_value_dep): Define.
* arm.md (attr type): Replace 'normal' with 'alu',
'alu_shift' and 'alu_shift_reg'.
(attr core_cycles): Adjust.
(*addsi3_carryin_shift, andsi_not_shiftsi_si, *arm_shiftsi3,
*shiftsi3_compare0, *notsi_shiftsi, *notsi_shiftsi_compare0,
*not_shiftsi_compare0_scratch, *cmpsi_shiftsi, *cmpsi_shiftsi_swp,
*cmpsi_neg_shiftsi, *arith_shiftsi, *arith_shiftsi_compare0,
*arith_shiftsi_compare0_scratch, *sub_shiftsi,
*sub_shiftsi_compare0, *sub_shiftsi_compare0_scratch,
*if_shift_move, *if_move_shift, *if_shift_shift): Set type
attribute appropriately.
* config/arm/arm1026ejs.md (alu_op): Adjust.
(alu_shift_op, alu_shift_reg_op): New.
* config/arm/arm1136.md: Add better bypasses for early
registers. Remove load[234] and store[234] bypasses.
(11_alu_op): Adjust.
(11_alu_shift_op, 11_alu_shift_reg_op): New.
2003-12-15 Nathan Sidwell <nathan@codesourcery.com>
* config/arm/arm-protos.h (arm_no_early_store_addr_dep,
arm_no_early_alu_shift_dep, arm_no_early_mul_dep): Declare.
* config/arm/arm.c (arm_no_early_store_addr_dep,
arm_no_early_alu_shift_dep, arm_no_early_mul_dep): Define.
* config/arm/arm1026ejs.md: Add load-store bypass.
* config/arm/arm1136jfs.md (11_alu_op): Take 2 cycles.
Add bypasses between instructions.
2003-12-10 Paul Brook <paul@codesourcery.com>
* config/arm/arm.c (arm_fpu_model): New variable.
(arm_fload_abi): New variable.
(target_fpe_name): Rename from target_fp_name.
(target_fpu_name): New variable.
(arm_is_cirrus): Remove.
(fpu_desc): New struct.
(all_fpus): Define.
(pf_model_for_fpu): Define.
(all_loat_abis): Define.
(arm_override_options): Set fp arch flags based on -mfpu=
and -float-abi=.
(FIRST_FPA_REGNUM): Rename from FIRST_ARM_FP_REGNUM.
(LAST_FPA_REGNUM): Rename from LAST_ARM_FP_REGNUM.
(*): Use new TARGET_* flags.
* config/arm/arm.h (TARGET_ANY_HARD_FLOAT): Remove.
(TARGET_HARD_FLOAT): No longer implies TARGET_FPA.
(TARGET_SOFT_FLOAT): Ditto.
(TARGET_SOFT_FLOAT_ABI): New.
(TARGET_MAVERICK): Rename from TARGET_CIRRUS. No longer implies
TARGET_HARD_FLOAT.
(TARGET_VFP): No longer implies TARGET_HARD_FLOAT.
(TARGET_OPTIONS): Add -mfpu=.
(FIRST_FPA_REGNUM): Rename from FIRST_ARM_FP_REGNUM.
(LAST_FPA_REGNUM): Rename from LAST_ARM_FP_REGNUM.
(arm_pf_model): Define.
(arm_float_abi_type): Define.
(fputype): Add FPUTYPE_VFP. Change SOFT_FPA->NONE
* config/arm/arm.md: Use new TARGET_* flags.
* config/arm/cirrus.md: Ditto.
* config/arm/fpa.md: Ditto.
* config/arm/elf.h (ASM_SPEC): Pass -mfloat-abi= and -mfpu=.
* config/arm/semi.h (ASM_SPEC): Ditto.
* config/arm/netbsd-elf.h (SUBTARGET_ASM_FLOAT_SPEC): Specify vfp.
(FPUTYPE_DEFAULT): Set to VFP.
* doc/invoke.texi: Document -mfpu= and -mfloat-abi=.
2003-11-22 Phil Edwards <phil@codesourcery.com>
PR target/12476
* config/arm/arm.c (arm_output_mi_thunk): In Thumb mode, use
'bx' instead of 'b' to avoid branch range restrictions. Output
the thunk immediately before the thunked-to function.
* config/arm/arm.h (ARM_DECLARE_FUNCTION_NAME): Do not emit
.thumb_func if a thunk is being generated. Emit .code 16 along
with .thumb_func if a thunk is not being generated.
2003-11-15 Nicolas Pitre <nico@cam.org>
* config/arm/arm.md (ashldi3, arm_ashldi3_1bit, ashrdi3,
arm_ashrdi3_1bit, lshrdi3, arm_lshrdi3_1bit): New patterns.
* config/arm/iwmmxt.md (ashrdi3_iwmmxt): Renamed from ashrdi3.
(lshrdi3_iwmmxt): Renamed from lshrdi3.
* config/arm/arm.c (IWMMXT_BUILTIN2): Renamed argument accordingly.
2003-11-12 Steve Woodford <scw@wasabisystems.com>
Ian Lance Taylor <ian@wasabisystems.com>
* config/arm/lib1funcs.asm (ARM_DIV_BODY, ARM_MOD_BODY): Add new
code for __ARM_ARCH__ >= 5 && ! defined (__OPTIMIZE_SIZE__).
2003-11-05 Phil Edwards <phil@codesourcery.com>
* config/arm/arm.md (insn): Add new V6 instruction names.
(generic_sched): New attr.
* config/arm/arm-generic.md: Use generic_sched here.
* config/arm/arm1026ejs.md: Do not model fetch/issue/decode
stages of pipeline. Adjust latency counts accordingly.
* config/arm/arm1136jfs.md: New file.
2003-10-28 Mark Mitchell <mark@codesourcery.com>
* config/arm/arm.h (processor_type): New enumeration type.
(CPP_ARCH_DEFAULT_SPEC): Set appropriately for ARM 926EJ-S,
ARM1026EJ-S, ARM1136J-S, and ARM1136JF-S processor cores.
(CPP_CPU_ARCH_SPEC): Likewise.
* config/arm/arm.c (arm_tune): New variable.
(all_cores): Use cores.def.
(all_architectures): Add representative processor.
(arm_override_options): Restructure way in which tuning
information is deduced.
* arm.md: Update "insn" and "type" attributes throughout.
(insn): New attribute.
(type): Compute "mult" from "insn" attribute. Add load2,
load3, load4 alternatives.
(arm automaton): Move to arm-generic.md.
* config/arm/arm-cores.def: New file.
* config/arm/arm-generic.md: Likewise.
* config/arm/arm1026ejs.md: Likewise.
From-SVN: r77171
2004-02-03 15:45:44 +01:00
|
|
|
@itemx --with-fpu=@var{type}
|
config.gcc: Reorganize --with-cpu logic.
* config.gcc: Reorganize --with-cpu logic. Set
configure_default_options according to the default CPU, --with-cpu,
--with-arch, --with-tune, --with-schedule, --with-abi, and
--with-float. Check for legal values of various options.
* configure.in: Define configure_default_options in configargs.h.
* configure: Regenerated.
* config/mips/mips.h (TARGET_DEFAULT_ARCH_P)
(TARGET_DEFAULT_FLOAT_P): New macros.
* gcc.c (do_option_spec): New function.
(struct default_spec, option_default_specs): New.
(main): Call do_option_spec.
* config/alpha/alpha.h, config/arm/arm.h, config/i386/i386.h,
config/mips/mips.h, config/pa/pa.h, config/rs6000/rs6000.h,
config/sparc/sparc.h (OPTION_DEFAULT_SPECS): Define.
* doc/install.texi: Update --with-cpu documentation. Mention
--with-arch, --with-schedule, --with-tune, --with-abi, and
--with-float.
* doc/tm.texi (Driver): Document OPTION_DEFAULT_SPECS.
From-SVN: r67457
2003-06-04 19:50:44 +02:00
|
|
|
@itemx --with-float=@var{type}
|
|
|
|
These configure options provide default values for the @option{-mschedule=},
|
backport: re PR target/12476 (ARM/THUMB thunk calls broken)
Merge from csl-arm-branch.
2004-01-30 Paul Brook <paul@codesourcery.com>
* aof.h (REGISTER_NAMES): Add vfp reg names
(ADDITIONAL_REGISTER_NAMES): Ditto.
* aout.h (REGISTER_NAMES): Ditto.
(ADDITIONAL_REGISTER_NAMES): Ditto.
* arm-protos.h: Update/Add Prototypes.
* arm.c (init_fp_table): Rename from init_fpa_table. Update users.
Only allow 0.0 for VFP.
(fp_consts_inited): Rename from fpa_consts_inited. Update users.
(values_fp): Rename from values_fpa. Update Users.
(arm_const_double_rtx): Rename from const_double_rtx_ok_for_fpa.
Update users. Only check valid constants for this hardware.
(arm_float_rhs_operand): Rename from fpa_rhs_operand. Update Users.
Only allow consts for FPA.
(arm_float_add_operand): Rename from fpa_add_operand. Update users.
Only allow consts for FPA.
(use_return_insn): Check for saved VFP regs.
(arm_legitimate_address_p): Handle VFP DFmode addressing.
(arm_legitimize_address): Ditto.
(arm_general_register_operand): New function.
(vfp_mem_operand): New function.
(vfp_compare_operand): New function.
(vfp_secondary_reload_class): New function.
(arm_float_compare_operand): New function.
(vfp_print_multi): New function.
(vfp_output_fstmx): New function.
(vfp_emit_fstm): New function.
(arm_output_epilogue): Output VPF reg restore code.
(arm_expand_prologue): Output VFP reg save code.
(arm_print_operand): Add 'P'.
(arm_hard_regno_mode_ok): Return modes for VFP regs.
(arm_regno_class): Return classes for VFP regs.
(arm_compute_initial_elimination_offset): Include space for VFP regs.
(arm_get_frame_size): Ditto.
* arm.h (FIXED_REGISTERS): Add VFP regs.
(CALL_USED_REGISTERS): Ditto.
(CONDITIONAL_REGISTER_USAGE): Enable VFP regs.
(FIRST_VFP_REGNUM): Define.
(LAST_VFP_REGNUM): Define.
(IS_VFP_REGNUM): Define.
(FIRST_PSEUDO_REGISTER): Include VFP regs.
(HARD_REGNO_NREGS): Handle VFP regs.
(REG_ALLOC_ORDER): Add VFP regs.
(enum reg_class): Add VFP_REGS.
(REG_CLASS_NAMES): Ditto.
(REG_CLASS_CONTENTS): Ditto.
(CANNOT_CHANGE_MODE_CLASS) Handle VFP Regs.
(REG_CLASS_FROM_LETTER): Add 'w'.
(EXTRA_CONSTRAINT_ARM): Add 'U'.
(EXTRA_MEMORY_CONSTRAINT): Define.
(SECONDARY_OUTPUT_RELOAD_CLASS): Handle VFP regs.
(SECONDARY_INPUT_RELOAD_CLASS): Ditto.
(REGISTER_MOVE_COST): Ditto.
(PREDICATE_CODES): Add arm_general_register_operand,
arm_float_compare_operand and vfp_compare_operand.
* arm.md (various): Rename as above.
(divsf3): Enable when TARGET_VFP.
(divdf3): Ditto.
(movdfcc): Ditto.
(sqrtsf2): Ditto.
(sqrtdf2): Ditto.
(arm_movdi): Disable when TARGET_VFP.
(arm_movsi_insn): Ditto.
(movsi): Only split with general regs.
(cmpsf): Use arm_float_compare_operand.
(push_fp_multi): Restrict to TARGET_FPA.
(vfp.md): Include.
* vfp.md: New file.
* fpa.md (various): Rename as above.
* doc/md.texi: Document ARM w and U constraints.
2004-01-15 Paul Brook <paul@codesourcery.com>
* config.gcc: Add with_fpu. Allow with-float=softfp.
* config/arm/arm.c (arm_override_options): Rename *-s to *s.
Break out of loop when we find a float-abi. Fix typo.
* config/arm/arm.h (OPTION_DEFAULT_SPECS): Add "fpu".
Set -mfloat-abi=.
* doc/install.texi: Document --with-fpu.
2003-01-14 Paul Brook <paul@codesourcery.com>
* config.gcc (with_arch): Add armv6.
* config/arm/arm.h: Rename TARGET_CPU_*_s to TARGET_CPU_*s.
* config/arm/arm.c (arm_overrride_options): Ditto.
2004-01-08 Richard Earnshaw <rearnsha@arm.com>
* arm.c (FL_ARCH3M): Renamed from FL_FAST_MULT.
(FL_ARCH6): Renamed from FL_ARCH6J.
(arm_arch3m): Renamed from arm_fast_multiply.
(arm_arch6): Renamed from arm_arch6j.
* arm.h: Update all uses of above.
* arm-cores.def: Likewise.
* arm.md: Likewise.
* arm.h (CPP_CPU_ARCH_SPEC): Emit __ARM_ARCH_6J__ define for armV6j,
not arm6j. Add entry for arch armv6.
2004-01-07 Richard Earnshaw <rearnsha@arm.com>
* arm.c (arm_emit_extendsi): Delete.
* arm-protos.h (arm_emit_extendsi): Delete.
* arm.md (zero_extendhisi2): Also handle zero-extension of
non-subregs.
(zero_extendqisi2, extendhisi2, extendqisi2): Likewise.
(thumb_zero_extendhisi2): Only match if not v6.
(arm_zero_extendhisi2, thumb_zero_extendqisi2, arm_zero_extendqisi2)
(thumb_extendhisi2, arm_extendhisi2, arm_extendqisi)
(thumb_extendqisi2): Likewise.
(thumb_zero_extendhisi2_v6, arm_zero_extendhisi2_v6): New patterns.
(thumb_zero_extendqisi2_v6, arm_zero_extendqisi2_v6): New patterns.
(thumb_extendhisi2_insn_v6, arm_extendhisi2_v6): New patterns.
(thumb_extendqisi2_v6, arm_extendqisi_v6): New patterns.
(arm_zero_extendhisi2_reg, arm_zero_extendqisi2_reg): Delete.
(arm_extendhisi2_reg, arm_extendqisi2_reg): Delete.
(arm_zero_extendhisi2addsi): Remove subreg. Add attributes.
(arm_zero_extendqisi2addsi, arm_extendhisi2addsi): Likewise.
(arm_extendqisi2addsi): Likewise.
2003-12-31 Mark Mitchell <mark@codesourcery.com>
Revert this change:
* config/arm/arm.h (THUMB_LEGTITIMIZE_RELOAD_ADDRESS): Reload REG
+ REG addressing modes.
* config/arm/arm.h (THUMB_LEGTITIMIZE_RELOAD_ADDRESS): Reload REG
+ REG addressing modes.
2003-12-30 Mark Mitchell <mark@codesourcery.com>
* config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept
CONSTANT_P_RTX.
2003-30-12 Paul Brook <paul@codesourcery.com>
* longlong.h: protect arm inlines with !defined (__thumb__)
2003-30-12 Paul Brook <paul@codesourcery.com>
* config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Always define __arm__.
2003-12-30 Nathan Sidwell <nathan@codesourcery.com>
* builtins.c (expand_builtin_apply_args_1): Fix typo in previous
change.
2003-12-29 Nathan Sidwell <nathan@codesourcery.com>
* builtins.c (expand_builtin_apply_args_1): Add pretend args size
to the virtual incoming args pointer for downward stacks.
2003-12-29 Paul Brook <paul@codesourcery.com>
* config/arm/arm-cores.def: Add cost function.
* config/arm/arm.c (arm_*_rtx_costs): New functions.
(arm_rtx_costs): Remove
(struct processors): Add rtx_costs field.
(all_cores, all_architectures): Ditto.
(arm_override_options): Set targetm.rtx_costs.
(thumb_rtx_costs): New function.
(arm_rtx_costs_1): Remove cases handled elsewhere.
* config/arm/arm.h (processor_type): Add COSTS parameter.
2003-12-29 Nathan Sidwell <nathan@codesourcery.com>
* config/arm/arm.md (generic_sched): arm926 has its own scheduler.
(arm926ejs.md): Include it.
* config/arm/arm926ejs.md: New pipeline description.
2003-12-24 Paul Brook <paul@codesourcery.com>
* config/arm/arm.c (arm_arch6j): New variable.
(arm_override_options): Set it.
(arm_emit_extendsi): New function.
* config/arm/arm-protos.h (arm_emit_extendsi): Add prototype.
* config/arm/arm.h (arm_arch6j): Declare.
* config/arm/arm.md: Add sign/zero extend insns.
2003-12-23 Paul Brook <paul@codesourcery.com>
* config/arm/arm.c (all_architectures): Add armv6.
* doc/invoke.texi: Document it.
2003-12-19 Paul Brook <paul@codesourcery.com>
* config/arm/arm.md: Add load1 and load_byte "type" attrs. Modify
insn patterns to match.
* config/arm/arm-generic.md: Ditto.
* config/arm/cirrus.md: Ditto.
* config/arm/fpa.md: Ditto.
* config/amm/iwmmxt.md: Ditto.
* config/arm/arm1026ejs.md: Ditto.
* config/arm/arm1135jfs.md: Ditto. Add insn_reservation and bypasses
for 11_loadb.
2003-12-18 Nathan Sidwell <nathan@codesourcery.com>
* config/arm/arm-protos.h (arm_no_early_alu_shift_value_dep): Declare.
* config/arm/arm.c (arm_adjust_cost): Check shift cost for
TYPE_ALU_SHIFT and TYPE_ALU_SHIFT_REG.
(arm_no_early_store_addr_dep, arm_no_early_alu_shift_dep,
arm_no_early_mul_dep): Correctly deal with conditional execution,
parallels and single shift operations.
(arm_no_early_alu_shift_value_dep): Define.
* arm.md (attr type): Replace 'normal' with 'alu',
'alu_shift' and 'alu_shift_reg'.
(attr core_cycles): Adjust.
(*addsi3_carryin_shift, andsi_not_shiftsi_si, *arm_shiftsi3,
*shiftsi3_compare0, *notsi_shiftsi, *notsi_shiftsi_compare0,
*not_shiftsi_compare0_scratch, *cmpsi_shiftsi, *cmpsi_shiftsi_swp,
*cmpsi_neg_shiftsi, *arith_shiftsi, *arith_shiftsi_compare0,
*arith_shiftsi_compare0_scratch, *sub_shiftsi,
*sub_shiftsi_compare0, *sub_shiftsi_compare0_scratch,
*if_shift_move, *if_move_shift, *if_shift_shift): Set type
attribute appropriately.
* config/arm/arm1026ejs.md (alu_op): Adjust.
(alu_shift_op, alu_shift_reg_op): New.
* config/arm/arm1136.md: Add better bypasses for early
registers. Remove load[234] and store[234] bypasses.
(11_alu_op): Adjust.
(11_alu_shift_op, 11_alu_shift_reg_op): New.
2003-12-15 Nathan Sidwell <nathan@codesourcery.com>
* config/arm/arm-protos.h (arm_no_early_store_addr_dep,
arm_no_early_alu_shift_dep, arm_no_early_mul_dep): Declare.
* config/arm/arm.c (arm_no_early_store_addr_dep,
arm_no_early_alu_shift_dep, arm_no_early_mul_dep): Define.
* config/arm/arm1026ejs.md: Add load-store bypass.
* config/arm/arm1136jfs.md (11_alu_op): Take 2 cycles.
Add bypasses between instructions.
2003-12-10 Paul Brook <paul@codesourcery.com>
* config/arm/arm.c (arm_fpu_model): New variable.
(arm_fload_abi): New variable.
(target_fpe_name): Rename from target_fp_name.
(target_fpu_name): New variable.
(arm_is_cirrus): Remove.
(fpu_desc): New struct.
(all_fpus): Define.
(pf_model_for_fpu): Define.
(all_loat_abis): Define.
(arm_override_options): Set fp arch flags based on -mfpu=
and -float-abi=.
(FIRST_FPA_REGNUM): Rename from FIRST_ARM_FP_REGNUM.
(LAST_FPA_REGNUM): Rename from LAST_ARM_FP_REGNUM.
(*): Use new TARGET_* flags.
* config/arm/arm.h (TARGET_ANY_HARD_FLOAT): Remove.
(TARGET_HARD_FLOAT): No longer implies TARGET_FPA.
(TARGET_SOFT_FLOAT): Ditto.
(TARGET_SOFT_FLOAT_ABI): New.
(TARGET_MAVERICK): Rename from TARGET_CIRRUS. No longer implies
TARGET_HARD_FLOAT.
(TARGET_VFP): No longer implies TARGET_HARD_FLOAT.
(TARGET_OPTIONS): Add -mfpu=.
(FIRST_FPA_REGNUM): Rename from FIRST_ARM_FP_REGNUM.
(LAST_FPA_REGNUM): Rename from LAST_ARM_FP_REGNUM.
(arm_pf_model): Define.
(arm_float_abi_type): Define.
(fputype): Add FPUTYPE_VFP. Change SOFT_FPA->NONE
* config/arm/arm.md: Use new TARGET_* flags.
* config/arm/cirrus.md: Ditto.
* config/arm/fpa.md: Ditto.
* config/arm/elf.h (ASM_SPEC): Pass -mfloat-abi= and -mfpu=.
* config/arm/semi.h (ASM_SPEC): Ditto.
* config/arm/netbsd-elf.h (SUBTARGET_ASM_FLOAT_SPEC): Specify vfp.
(FPUTYPE_DEFAULT): Set to VFP.
* doc/invoke.texi: Document -mfpu= and -mfloat-abi=.
2003-11-22 Phil Edwards <phil@codesourcery.com>
PR target/12476
* config/arm/arm.c (arm_output_mi_thunk): In Thumb mode, use
'bx' instead of 'b' to avoid branch range restrictions. Output
the thunk immediately before the thunked-to function.
* config/arm/arm.h (ARM_DECLARE_FUNCTION_NAME): Do not emit
.thumb_func if a thunk is being generated. Emit .code 16 along
with .thumb_func if a thunk is not being generated.
2003-11-15 Nicolas Pitre <nico@cam.org>
* config/arm/arm.md (ashldi3, arm_ashldi3_1bit, ashrdi3,
arm_ashrdi3_1bit, lshrdi3, arm_lshrdi3_1bit): New patterns.
* config/arm/iwmmxt.md (ashrdi3_iwmmxt): Renamed from ashrdi3.
(lshrdi3_iwmmxt): Renamed from lshrdi3.
* config/arm/arm.c (IWMMXT_BUILTIN2): Renamed argument accordingly.
2003-11-12 Steve Woodford <scw@wasabisystems.com>
Ian Lance Taylor <ian@wasabisystems.com>
* config/arm/lib1funcs.asm (ARM_DIV_BODY, ARM_MOD_BODY): Add new
code for __ARM_ARCH__ >= 5 && ! defined (__OPTIMIZE_SIZE__).
2003-11-05 Phil Edwards <phil@codesourcery.com>
* config/arm/arm.md (insn): Add new V6 instruction names.
(generic_sched): New attr.
* config/arm/arm-generic.md: Use generic_sched here.
* config/arm/arm1026ejs.md: Do not model fetch/issue/decode
stages of pipeline. Adjust latency counts accordingly.
* config/arm/arm1136jfs.md: New file.
2003-10-28 Mark Mitchell <mark@codesourcery.com>
* config/arm/arm.h (processor_type): New enumeration type.
(CPP_ARCH_DEFAULT_SPEC): Set appropriately for ARM 926EJ-S,
ARM1026EJ-S, ARM1136J-S, and ARM1136JF-S processor cores.
(CPP_CPU_ARCH_SPEC): Likewise.
* config/arm/arm.c (arm_tune): New variable.
(all_cores): Use cores.def.
(all_architectures): Add representative processor.
(arm_override_options): Restructure way in which tuning
information is deduced.
* arm.md: Update "insn" and "type" attributes throughout.
(insn): New attribute.
(type): Compute "mult" from "insn" attribute. Add load2,
load3, load4 alternatives.
(arm automaton): Move to arm-generic.md.
* config/arm/arm-cores.def: New file.
* config/arm/arm-generic.md: Likewise.
* config/arm/arm1026ejs.md: Likewise.
From-SVN: r77171
2004-02-03 15:45:44 +01:00
|
|
|
@option{-march=}, @option{-mtune=}, @option{-mabi=}, and @option{-mfpu=}
|
|
|
|
options and for @option{-mhard-float} or @option{-msoft-float}. As with
|
|
|
|
@option{--with-cpu}, which switches will be accepted and acceptable values
|
|
|
|
of the arguments depend on the target.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2006-03-17 15:48:58 +01:00
|
|
|
@item --with-mode=@var{mode}
|
|
|
|
Specify if the compiler should default to @option{-marm} or @option{-mthumb}.
|
|
|
|
This option is only supported on ARM targets.
|
|
|
|
|
2011-11-05 21:48:23 +01:00
|
|
|
@item --with-stack-offset=@var{num}
|
|
|
|
This option sets the default for the -mstack-offset=@var{num} option,
|
|
|
|
and will thus generally also control the setting of this option for
|
|
|
|
libraries. This option is only supported on Epiphany targets.
|
|
|
|
|
2010-11-05 19:33:19 +01:00
|
|
|
@item --with-fpmath=@var{isa}
|
|
|
|
This options sets @option{-mfpmath=sse} by default and specifies the default
|
|
|
|
ISA for floating-point arithmetics. You can select either @samp{sse} which
|
|
|
|
enables @option{-msse2} or @samp{avx} which enables @option{-mavx} by default.
|
|
|
|
This option is only supported on i386 and x86-64 targets.
|
2010-02-26 15:52:01 +01:00
|
|
|
|
2004-09-07 21:39:06 +02:00
|
|
|
@item --with-divide=@var{type}
|
|
|
|
Specify how the compiler should generate code for checking for
|
|
|
|
division by zero. This option is only supported on the MIPS target.
|
|
|
|
The possibilities for @var{type} are:
|
|
|
|
@table @code
|
|
|
|
@item traps
|
|
|
|
Division by zero checks use conditional traps (this is the default on
|
|
|
|
systems that support conditional traps).
|
|
|
|
@item breaks
|
|
|
|
Division by zero checks use the break instruction.
|
|
|
|
@end table
|
|
|
|
|
invoke.texi: Document new MIPS -mllsc and -mno-llsc options.
* doc/invoke.texi: Document new MIPS -mllsc and -mno-llsc options.
* doc/install.texi: Document new --with-llsc and --without-llsc
options.
* config.gcc: Handle --with-llsc and --without-llsc configure options.
* config/mips/mips.md (sync, memory_barrier): Wrap sync instrunction
in %| and %- operand codes. Depend on GENERATE_SYNC instead of
ISA_HAS_SYNC.
(sync_compare_and_swap<mode>, sync_add<mode>, sync_sub<mode>,
sync_old_add<mode>, sync_old_sub<mode>, sync_new_add<mode>,
sync_new_sub<mode>, sync_<optab><mode>, sync_old_<optab><mode>,
sync_new_<optab><mode>, sync_nand<mode>, sync_old_nand<mode>,
sync_new_nand<mode>, sync_lock_test_and_set<mode>): Depend on
GENERATE_LL_SC instead of ISA_HAS_LL_SC.
* config/mips/mips.opt (mllsc): New option.
* config/mips/mips.c (mips_llsc): Define variable.
(mips_handle_option): Handle mllsc option.
(override_options): Set mips_print_operand_punct for '|' and '-'.
(print_operand): Add new %| and %- operand codes.
* config/mips/mips.h (mips_llsc_setting): New enum type.
(mips_llsc): Declare.
(OPTION_DEFAULT_SPECS): Add llsc handling.
(GENERATE_SYNC): New macro.
(GENERATE_LL_SC): New macro.
(MIPS_COMPARE_AND_SWAP, MIPS_SYNC_OP, MIPS_SYNC_OLD_OP,
MIPS_SYNC_NEW_OP, MIPS_SYNC_NAND, MIPS_SYNC_OLD_NAND,
MIPS_SYNC_NEW_NAND, MIPS_SYNC_EXCHANGE): Wrap instructions
in %| and %- operand codes.
From-SVN: r128392
2007-09-11 22:14:51 +02:00
|
|
|
@c If you make --with-llsc the default for additional targets,
|
|
|
|
@c update the --with-llsc description in the MIPS section below.
|
|
|
|
|
|
|
|
@item --with-llsc
|
|
|
|
On MIPS targets, make @option{-mllsc} the default when no
|
|
|
|
@option{-mno-lsc} option is passed. This is the default for
|
|
|
|
Linux-based targets, as the kernel will emulate them if the ISA does
|
|
|
|
not provide them.
|
|
|
|
|
|
|
|
@item --without-llsc
|
|
|
|
On MIPS targets, make @option{-mno-llsc} the default when no
|
|
|
|
@option{-mllsc} option is passed.
|
|
|
|
|
2009-07-11 00:49:52 +02:00
|
|
|
@item --with-synci
|
|
|
|
On MIPS targets, make @option{-msynci} the default when no
|
|
|
|
@option{-mno-synci} option is passed.
|
|
|
|
|
2011-05-05 01:34:37 +02:00
|
|
|
@item --without-synci
|
2009-07-11 00:49:52 +02:00
|
|
|
On MIPS targets, make @option{-mno-synci} the default when no
|
|
|
|
@option{-msynci} option is passed. This is the default.
|
|
|
|
|
2008-08-17 12:48:46 +02:00
|
|
|
@item --with-mips-plt
|
|
|
|
On MIPS targets, make use of copy relocations and PLTs.
|
|
|
|
These features are extensions to the traditional
|
|
|
|
SVR4-based MIPS ABIs and require support from GNU binutils
|
|
|
|
and the runtime C library.
|
|
|
|
|
2004-01-31 05:18:15 +01:00
|
|
|
@item --enable-__cxa_atexit
|
|
|
|
Define if you want to use __cxa_atexit, rather than atexit, to
|
|
|
|
register C++ destructors for local statics and global objects.
|
|
|
|
This is essential for fully standards-compliant handling of
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
destructors, but requires __cxa_atexit in libc. This option is currently
|
|
|
|
only available on systems with GNU libc. When enabled, this will cause
|
2007-09-04 13:07:52 +02:00
|
|
|
@option{-fuse-cxa-atexit} to be passed by default.
|
2004-01-31 05:18:15 +01:00
|
|
|
|
2011-07-06 15:58:39 +02:00
|
|
|
@item --enable-gnu-indirect-function
|
2010-09-29 16:58:52 +02:00
|
|
|
Define if you want to enable the @code{ifunc} attribute. This option is
|
|
|
|
currently only available on systems with GNU libc on certain targets.
|
|
|
|
|
2001-06-02 20:21:37 +02:00
|
|
|
@item --enable-target-optspace
|
|
|
|
Specify that target
|
2001-06-01 20:08:19 +02:00
|
|
|
libraries should be optimized for code space instead of code speed.
|
|
|
|
This is the default for the m32r platform.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2001-06-12 21:36:53 +02:00
|
|
|
@item --with-cpp-install-dir=@var{dirname}
|
|
|
|
Specify that the user visible @command{cpp} program should be installed
|
|
|
|
in @file{@var{prefix}/@var{dirname}/cpp}, in addition to @var{bindir}.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2010-04-09 19:32:54 +02:00
|
|
|
@item --enable-comdat
|
|
|
|
Enable COMDAT group support. This is primarily used to override the
|
|
|
|
automatically detected value.
|
|
|
|
|
2002-11-07 23:48:10 +01:00
|
|
|
@item --enable-initfini-array
|
|
|
|
Force the use of sections @code{.init_array} and @code{.fini_array}
|
|
|
|
(instead of @code{.init} and @code{.fini}) for constructors and
|
|
|
|
destructors. Option @option{--disable-initfini-array} has the
|
|
|
|
opposite effect. If neither option is specified, the configure script
|
|
|
|
will try to guess whether the @code{.init_array} and
|
|
|
|
@code{.fini_array} sections are supported and, if they are, use them.
|
|
|
|
|
configure.ac: Add --enable-build-with-cxx.
./: * configure.ac: Add --enable-build-with-cxx. When set, add c++ to
boot_languages. Only bootstrap target libraries listed in
target_libs for some boot language. Add --with-stage1-ldflags,
--with-stage1-libs, --with-boot-ldflags, --with-boot-libs. Remove
with_host_libstdcxx from ppllibs. Only add -fkeep-inline-functions
if not building with C++.
* Makefile.def: For target_module libstdc++-v3, set bootstrap=true.
* Makefile.tpl (STAGE1_LDFLAGS, STAGE1_LIBS): New variables.
(POSTSTAGE1_LDFLAGS, POSTSTAGE1_LIBS): New variables.
(HOST_EXPORTS): Add STAGE1_LDFLAGS to LDFLAGS. Export HOST_LIBS.
(POSTSTAGE1_HOST_EXPORTS): Set CXX and CXX_FOR_BUILD. Add
POSTSTAGE1_LDFLAGS to LDFLAGS. Export HOST_LIBS.
(POSTSTAGE1_FLAGS_TO_PASS): Likewise.
* configure, Makefile.in: Rebuild.
gcc/:
* configure.ac: Invoke AC_PROG_CXX. Separate C specific warnings
from loose_warn into c_loose_warn and from strict_warn into
c_strict_warn. Set and substitute warn_cxxflags. Check for
--enable-build-with-cxx. Set and substitute
ENABLE_BUILD_WITH_CXX. Set and substitute HOST_LIBS.
* Makefile.in (CXXFLAGS): New variable.
(C_LOOSE_WARN, C_STRICT_WARN): New variables.
(GCC_WARN_CFLAGS): Add $(C_LOOSE_WARN). Add $(C_STRICT_WARN) if
the default is the same as $(STRICT_WARN).
(GCC_WARN_CXXFLAGS, WARN_CXXFLAGS): New variables.
(CXX): New variable.
(COMPILER): New value if ENABLE_BUILD_WITH_CXX.
(COMPILER_FLAGS, LINKER, LINKER_FLAGS): Likewise.
(ALL_COMPILERFLAGS, ALL_LINKERFLAGS): Likewise.
(HOST_LIBS): New variable.
(GCC_CFLAGS): Add $(C_LOOSE_WARN).
(ALL_CXXFLAGS): New variable.
(LIBS, BACKENDLIBS): Add $(HOST_LIBS).
* doc/install.texi (Configuration): Document
--enable-build-with-cxx, --with-stage1-ldflags,
--with-stage1-libs, --with-boot-ldflags, --with-boot-libs.
* configure: Rebuild.
From-SVN: r148889
2009-06-24 06:03:51 +02:00
|
|
|
@item --enable-build-with-cxx
|
|
|
|
Build GCC using a C++ compiler rather than a C compiler. This is an
|
|
|
|
experimental option which may become the default in a later release.
|
|
|
|
|
2011-07-19 20:33:25 +02:00
|
|
|
@item --enable-build-poststage1-with-cxx
|
|
|
|
When bootstrapping, build stages 2 and 3 of GCC using a C++ compiler
|
|
|
|
rather than a C compiler. Stage 1 is still built with a C compiler.
|
2011-11-22 18:25:51 +01:00
|
|
|
This is enabled by default and may be disabled using
|
2011-07-19 20:33:25 +02:00
|
|
|
@option{--disable-build-poststage1-with-cxx}.
|
|
|
|
|
2001-06-02 20:21:37 +02:00
|
|
|
@item --enable-maintainer-mode
|
2009-09-30 02:47:38 +02:00
|
|
|
The build rules that regenerate the Autoconf and Automake output files as
|
|
|
|
well as the GCC master message catalog @file{gcc.pot} are normally
|
2001-06-27 00:47:11 +02:00
|
|
|
disabled. This is because it can only be rebuilt if the complete source
|
|
|
|
tree is present. If you have changed the sources and want to rebuild the
|
2001-06-02 15:59:52 +02:00
|
|
|
catalog, configuring with @option{--enable-maintainer-mode} will enable
|
2001-06-27 00:47:11 +02:00
|
|
|
this. Note that you need a recent version of the @code{gettext} tools
|
2001-06-02 15:59:52 +02:00
|
|
|
to do so.
|
|
|
|
|
2006-06-01 14:28:11 +02:00
|
|
|
@item --disable-bootstrap
|
|
|
|
For a native build, the default configuration is to perform
|
|
|
|
a 3-stage bootstrap of the compiler when @samp{make} is invoked,
|
|
|
|
testing that GCC can compile itself correctly. If you want to disable
|
|
|
|
this process, you can configure with @option{--disable-bootstrap}.
|
|
|
|
|
|
|
|
@item --enable-bootstrap
|
|
|
|
In special cases, you may want to perform a 3-stage build
|
|
|
|
even if the target and host triplets are different.
|
2009-09-30 02:47:38 +02:00
|
|
|
This is possible when the host can run code compiled for
|
2006-06-01 14:28:11 +02:00
|
|
|
the target (e.g.@: host is i686-linux, target is i486-linux).
|
|
|
|
Starting from GCC 4.2, to do this you have to configure explicitly
|
|
|
|
with @option{--enable-bootstrap}.
|
|
|
|
|
2003-10-21 01:45:51 +02:00
|
|
|
@item --enable-generated-files-in-srcdir
|
2006-04-05 07:21:32 +02:00
|
|
|
Neither the .c and .h files that are generated from Bison and flex nor the
|
2003-10-21 01:45:51 +02:00
|
|
|
info manuals and man pages that are built from the .texi files are present
|
2006-04-05 07:21:32 +02:00
|
|
|
in the SVN development tree. When building GCC from that development tree,
|
|
|
|
or from one of our snapshots, those generated files are placed in your
|
|
|
|
build directory, which allows for the source to be in a readonly
|
|
|
|
directory.
|
2003-10-21 01:45:51 +02:00
|
|
|
|
|
|
|
If you configure with @option{--enable-generated-files-in-srcdir} then those
|
|
|
|
generated files will go into the source directory. This is mainly intended
|
|
|
|
for generating release or prerelease tarballs of the GCC sources, since it
|
2006-04-05 07:21:32 +02:00
|
|
|
is not a requirement that the users of source releases to have flex, Bison,
|
|
|
|
or makeinfo.
|
2003-10-21 01:45:51 +02:00
|
|
|
|
2001-06-02 20:21:37 +02:00
|
|
|
@item --enable-version-specific-runtime-libs
|
|
|
|
Specify
|
2001-06-01 20:08:19 +02:00
|
|
|
that runtime libraries should be installed in the compiler specific
|
2003-08-01 23:53:22 +02:00
|
|
|
subdirectory (@file{@var{libdir}/gcc}) rather than the usual places. In
|
|
|
|
addition, @samp{libstdc++}'s include files will be installed into
|
|
|
|
@file{@var{libdir}} unless you overruled it by using
|
2001-06-13 15:07:28 +02:00
|
|
|
@option{--with-gxx-include-dir=@var{dirname}}. Using this option is
|
2001-06-01 20:08:19 +02:00
|
|
|
particularly useful if you intend to use several versions of GCC in
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
parallel. This is currently supported by @samp{libgfortran},
|
2004-06-16 14:34:24 +02:00
|
|
|
@samp{libjava}, @samp{libmudflap}, @samp{libstdc++}, and @samp{libobjc}.
|
|
|
|
|
2001-06-02 20:21:37 +02:00
|
|
|
@item --enable-languages=@var{lang1},@var{lang2},@dots{}
|
|
|
|
Specify that only a particular subset of compilers and
|
2001-06-27 00:47:11 +02:00
|
|
|
their runtime libraries should be built. For a list of valid values for
|
2001-06-13 15:07:28 +02:00
|
|
|
@var{langN} you can issue the following command in the
|
2001-07-02 20:08:42 +02:00
|
|
|
@file{gcc} directory of your GCC source tree:@*
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@smallexample
|
2001-07-02 20:08:42 +02:00
|
|
|
grep language= */config-lang.in
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@end smallexample
|
2001-07-02 20:08:42 +02:00
|
|
|
Currently, you can use any of the following:
|
2010-12-03 05:34:57 +01:00
|
|
|
@code{all}, @code{ada}, @code{c}, @code{c++}, @code{fortran},
|
|
|
|
@code{go}, @code{java}, @code{objc}, @code{obj-c++}.
|
2005-04-29 00:53:21 +02:00
|
|
|
Building the Ada compiler has special requirements, see below.
|
|
|
|
If you do not pass this flag, or specify the option @code{all}, then all
|
|
|
|
default languages available in the @file{gcc} sub-tree will be configured.
|
2010-12-03 05:34:57 +01:00
|
|
|
Ada, Go and Objective-C++ are not default languages; the rest are.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2007-03-12 21:03:33 +01:00
|
|
|
@item --enable-stage1-languages=@var{lang1},@var{lang2},@dots{}
|
|
|
|
Specify that a particular subset of compilers and their runtime
|
|
|
|
libraries should be built with the system C compiler during stage 1 of
|
|
|
|
the bootstrap process, rather than only in later stages with the
|
|
|
|
bootstrapped C compiler. The list of valid values is the same as for
|
|
|
|
@option{--enable-languages}, and the option @code{all} will select all
|
|
|
|
of the languages enabled by @option{--enable-languages}. This option is
|
|
|
|
primarily useful for GCC development; for instance, when a development
|
|
|
|
version of the compiler cannot bootstrap due to compiler bugs, or when
|
|
|
|
one is debugging front ends other than the C front end. When this
|
|
|
|
option is used, one can then build the target libraries for the
|
|
|
|
specified languages with the stage-1 compiler by using @command{make
|
|
|
|
stage1-bubble all-target}, or run the testsuite on the stage-1 compiler
|
|
|
|
for the specified languages using @command{make stage1-start check-gcc}.
|
|
|
|
|
2004-02-10 12:32:44 +01:00
|
|
|
@item --disable-libada
|
|
|
|
Specify that the run-time libraries and tools used by GNAT should not
|
|
|
|
be built. This can be useful for debugging, or for compatibility with
|
2004-02-12 05:13:09 +01:00
|
|
|
previous Ada build procedures, when it was required to explicitly
|
2004-02-10 12:32:44 +01:00
|
|
|
do a @samp{make -C gcc gnatlib_and_tools}.
|
|
|
|
|
2005-07-06 23:26:23 +02:00
|
|
|
@item --disable-libssp
|
|
|
|
Specify that the run-time libraries for stack smashing protection
|
|
|
|
should not be built.
|
|
|
|
|
2010-12-10 11:55:56 +01:00
|
|
|
@item --disable-libquadmath
|
|
|
|
Specify that the GCC quad-precision math library should not be built.
|
|
|
|
On some systems, the library is required to be linkable when building
|
|
|
|
the Fortran front end, unless @option{--disable-libquadmath-support}
|
|
|
|
is used.
|
|
|
|
|
|
|
|
@item --disable-libquadmath-support
|
|
|
|
Specify that the Fortran front end and @code{libgfortran} do not add
|
|
|
|
support for @code{libquadmath} on systems supporting it.
|
|
|
|
|
2006-02-21 22:53:21 +01:00
|
|
|
@item --disable-libgomp
|
|
|
|
Specify that the run-time libraries used by GOMP should not be built.
|
|
|
|
|
2001-06-02 20:21:37 +02:00
|
|
|
@item --with-dwarf2
|
|
|
|
Specify that the compiler should
|
2001-07-02 20:08:42 +02:00
|
|
|
use DWARF 2 debugging information as the default.
|
2001-06-03 21:06:55 +02:00
|
|
|
|
configure.ac: Add --enable-secureplt.
* configure.ac: Add --enable-secureplt.
(HAVE_AS_REL16): Test for R_PPC_REL16 relocs.
* config.in: Regenerate.
* configure: Regenerate.
* config.gcc (powerpc64-*-linux*, powerpc-*-linux*): Add
rs6000/secureplt.h to tm_file when enable_secureplt.
* doc/invoke.texi (msecure-plt, mbss-plt): Document.
* doc/install.texi: Document --enable-targets and --enable-secureplt.
Correct xrefs to "Using the GNU Compiler Collection (GCC)".
* config/rs6000/secureplt.h: New file.
* config/rs6000/sysv4.h (TARGET_SECURE_PLT): Define.
(SUBTARGET_OVERRIDE_OPTIONS): Error if -msecure-plt given without
assembler support.
(CC1_SECURE_PLT_DEFAULT_SPEC): Define.
(CC1_SPEC): Delete duplicate mno-sdata. Invoke cc1_secure_plt_default.
(SUBTARGET_EXTRA_SPECS): Add cc1_secure_plt_default.
* config/rs6000/sysv4.opt (msecure-plt, bss-plt): Add options.
* config/rs6000/rs6000.h (TARGET_SECURE_PLT): Define.
* config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Handle
TARGET_SECURE_PLT got register load sequence.
(rs6000_emit_prologue): Call rs6000_emit_load_toc_table when
TARGET_SECURE_PLT.
(rs6000_elf_declare_function_name): Don't emit toc address offset
word when TARGET_SECURE_PLT.
* config/rs6000/rs6000.md (elf_high, elf_low): Move past load_toc_*.
(load_toc_v4_PIC_1) Enable for TARGET_SECURE_PLT.
(load_toc_v4_PIC_3b, load_toc_v4_PIC_3c): New insns.
(call, call_value): Mark pic_offset_table_rtx used for sysv pic and
TARGET_SECURE_PLT.
(call_nonlocal_sysv, call_value_nonlocal_sysv, sibcall_nonlocal_sysv,
sibcall_value_nonlocal_sysv): Add 32768 offset when TARGET_SECURE_PLT
and -fPIC.
* config/rs6000/tramp.asm (trampoline_initial): Use "bcl 20,31".
(__trampoline_setup): Likewise. Init r30 before plt call.
From-SVN: r100415
2005-06-01 02:30:26 +02:00
|
|
|
@item --enable-targets=all
|
|
|
|
@itemx --enable-targets=@var{target_list}
|
|
|
|
Some GCC targets, e.g.@: powerpc64-linux, build bi-arch compilers.
|
|
|
|
These are compilers that are able to generate either 64-bit or 32-bit
|
2005-06-02 23:54:42 +02:00
|
|
|
code. Typically, the corresponding 32-bit target, e.g.@:
|
configure.ac: Add --enable-secureplt.
* configure.ac: Add --enable-secureplt.
(HAVE_AS_REL16): Test for R_PPC_REL16 relocs.
* config.in: Regenerate.
* configure: Regenerate.
* config.gcc (powerpc64-*-linux*, powerpc-*-linux*): Add
rs6000/secureplt.h to tm_file when enable_secureplt.
* doc/invoke.texi (msecure-plt, mbss-plt): Document.
* doc/install.texi: Document --enable-targets and --enable-secureplt.
Correct xrefs to "Using the GNU Compiler Collection (GCC)".
* config/rs6000/secureplt.h: New file.
* config/rs6000/sysv4.h (TARGET_SECURE_PLT): Define.
(SUBTARGET_OVERRIDE_OPTIONS): Error if -msecure-plt given without
assembler support.
(CC1_SECURE_PLT_DEFAULT_SPEC): Define.
(CC1_SPEC): Delete duplicate mno-sdata. Invoke cc1_secure_plt_default.
(SUBTARGET_EXTRA_SPECS): Add cc1_secure_plt_default.
* config/rs6000/sysv4.opt (msecure-plt, bss-plt): Add options.
* config/rs6000/rs6000.h (TARGET_SECURE_PLT): Define.
* config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Handle
TARGET_SECURE_PLT got register load sequence.
(rs6000_emit_prologue): Call rs6000_emit_load_toc_table when
TARGET_SECURE_PLT.
(rs6000_elf_declare_function_name): Don't emit toc address offset
word when TARGET_SECURE_PLT.
* config/rs6000/rs6000.md (elf_high, elf_low): Move past load_toc_*.
(load_toc_v4_PIC_1) Enable for TARGET_SECURE_PLT.
(load_toc_v4_PIC_3b, load_toc_v4_PIC_3c): New insns.
(call, call_value): Mark pic_offset_table_rtx used for sysv pic and
TARGET_SECURE_PLT.
(call_nonlocal_sysv, call_value_nonlocal_sysv, sibcall_nonlocal_sysv,
sibcall_value_nonlocal_sysv): Add 32768 offset when TARGET_SECURE_PLT
and -fPIC.
* config/rs6000/tramp.asm (trampoline_initial): Use "bcl 20,31".
(__trampoline_setup): Likewise. Init r30 before plt call.
From-SVN: r100415
2005-06-01 02:30:26 +02:00
|
|
|
powerpc-linux for powerpc64-linux, only generates 32-bit code. This
|
|
|
|
option enables the 32-bit target to be a bi-arch compiler, which is
|
|
|
|
useful when you want a bi-arch compiler that defaults to 32-bit, and
|
|
|
|
you are building a bi-arch or multi-arch binutils in a combined tree.
|
2009-10-22 11:25:51 +02:00
|
|
|
On mips-linux, this will build a tri-arch compiler (ABI o32/n32/64),
|
|
|
|
defaulted to o32.
|
2011-07-11 13:41:56 +02:00
|
|
|
Currently, this option only affects sparc-linux, powerpc-linux, x86-linux,
|
|
|
|
mips-linux and s390-linux.
|
configure.ac: Add --enable-secureplt.
* configure.ac: Add --enable-secureplt.
(HAVE_AS_REL16): Test for R_PPC_REL16 relocs.
* config.in: Regenerate.
* configure: Regenerate.
* config.gcc (powerpc64-*-linux*, powerpc-*-linux*): Add
rs6000/secureplt.h to tm_file when enable_secureplt.
* doc/invoke.texi (msecure-plt, mbss-plt): Document.
* doc/install.texi: Document --enable-targets and --enable-secureplt.
Correct xrefs to "Using the GNU Compiler Collection (GCC)".
* config/rs6000/secureplt.h: New file.
* config/rs6000/sysv4.h (TARGET_SECURE_PLT): Define.
(SUBTARGET_OVERRIDE_OPTIONS): Error if -msecure-plt given without
assembler support.
(CC1_SECURE_PLT_DEFAULT_SPEC): Define.
(CC1_SPEC): Delete duplicate mno-sdata. Invoke cc1_secure_plt_default.
(SUBTARGET_EXTRA_SPECS): Add cc1_secure_plt_default.
* config/rs6000/sysv4.opt (msecure-plt, bss-plt): Add options.
* config/rs6000/rs6000.h (TARGET_SECURE_PLT): Define.
* config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Handle
TARGET_SECURE_PLT got register load sequence.
(rs6000_emit_prologue): Call rs6000_emit_load_toc_table when
TARGET_SECURE_PLT.
(rs6000_elf_declare_function_name): Don't emit toc address offset
word when TARGET_SECURE_PLT.
* config/rs6000/rs6000.md (elf_high, elf_low): Move past load_toc_*.
(load_toc_v4_PIC_1) Enable for TARGET_SECURE_PLT.
(load_toc_v4_PIC_3b, load_toc_v4_PIC_3c): New insns.
(call, call_value): Mark pic_offset_table_rtx used for sysv pic and
TARGET_SECURE_PLT.
(call_nonlocal_sysv, call_value_nonlocal_sysv, sibcall_nonlocal_sysv,
sibcall_value_nonlocal_sysv): Add 32768 offset when TARGET_SECURE_PLT
and -fPIC.
* config/rs6000/tramp.asm (trampoline_initial): Use "bcl 20,31".
(__trampoline_setup): Likewise. Init r30 before plt call.
From-SVN: r100415
2005-06-01 02:30:26 +02:00
|
|
|
|
|
|
|
@item --enable-secureplt
|
|
|
|
This option enables @option{-msecure-plt} by default for powerpc-linux.
|
|
|
|
@ifnothtml
|
|
|
|
@xref{RS/6000 and PowerPC Options,, RS/6000 and PowerPC Options, gcc,
|
|
|
|
Using the GNU Compiler Collection (GCC)},
|
|
|
|
@end ifnothtml
|
|
|
|
@ifhtml
|
|
|
|
See ``RS/6000 and PowerPC Options'' in the main manual
|
|
|
|
@end ifhtml
|
|
|
|
|
2008-05-23 09:53:16 +02:00
|
|
|
@item --enable-cld
|
|
|
|
This option enables @option{-mcld} by default for 32-bit x86 targets.
|
|
|
|
@ifnothtml
|
|
|
|
@xref{i386 and x86-64 Options,, i386 and x86-64 Options, gcc,
|
|
|
|
Using the GNU Compiler Collection (GCC)},
|
|
|
|
@end ifnothtml
|
|
|
|
@ifhtml
|
|
|
|
See ``i386 and x86-64 Options'' in the main manual
|
|
|
|
@end ifhtml
|
|
|
|
|
2001-06-03 21:06:55 +02:00
|
|
|
@item --enable-win32-registry
|
2001-07-02 20:08:42 +02:00
|
|
|
@itemx --enable-win32-registry=@var{key}
|
2001-06-03 21:06:55 +02:00
|
|
|
@itemx --disable-win32-registry
|
2004-01-18 03:10:34 +01:00
|
|
|
The @option{--enable-win32-registry} option enables Microsoft Windows-hosted GCC
|
2001-06-03 21:06:55 +02:00
|
|
|
to look up installations paths in the registry using the following key:
|
|
|
|
|
|
|
|
@smallexample
|
2001-07-02 20:08:42 +02:00
|
|
|
@code{HKEY_LOCAL_MACHINE\SOFTWARE\Free Software Foundation\@var{key}}
|
2001-06-03 21:06:55 +02:00
|
|
|
@end smallexample
|
|
|
|
|
2001-07-02 20:08:42 +02:00
|
|
|
@var{key} defaults to GCC version number, and can be overridden by the
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
@option{--enable-win32-registry=@var{key}} option. Vendors and distributors
|
2001-06-03 21:06:55 +02:00
|
|
|
who use custom installers are encouraged to provide a different key,
|
|
|
|
perhaps one comprised of vendor name and GCC version number, to
|
2001-06-27 00:47:11 +02:00
|
|
|
avoid conflict with existing installations. This feature is enabled
|
2001-06-13 15:07:28 +02:00
|
|
|
by default, and can be disabled by @option{--disable-win32-registry}
|
2001-06-03 21:06:55 +02:00
|
|
|
option. This option has no effect on the other hosts.
|
|
|
|
|
|
|
|
@item --nfp
|
|
|
|
Specify that the machine does not have a floating point unit. This
|
install.texi: Remove i386-*-isc, i860-*-bsd, m68k-altos-sysv, m68k-isi-bsd, m68k-sony-bsd entries.
2002-12-23 Larin Hennessy <larin@science.oregonstate.edu>
* doc/install.texi: Remove i386-*-isc, i860-*-bsd,
m68k-altos-sysv, m68k-isi-bsd, m68k-sony-bsd entries.
* doc/invoke.texi: Remove AMD 29K, ARM RISC/iX, Clipper, Convex,
DG/UX entries.
* doc/md.texi: Remove AMD 29K entries.
* doc/trouble.texi: Remove Alliant, DG/UX, Iris 4.0.5F, GAS
1.38.1, NewsOS, RT PC, WE32K entries.
From-SVN: r60455
2002-12-24 00:02:49 +01:00
|
|
|
option only applies to @samp{m68k-sun-sunos@var{n}}. On any other
|
|
|
|
system, @option{--nfp} has no effect.
|
2001-06-03 21:06:55 +02:00
|
|
|
|
2003-01-21 14:45:16 +01:00
|
|
|
@item --enable-werror
|
|
|
|
@itemx --disable-werror
|
|
|
|
@itemx --enable-werror=yes
|
|
|
|
@itemx --enable-werror=no
|
|
|
|
When you specify this option, it controls whether certain files in the
|
|
|
|
compiler are built with @option{-Werror} in bootstrap stage2 and later.
|
|
|
|
If you don't specify it, @option{-Werror} is turned on for the main
|
|
|
|
development trunk. However it defaults to off for release branches and
|
|
|
|
final releases. The specific files which get @option{-Werror} are
|
|
|
|
controlled by the Makefiles.
|
|
|
|
|
2001-06-03 21:06:55 +02:00
|
|
|
@item --enable-checking
|
|
|
|
@itemx --enable-checking=@var{list}
|
2005-04-01 15:58:20 +02:00
|
|
|
When you specify this option, the compiler is built to perform internal
|
2005-04-03 16:30:29 +02:00
|
|
|
consistency checks of the requested complexity. This does not change the
|
2005-04-01 15:58:20 +02:00
|
|
|
generated code, but adds error checking within the compiler. This will
|
|
|
|
slow down the compiler and may only work properly if you are building
|
|
|
|
the compiler with GCC@. This is @samp{yes} by default when building
|
2009-01-02 11:39:59 +01:00
|
|
|
from SVN or snapshots, but @samp{release} for releases. The default
|
|
|
|
for building the stage1 compiler is @samp{yes}. More control
|
2005-04-01 15:58:20 +02:00
|
|
|
over the checks may be had by specifying @var{list}. The categories of
|
|
|
|
checks available are @samp{yes} (most common checks
|
|
|
|
@samp{assert,misc,tree,gc,rtlflag,runtime}), @samp{no} (no checks at
|
|
|
|
all), @samp{all} (all but @samp{valgrind}), @samp{release} (cheapest
|
|
|
|
checks @samp{assert,runtime}) or @samp{none} (same as @samp{no}).
|
|
|
|
Individual checks can be enabled with these flags @samp{assert},
|
2008-01-21 02:09:04 +01:00
|
|
|
@samp{df}, @samp{fold}, @samp{gc}, @samp{gcac} @samp{misc}, @samp{rtl},
|
2005-04-01 15:58:20 +02:00
|
|
|
@samp{rtlflag}, @samp{runtime}, @samp{tree}, and @samp{valgrind}.
|
|
|
|
|
|
|
|
The @samp{valgrind} check requires the external @command{valgrind}
|
2005-07-28 23:29:09 +02:00
|
|
|
simulator, available from @uref{http://valgrind.org/}. The
|
2008-01-21 02:09:04 +01:00
|
|
|
@samp{df}, @samp{rtl}, @samp{gcac} and @samp{valgrind} checks are very expensive.
|
2005-04-01 15:58:20 +02:00
|
|
|
To disable all checking, @samp{--disable-checking} or
|
|
|
|
@samp{--enable-checking=none} must be explicitly requested. Disabling
|
|
|
|
assertions will make the compiler and runtime slightly faster but
|
|
|
|
increase the risk of undetected internal errors causing wrong code to be
|
|
|
|
generated.
|
2001-06-03 21:06:55 +02:00
|
|
|
|
2009-01-02 11:39:59 +01:00
|
|
|
@item --disable-stage1-checking
|
2009-12-15 19:33:16 +01:00
|
|
|
@itemx --enable-stage1-checking
|
2009-01-02 11:39:59 +01:00
|
|
|
@itemx --enable-stage1-checking=@var{list}
|
|
|
|
If no @option{--enable-checking} option is specified the stage1
|
|
|
|
compiler will be built with @samp{yes} checking enabled, otherwise
|
|
|
|
the stage1 checking flags are the same as specified by
|
|
|
|
@option{--enable-checking}. To build the stage1 compiler with
|
|
|
|
different checking options use @option{--enable-stage1-checking}.
|
|
|
|
The list of checking options is the same as for @option{--enable-checking}.
|
|
|
|
If your system is too slow or too small to bootstrap a released compiler
|
|
|
|
with checking for stage1 enabled, you can use @samp{--disable-stage1-checking}
|
|
|
|
to disable checking for the stage1 compiler.
|
|
|
|
|
2002-08-08 11:10:39 +02:00
|
|
|
@item --enable-coverage
|
2003-12-30 16:00:43 +01:00
|
|
|
@itemx --enable-coverage=@var{level}
|
2002-08-08 11:10:39 +02:00
|
|
|
With this option, the compiler is built to collect self coverage
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
information, every time it is run. This is for internal development
|
|
|
|
purposes, and only works when the compiler is being built with gcc. The
|
2002-08-08 11:10:39 +02:00
|
|
|
@var{level} argument controls whether the compiler is built optimized or
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
not, values are @samp{opt} and @samp{noopt}. For coverage analysis you
|
2002-08-08 11:10:39 +02:00
|
|
|
want to disable optimization, for performance analysis you want to
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
enable optimization. When coverage is enabled, the default level is
|
2002-08-08 11:10:39 +02:00
|
|
|
without optimization.
|
|
|
|
|
2003-12-22 08:42:43 +01:00
|
|
|
@item --enable-gather-detailed-mem-stats
|
2004-01-06 17:21:17 +01:00
|
|
|
When this option is specified more detailed information on memory
|
2003-12-22 08:42:43 +01:00
|
|
|
allocation is gathered. This information is printed when using
|
c-tree.texi, [...]: Remove trailing whitespace.
* doc/c-tree.texi, doc/cpp.texi, doc/extend.texi,
doc/frontends.texi, doc/gcov.texi, doc/gty.texi, doc/install.texi,
doc/invoke.texi, doc/libgcc.texi, doc/md.texi, doc/rtl.texi,
doc/sourcebuild.texi, doc/standards.texi, doc/tm.texi,
doc/trouble.texi: Remove trailing whitespace.
From-SVN: r76098
2004-01-18 12:57:17 +01:00
|
|
|
@option{-fmem-report}.
|
2003-12-22 08:42:43 +01:00
|
|
|
|
2005-02-21 11:03:07 +01:00
|
|
|
@item --with-gc
|
|
|
|
@itemx --with-gc=@var{choice}
|
|
|
|
With this option you can specify the garbage collector implementation
|
|
|
|
used during the compilation process. @var{choice} can be one of
|
|
|
|
@samp{page} and @samp{zone}, where @samp{page} is the default.
|
|
|
|
|
2001-06-03 21:06:55 +02:00
|
|
|
@item --enable-nls
|
|
|
|
@itemx --disable-nls
|
2001-06-13 15:07:28 +02:00
|
|
|
The @option{--enable-nls} option enables Native Language Support (NLS),
|
2001-06-03 21:06:55 +02:00
|
|
|
which lets GCC output diagnostics in languages other than American
|
2001-06-27 00:47:11 +02:00
|
|
|
English. Native Language Support is enabled by default if not doing a
|
c-tree.texi, [...]: Replace . at end of sentences preceded by a capital letter with @..
* doc/c-tree.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppinternals.texi, doc/extend.texi, doc/gcc.texi,
doc/gcov.texi, doc/install-old.texi, doc/install.texi,
doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi: Replace
. at end of sentences preceded by a capital letter with @..
From-SVN: r43611
2001-06-27 17:04:16 +02:00
|
|
|
canadian cross build. The @option{--disable-nls} option disables NLS@.
|
2001-06-03 21:06:55 +02:00
|
|
|
|
|
|
|
@item --with-included-gettext
|
c-tree.texi, [...]: Fix spelling and typos.
* doc/c-tree.texi, doc/contrib.texi, doc/extend.texi,
doc/gcc.texi, doc/install.texi, doc/invoke.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi: Fix spelling and typos.
Consistently use "built-in" and "bit-field". Minor logical markup
improvements.
* doc/gcc.1: Regenerate.
From-SVN: r43383
2001-06-15 00:51:18 +02:00
|
|
|
If NLS is enabled, the @option{--with-included-gettext} option causes the build
|
install.texi (Specific): Markup, spelling and typo fixes.
* doc/install.texi (Specific): Markup, spelling and typo fixes.
Fixed sorting.
Consistently require binutils 2.11.2, not prereleases.
(Specific, decstation-*): Canonicalize as mips-dec-*.
(Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
always necessary.
(Specific, m68k-altos): Removed reference to README.altos, deleted.
(Specific, mips-*): Reword MIPS C compiler requirements.
(Specific, powerpc*-*-*): New, mention --with-cpu once.
(Specific, sunv5): Removed, obsolete.
From-SVN: r43779
2001-07-05 15:10:59 +02:00
|
|
|
procedure to prefer its copy of GNU @command{gettext}.
|
2001-06-03 21:06:55 +02:00
|
|
|
|
|
|
|
@item --with-catgets
|
|
|
|
If NLS is enabled, and if the host lacks @code{gettext} but has the
|
|
|
|
inferior @code{catgets} interface, the GCC build procedure normally
|
|
|
|
ignores @code{catgets} and instead uses GCC's copy of the GNU
|
2001-06-13 15:07:28 +02:00
|
|
|
@code{gettext} library. The @option{--with-catgets} option causes the
|
2001-06-03 21:06:55 +02:00
|
|
|
build procedure to use the host's @code{catgets} in this situation.
|
2001-11-06 21:05:07 +01:00
|
|
|
|
2002-03-08 17:44:50 +01:00
|
|
|
@item --with-libiconv-prefix=@var{dir}
|
|
|
|
Search for libiconv header files in @file{@var{dir}/include} and
|
|
|
|
libiconv library files in @file{@var{dir}/lib}.
|
|
|
|
|
2002-04-23 00:25:14 +02:00
|
|
|
@item --enable-obsolete
|
|
|
|
Enable configuration for an obsoleted system. If you attempt to
|
|
|
|
configure GCC for a system (build, host, or target) which has been
|
|
|
|
obsoleted, and you do not specify this flag, configure will halt with an
|
|
|
|
error message.
|
|
|
|
|
|
|
|
All support for systems which have been obsoleted in one release of GCC
|
|
|
|
is removed entirely in the next major release, unless someone steps
|
|
|
|
forward to maintain the port.
|
2005-12-21 01:43:21 +01:00
|
|
|
|
|
|
|
@item --enable-decimal-float
|
2007-03-24 18:04:47 +01:00
|
|
|
@itemx --enable-decimal-float=yes
|
|
|
|
@itemx --enable-decimal-float=no
|
|
|
|
@itemx --enable-decimal-float=bid
|
|
|
|
@itemx --enable-decimal-float=dpd
|
2005-12-21 01:43:21 +01:00
|
|
|
@itemx --disable-decimal-float
|
2007-03-24 18:04:47 +01:00
|
|
|
Enable (or disable) support for the C decimal floating point extension
|
2008-06-19 03:13:53 +02:00
|
|
|
that is in the IEEE 754-2008 standard. This is enabled by default only
|
|
|
|
on PowerPC, i386, and x86_64 GNU/Linux systems. Other systems may also
|
|
|
|
support it, but require the user to specifically enable it. You can
|
|
|
|
optionally control which decimal floating point format is used (either
|
|
|
|
@samp{bid} or @samp{dpd}). The @samp{bid} (binary integer decimal)
|
|
|
|
format is default on i386 and x86_64 systems, and the @samp{dpd}
|
|
|
|
(densely packed decimal) format is default on PowerPC systems.
|
2005-12-21 01:43:21 +01:00
|
|
|
|
c-common.h (enum rid): Add new enumeration values of RID_SAT, RID_FRACT, and RID_ACCUM.
* c-common.h (enum rid): Add new enumeration values of RID_SAT,
RID_FRACT, and RID_ACCUM. RID_SAT needs to be inserted before
RID_ONEWAY, so that it can be checked in declspecs_add_type.
(c_common_fixed_point_type_for_size): Declare.
* c-parser.c (reswords): Add _Fract, _Accum, and _Sat.
(c_token_starts_typename): Handle RID_FRACT, RID_ACCUM, and RID_SAT.
(c_token_starts_declspecs): Likewise.
(c_parser_declspecs): Likewise.
(c_parser_attributes): Likewise.
* c-tree.h (enum c_typespec_keyword): Add cts_fract and cts_accum.
(c_declspecs): Add saturating_p.
* c-decl.c (build_null_declspecs): Initialize saturating_p.
(declspecs_add_type): Avoid using complex with _Fract, _Accum, or _Sat.
Handle RID_SAT.
Avoid using void, bool, char, int, float, double, _Decimal32,
_Decimal64, _Decimal128, and complex with _Sat.
Handle RID_FRACT and RID_ACCUM.
Make sure _Sat is used with _Fract or _Accum.
(finish_declspecs): Handle cts_fract and cts_accum.
* c-common.c (fixed-value.h): New include.
(constant_expression_warning): Handle FIXED_CST.
(overflow_warning): Likewise.
(warnings_for_convert_and_check): Likewise.
(c_common_fixed_point_type_for_size): New.
(c_common_type_for_mode): Handle fixed-point modes to
return various saturating/non-saturating, signed/unsigned types.
(c_common_signed_or_unsigned_type): Support fixed-point types.
(shorten_compare): Check fixed-point zero.
Handle FIXED_POINT_TYPE.
(c_common_truthvalue_conversion): Handle FIXED_CST.
Handle FIXED_POINT_TYPE.
(c_common_nodes_and_builtins): Record builtin types for fixed-point
types.
(handle_mode_attribute): Handle fixed-point modes. Need to check
if the signness of base type and fixed-point modes are consistent.
(handle_vector_size_attribute): Handle fixed-point modes.
(same_scalar_type_ignoring_signedness): Handle FIXED_POINT_TYPE.
(warn_for_div_by_zero): Check fixed-point zero.
* c-typeck.c (c_common_type): Check FIXED_POINT_TYPE. Build
a common fixed-point type based on fbit, ibit, sign, and saturation.
(build_unary_op): Allow FIXED_POINT_TYPE for CONVERT_EXPR,
NEGATE_EXPR, TRUTH_NOT_EXPR, PREINCREMENT_EXPR, POSTINCREMENT_EXPR,
PREDECREMENT_EXPR, and POSTDECREMENT_EXPR.
(convert_for_assignment): Support FIXED_POINT_TYPE.
(digest_init): Handle FIXED_POINT_TYPE.
(build_binary_op): Support FIXED_POINT_TYPE in *_DIV_EXPR,
TRUTH_ANDIF_EXPR, TRUTH_ORIF_EXPR, TRUTH_AND_EXPR, TRUTH_OR_EXPR,
TRUTH_XOR_EXPR, RSHIFT_EXPR, LSHIFT_EXPR, EQ_EXPR, NE_EXPR, LE_EXPR,
GE_EXPR, LT_EXPR, GT_EXPR.
* target-def.h (TARGET_FIXED_POINT_SUPPORTED_P): New.
(TARGET_INITIALIZER): Add TARGET_FIXED_POINT_SUPPORTED_P.
* target.h (gcc_target): Add fixed_point_supported_p.
* targhooks.c (default_scalar_mode_supported_p): Handle MODE_FRACT,
MODE_UFRACT, MODE_ACCUM, and MODE_UACCUM.
(default_fixed_point_supported_p): Define.
* targhooks.h (default_fixed_point_supported_p): Declare.
* doc/tm.texi (TARGET_FIXED_POINT_SUPPORTED_P): Add.
* doc/install.texi (Configuration): Add --enable-fixed-point.
* configure.ac (--enable-fixed-point): New to enable fixed-point
arithmetic extension to C. For mips targets, we enable it by default.
* configure, config.in: Regenerate.
From-SVN: r127652
2007-08-21 00:26:47 +02:00
|
|
|
@item --enable-fixed-point
|
|
|
|
@itemx --disable-fixed-point
|
|
|
|
Enable (or disable) support for C fixed-point arithmetic.
|
|
|
|
This option is enabled by default for some targets (such as MIPS) which
|
|
|
|
have hardware-support for fixed-point operations. On other targets, you
|
|
|
|
may enable this option manually.
|
|
|
|
|
2006-02-23 09:58:22 +01:00
|
|
|
@item --with-long-double-128
|
|
|
|
Specify if @code{long double} type should be 128-bit by default on selected
|
|
|
|
GNU/Linux architectures. If using @code{--without-long-double-128},
|
|
|
|
@code{long double} will be by default 64-bit, the same as @code{double} type.
|
|
|
|
When neither of these configure options are used, the default will be
|
|
|
|
128-bit @code{long double} when built against GNU C Library 2.4 and later,
|
|
|
|
64-bit @code{long double} otherwise.
|
|
|
|
|
2006-11-26 23:37:33 +01:00
|
|
|
@item --with-gmp=@var{pathname}
|
|
|
|
@itemx --with-gmp-include=@var{pathname}
|
|
|
|
@itemx --with-gmp-lib=@var{pathname}
|
|
|
|
@itemx --with-mpfr=@var{pathname}
|
|
|
|
@itemx --with-mpfr-include=@var{pathname}
|
|
|
|
@itemx --with-mpfr-lib=@var{pathname}
|
2009-05-15 20:12:44 +02:00
|
|
|
@itemx --with-mpc=@var{pathname}
|
|
|
|
@itemx --with-mpc-include=@var{pathname}
|
|
|
|
@itemx --with-mpc-lib=@var{pathname}
|
2012-02-14 21:34:41 +01:00
|
|
|
If you want to build GCC but do not have the GMP library, the MPFR
|
2009-05-15 20:12:44 +02:00
|
|
|
library and/or the MPC library installed in a standard location and
|
2012-02-14 21:34:41 +01:00
|
|
|
do not have their sources present in the GCC source tree then you
|
|
|
|
can explicitly specify the directory where they are installed
|
|
|
|
(@samp{--with-gmp=@var{gmpinstalldir}},
|
2011-01-17 07:38:47 +01:00
|
|
|
@samp{--with-mpfr=@/@var{mpfrinstalldir}},
|
|
|
|
@samp{--with-mpc=@/@var{mpcinstalldir}}). The
|
|
|
|
@option{--with-gmp=@/@var{gmpinstalldir}} option is shorthand for
|
|
|
|
@option{--with-gmp-lib=@/@var{gmpinstalldir}/lib} and
|
|
|
|
@option{--with-gmp-include=@/@var{gmpinstalldir}/include}. Likewise the
|
|
|
|
@option{--with-mpfr=@/@var{mpfrinstalldir}} option is shorthand for
|
|
|
|
@option{--with-mpfr-lib=@/@var{mpfrinstalldir}/lib} and
|
|
|
|
@option{--with-mpfr-include=@/@var{mpfrinstalldir}/include}, also the
|
|
|
|
@option{--with-mpc=@/@var{mpcinstalldir}} option is shorthand for
|
|
|
|
@option{--with-mpc-lib=@/@var{mpcinstalldir}/lib} and
|
|
|
|
@option{--with-mpc-include=@/@var{mpcinstalldir}/include}. If these
|
2008-12-17 19:56:33 +01:00
|
|
|
shorthand assumptions are not correct, you can use the explicit
|
2010-09-30 20:37:13 +02:00
|
|
|
include and lib options directly. You might also need to ensure the
|
|
|
|
shared libraries can be found by the dynamic linker when building and
|
|
|
|
using GCC, for example by setting the runtime shared library path
|
|
|
|
variable (@env{LD_LIBRARY_PATH} on GNU/Linux and Solaris systems).
|
2008-12-17 19:56:33 +01:00
|
|
|
|
2011-01-31 06:20:17 +01:00
|
|
|
These flags are applicable to the host platform only. When building
|
|
|
|
a cross compiler, they will not be used to configure target libraries.
|
|
|
|
|
2008-12-17 19:56:33 +01:00
|
|
|
@item --with-ppl=@var{pathname}
|
|
|
|
@itemx --with-ppl-include=@var{pathname}
|
|
|
|
@itemx --with-ppl-lib=@var{pathname}
|
|
|
|
@itemx --with-cloog=@var{pathname}
|
|
|
|
@itemx --with-cloog-include=@var{pathname}
|
|
|
|
@itemx --with-cloog-lib=@var{pathname}
|
|
|
|
If you do not have PPL (the Parma Polyhedra Library) and the CLooG
|
|
|
|
libraries installed in a standard location and you want to build GCC,
|
|
|
|
you can explicitly specify the directory where they are installed
|
2011-01-17 07:38:47 +01:00
|
|
|
(@samp{--with-ppl=@/@var{pplinstalldir}},
|
|
|
|
@samp{--with-cloog=@/@var{clooginstalldir}}). The
|
|
|
|
@option{--with-ppl=@/@var{pplinstalldir}} option is shorthand for
|
|
|
|
@option{--with-ppl-lib=@/@var{pplinstalldir}/lib} and
|
|
|
|
@option{--with-ppl-include=@/@var{pplinstalldir}/include}. Likewise the
|
|
|
|
@option{--with-cloog=@/@var{clooginstalldir}} option is shorthand for
|
|
|
|
@option{--with-cloog-lib=@/@var{clooginstalldir}/lib} and
|
|
|
|
@option{--with-cloog-include=@/@var{clooginstalldir}/include}. If these
|
2006-11-26 23:37:33 +01:00
|
|
|
shorthand assumptions are not correct, you can use the explicit
|
|
|
|
include and lib options directly.
|
|
|
|
|
2011-01-31 06:20:17 +01:00
|
|
|
These flags are applicable to the host platform only. When building
|
|
|
|
a cross compiler, they will not be used to configure target libraries.
|
|
|
|
|
2009-03-16 14:23:13 +01:00
|
|
|
@item --with-host-libstdcxx=@var{linker-args}
|
|
|
|
If you are linking with a static copy of PPL, you can use this option
|
|
|
|
to specify how the linker should find the standard C++ library used
|
|
|
|
internally by PPL. Typical values of @var{linker-args} might be
|
|
|
|
@samp{-lstdc++} or @samp{-Wl,-Bstatic,-lstdc++,-Bdynamic -lm}. If you are
|
|
|
|
linking with a shared copy of PPL, you probably do not need this
|
|
|
|
option; shared library dependencies will cause the linker to search
|
|
|
|
for the standard C++ library automatically.
|
|
|
|
|
configure.ac: Add --enable-build-with-cxx.
./: * configure.ac: Add --enable-build-with-cxx. When set, add c++ to
boot_languages. Only bootstrap target libraries listed in
target_libs for some boot language. Add --with-stage1-ldflags,
--with-stage1-libs, --with-boot-ldflags, --with-boot-libs. Remove
with_host_libstdcxx from ppllibs. Only add -fkeep-inline-functions
if not building with C++.
* Makefile.def: For target_module libstdc++-v3, set bootstrap=true.
* Makefile.tpl (STAGE1_LDFLAGS, STAGE1_LIBS): New variables.
(POSTSTAGE1_LDFLAGS, POSTSTAGE1_LIBS): New variables.
(HOST_EXPORTS): Add STAGE1_LDFLAGS to LDFLAGS. Export HOST_LIBS.
(POSTSTAGE1_HOST_EXPORTS): Set CXX and CXX_FOR_BUILD. Add
POSTSTAGE1_LDFLAGS to LDFLAGS. Export HOST_LIBS.
(POSTSTAGE1_FLAGS_TO_PASS): Likewise.
* configure, Makefile.in: Rebuild.
gcc/:
* configure.ac: Invoke AC_PROG_CXX. Separate C specific warnings
from loose_warn into c_loose_warn and from strict_warn into
c_strict_warn. Set and substitute warn_cxxflags. Check for
--enable-build-with-cxx. Set and substitute
ENABLE_BUILD_WITH_CXX. Set and substitute HOST_LIBS.
* Makefile.in (CXXFLAGS): New variable.
(C_LOOSE_WARN, C_STRICT_WARN): New variables.
(GCC_WARN_CFLAGS): Add $(C_LOOSE_WARN). Add $(C_STRICT_WARN) if
the default is the same as $(STRICT_WARN).
(GCC_WARN_CXXFLAGS, WARN_CXXFLAGS): New variables.
(CXX): New variable.
(COMPILER): New value if ENABLE_BUILD_WITH_CXX.
(COMPILER_FLAGS, LINKER, LINKER_FLAGS): Likewise.
(ALL_COMPILERFLAGS, ALL_LINKERFLAGS): Likewise.
(HOST_LIBS): New variable.
(GCC_CFLAGS): Add $(C_LOOSE_WARN).
(ALL_CXXFLAGS): New variable.
(LIBS, BACKENDLIBS): Add $(HOST_LIBS).
* doc/install.texi (Configuration): Document
--enable-build-with-cxx, --with-stage1-ldflags,
--with-stage1-libs, --with-boot-ldflags, --with-boot-libs.
* configure: Rebuild.
From-SVN: r148889
2009-06-24 06:03:51 +02:00
|
|
|
@item --with-stage1-ldflags=@var{flags}
|
|
|
|
This option may be used to set linker flags to be used when linking
|
|
|
|
stage 1 of GCC. These are also used when linking GCC if configured with
|
|
|
|
@option{--disable-bootstrap}. By default no special flags are used.
|
|
|
|
|
|
|
|
@item --with-stage1-libs=@var{libs}
|
|
|
|
This option may be used to set libraries to be used when linking stage 1
|
|
|
|
of GCC. These are also used when linking GCC if configured with
|
|
|
|
@option{--disable-bootstrap}. The default is the argument to
|
|
|
|
@option{--with-host-libstdcxx}, if specified.
|
|
|
|
|
|
|
|
@item --with-boot-ldflags=@var{flags}
|
|
|
|
This option may be used to set linker flags to be used when linking
|
2010-12-02 19:06:19 +01:00
|
|
|
stage 2 and later when bootstrapping GCC. If neither --with-boot-libs
|
|
|
|
nor --with-host-libstdcxx is set to a value, then the default is
|
|
|
|
@samp{-static-libstdc++ -static-libgcc}.
|
configure.ac: Add --enable-build-with-cxx.
./: * configure.ac: Add --enable-build-with-cxx. When set, add c++ to
boot_languages. Only bootstrap target libraries listed in
target_libs for some boot language. Add --with-stage1-ldflags,
--with-stage1-libs, --with-boot-ldflags, --with-boot-libs. Remove
with_host_libstdcxx from ppllibs. Only add -fkeep-inline-functions
if not building with C++.
* Makefile.def: For target_module libstdc++-v3, set bootstrap=true.
* Makefile.tpl (STAGE1_LDFLAGS, STAGE1_LIBS): New variables.
(POSTSTAGE1_LDFLAGS, POSTSTAGE1_LIBS): New variables.
(HOST_EXPORTS): Add STAGE1_LDFLAGS to LDFLAGS. Export HOST_LIBS.
(POSTSTAGE1_HOST_EXPORTS): Set CXX and CXX_FOR_BUILD. Add
POSTSTAGE1_LDFLAGS to LDFLAGS. Export HOST_LIBS.
(POSTSTAGE1_FLAGS_TO_PASS): Likewise.
* configure, Makefile.in: Rebuild.
gcc/:
* configure.ac: Invoke AC_PROG_CXX. Separate C specific warnings
from loose_warn into c_loose_warn and from strict_warn into
c_strict_warn. Set and substitute warn_cxxflags. Check for
--enable-build-with-cxx. Set and substitute
ENABLE_BUILD_WITH_CXX. Set and substitute HOST_LIBS.
* Makefile.in (CXXFLAGS): New variable.
(C_LOOSE_WARN, C_STRICT_WARN): New variables.
(GCC_WARN_CFLAGS): Add $(C_LOOSE_WARN). Add $(C_STRICT_WARN) if
the default is the same as $(STRICT_WARN).
(GCC_WARN_CXXFLAGS, WARN_CXXFLAGS): New variables.
(CXX): New variable.
(COMPILER): New value if ENABLE_BUILD_WITH_CXX.
(COMPILER_FLAGS, LINKER, LINKER_FLAGS): Likewise.
(ALL_COMPILERFLAGS, ALL_LINKERFLAGS): Likewise.
(HOST_LIBS): New variable.
(GCC_CFLAGS): Add $(C_LOOSE_WARN).
(ALL_CXXFLAGS): New variable.
(LIBS, BACKENDLIBS): Add $(HOST_LIBS).
* doc/install.texi (Configuration): Document
--enable-build-with-cxx, --with-stage1-ldflags,
--with-stage1-libs, --with-boot-ldflags, --with-boot-libs.
* configure: Rebuild.
From-SVN: r148889
2009-06-24 06:03:51 +02:00
|
|
|
|
|
|
|
@item --with-boot-libs=@var{libs}
|
|
|
|
This option may be used to set libraries to be used when linking stage 2
|
|
|
|
and later when bootstrapping GCC. The default is the argument to
|
|
|
|
@option{--with-host-libstdcxx}, if specified.
|
|
|
|
|
Makefile.tpl (DEBUG_PREFIX_CFLAGS_FOR_TARGET): New.
2007-08-18 Paul Brook <paul@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* Makefile.tpl (DEBUG_PREFIX_CFLAGS_FOR_TARGET): New.
(CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Include it.
* Makefile.in: Regenerate.
* configure.ac (--with-debug-prefix-map): New.
* configure: Regenerate.
config:
2007-08-18 Paul Brook <paul@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* mt-gnu (CXXFLAGS_FOR_TARGET): Add
$(DEBUG_PREFIX_CFLAGS_FOR_TARGET).
gcc:
2007-08-18 Paul Brook <paul@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* common.opt (-fdebug-prefix-map=): New option.
* opts.c: Include debug.h.
(common_handle_option): Handle -fdebug-prefix-map.
* final.c: Include ggc.h.
(struct debug_prefix_map, debug_prefix_maps, add_debug_prefix_map,
remap_debug_filename): New.
* Makefile.in (final.o, opts.o): Update dependencies.
* debug.h (remap_debug_filename, add_debug_prefix_map): Declare.
* configure.ac: Check for assembler --debug-prefix-map support.
* configure, config.in: Regenerate.
* gcc.c (ASM_MAP): Define conditional on HAVE_AS_DEBUG_PREFIX_MAP.
(ASM_DEBUG_SPEC): Include ASM_MAP.
* doc/install.texi (--with-debug-prefix-map): Document.
* doc/invoke.texi (-fdebug-prefix-map): Document.
* dbxout.c (dbxout_init, dbxout_start_source_file,
dbxout_source_file): Call remap_debug_filename.
* dwarf2out.c (add_comp_dir_attribute, maybe_emit_file,
dwarf2out_start_source_file, dwarf2out_finish): Call
remap_debug_filename.
(file_table_relative_p): Do not check d->emitted_number.
* toplev.c (output_file_directive): Call remap_debug_filename.
* vmsdbgout.c (write_srccorr): Call remap_debug_filename.
* xcoffout.c (xcoffout_source_file): Call remap_debug_filename.
Co-Authored-By: Joseph Myers <joseph@codesourcery.com>
From-SVN: r127613
2007-08-18 17:15:39 +02:00
|
|
|
@item --with-debug-prefix-map=@var{map}
|
|
|
|
Convert source directory names using @option{-fdebug-prefix-map} when
|
|
|
|
building runtime libraries. @samp{@var{map}} is a space-separated
|
|
|
|
list of maps of the form @samp{@var{old}=@var{new}}.
|
|
|
|
|
2009-05-01 02:38:54 +02:00
|
|
|
@item --enable-linker-build-id
|
|
|
|
Tells GCC to pass @option{--build-id} option to the linker for all final
|
|
|
|
links (links performed without the @option{-r} or @option{--relocatable}
|
|
|
|
option), if the linker supports it. If you specify
|
|
|
|
@option{--enable-linker-build-id}, but your linker does not
|
|
|
|
support @option{--build-id} option, a warning is issued and the
|
|
|
|
@option{--enable-linker-build-id} option is ignored. The default is off.
|
|
|
|
|
2011-05-11 20:28:14 +02:00
|
|
|
@item --with-linker-hash-style=@var{choice}
|
|
|
|
Tells GCC to pass @option{--hash-style=@var{choice}} option to the
|
|
|
|
linker for all final links. @var{choice} can be one of
|
|
|
|
@samp{sysv}, @samp{gnu}, and @samp{both} where @samp{sysv} is the default.
|
|
|
|
|
2009-08-18 19:01:36 +02:00
|
|
|
@item --enable-gnu-unique-object
|
|
|
|
@itemx --disable-gnu-unique-object
|
|
|
|
Tells GCC to use the gnu_unique_object relocation for C++ template
|
|
|
|
static data members and inline function local statics. Enabled by
|
|
|
|
default for a native toolchain with an assembler that accepts it and
|
|
|
|
GLIBC 2.11 or above, otherwise disabled.
|
|
|
|
|
2010-04-07 22:52:27 +02:00
|
|
|
@item --enable-lto
|
2010-11-03 10:14:32 +01:00
|
|
|
@itemx --disable-lto
|
2010-04-07 22:52:27 +02:00
|
|
|
Enable support for link-time optimization (LTO). This is enabled by
|
2010-11-03 10:14:32 +01:00
|
|
|
default, and may be disabled using @option{--disable-lto}.
|
2010-04-07 22:52:27 +02:00
|
|
|
|
2011-03-18 15:33:45 +01:00
|
|
|
@item --with-plugin-ld=@var{pathname}
|
|
|
|
Enable an alternate linker to be used at link-time optimization (LTO)
|
|
|
|
link time when @option{-fuse-linker-plugin} is enabled.
|
|
|
|
This linker should have plugin support such as gold starting with
|
|
|
|
version 2.20 or GNU ld starting with version 2.21.
|
|
|
|
See @option{-fuse-linker-plugin} for details.
|
2001-06-02 20:21:37 +02:00
|
|
|
@end table
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2004-02-20 13:55:00 +01:00
|
|
|
@subheading Cross-Compiler-Specific Options
|
|
|
|
The following options only apply to building cross compilers.
|
2009-09-30 02:47:38 +02:00
|
|
|
|
2001-06-02 20:21:37 +02:00
|
|
|
@table @code
|
2002-12-16 19:23:00 +01:00
|
|
|
@item --with-sysroot
|
|
|
|
@itemx --with-sysroot=@var{dir}
|
2010-10-26 21:07:01 +02:00
|
|
|
Tells GCC to consider @var{dir} as the root of a tree that contains
|
|
|
|
(a subset of) the root filesystem of the target operating system.
|
2002-12-16 19:23:00 +01:00
|
|
|
Target system headers, libraries and run-time object files will be
|
2012-02-14 21:55:35 +01:00
|
|
|
searched for in there. More specifically, this acts as if
|
2009-09-30 02:47:38 +02:00
|
|
|
@option{--sysroot=@var{dir}} was added to the default options of the built
|
|
|
|
compiler. The specified directory is not copied into the
|
2002-12-16 19:23:00 +01:00
|
|
|
install tree, unlike the options @option{--with-headers} and
|
|
|
|
@option{--with-libs} that this option obsoletes. The default value,
|
|
|
|
in case @option{--with-sysroot} is not given an argument, is
|
2003-02-13 18:23:56 +01:00
|
|
|
@option{$@{gcc_tooldir@}/sys-root}. If the specified directory is a
|
|
|
|
subdirectory of @option{$@{exec_prefix@}}, then it will be found relative to
|
|
|
|
the GCC binaries if the installation tree is moved.
|
2002-12-16 19:23:00 +01:00
|
|
|
|
2009-09-30 02:47:38 +02:00
|
|
|
This option affects the system root for the compiler used to build
|
|
|
|
target libraries (which runs on the build system) and the compiler newly
|
|
|
|
installed with @code{make install}; it does not affect the compiler which is
|
|
|
|
used to build GCC itself.
|
|
|
|
|
2011-10-18 01:31:25 +02:00
|
|
|
If you specify the @option{--with-native-system-header-dir=@var{dirname}}
|
|
|
|
option then the compiler will search that directory within @var{dirname} for
|
|
|
|
native system headers rather than the default @file{/usr/include}.
|
|
|
|
|
2005-07-25 21:42:04 +02:00
|
|
|
@item --with-build-sysroot
|
|
|
|
@itemx --with-build-sysroot=@var{dir}
|
|
|
|
Tells GCC to consider @var{dir} as the system root (see
|
2005-07-26 17:56:56 +02:00
|
|
|
@option{--with-sysroot}) while building target libraries, instead of
|
2005-07-25 21:42:04 +02:00
|
|
|
the directory specified with @option{--with-sysroot}. This option is
|
|
|
|
only useful when you are already using @option{--with-sysroot}. You
|
2005-07-26 17:56:56 +02:00
|
|
|
can use @option{--with-build-sysroot} when you are configuring with
|
2005-07-25 21:42:04 +02:00
|
|
|
@option{--prefix} set to a directory that is different from the one in
|
2011-05-05 01:34:37 +02:00
|
|
|
which you are installing GCC and your target libraries.
|
2005-07-26 17:56:56 +02:00
|
|
|
|
|
|
|
This option affects the system root for the compiler used to build
|
|
|
|
target libraries (which runs on the build system); it does not affect
|
|
|
|
the compiler which is used to build GCC itself.
|
2005-07-25 21:42:04 +02:00
|
|
|
|
2011-10-18 01:31:25 +02:00
|
|
|
If you specify the @option{--with-native-system-header-dir=@var{dirname}}
|
|
|
|
option then the compiler will search that directory within @var{dirname} for
|
|
|
|
native system headers rather than the default @file{/usr/include}.
|
|
|
|
|
2002-09-22 19:57:10 +02:00
|
|
|
@item --with-headers
|
|
|
|
@itemx --with-headers=@var{dir}
|
2002-12-16 19:23:00 +01:00
|
|
|
Deprecated in favor of @option{--with-sysroot}.
|
2002-09-22 19:57:10 +02:00
|
|
|
Specifies that target headers are available when building a cross compiler.
|
|
|
|
The @var{dir} argument specifies a directory which has the target include
|
|
|
|
files. These include files will be copied into the @file{gcc} install
|
|
|
|
directory. @emph{This option with the @var{dir} argument is required} when
|
|
|
|
building a cross compiler, if @file{@var{prefix}/@var{target}/sys-include}
|
|
|
|
doesn't pre-exist. If @file{@var{prefix}/@var{target}/sys-include} does
|
|
|
|
pre-exist, the @var{dir} argument may be omitted. @command{fixincludes}
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
will be run on these files to make them compatible with GCC@.
|
2003-07-16 21:28:43 +02:00
|
|
|
|
|
|
|
@item --without-headers
|
|
|
|
Tells GCC not use any target headers from a libc when building a cross
|
contrib.texi, [...]: Capitalize "gcc", "g++" and "g77" or mark up with appropriate markup.
* doc/contrib.texi, doc/extend.texi, doc/gcov.texi,
doc/install.texi, doc/invoke.texi, doc/makefile.texi,
doc/sourcebuild.texi, doc/tm.texi, doc/trouble.texi: Capitalize
"gcc", "g++" and "g77" or mark up with appropriate markup. Adjust
wording and grammar.
From-SVN: r79482
2004-03-14 23:29:38 +01:00
|
|
|
compiler. When crossing to GNU/Linux, you need the headers so GCC
|
2003-07-16 21:28:43 +02:00
|
|
|
can build the exception handling for libgcc.
|
|
|
|
|
2002-09-22 19:57:10 +02:00
|
|
|
@item --with-libs
|
2009-09-30 02:47:38 +02:00
|
|
|
@itemx --with-libs="@var{dir1} @var{dir2} @dots{} @var{dirN}"
|
2002-12-16 19:23:00 +01:00
|
|
|
Deprecated in favor of @option{--with-sysroot}.
|
2001-06-01 20:08:19 +02:00
|
|
|
Specifies a list of directories which contain the target runtime
|
|
|
|
libraries. These libraries will be copied into the @file{gcc} install
|
2002-09-22 19:57:10 +02:00
|
|
|
directory. If the directory list is omitted, this option has no
|
|
|
|
effect.
|
re PR bootstrap/25670 (build fail with 'make all-gcc')
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25670
* Makefile.tpl ([+compare-target+]): Print explanation messages.
* Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES): New flags_to_pass.
* Makefile.tpl (BASE_FLAGS_TO_PASS): Support optional flags_to_pass.
(EXTRA_GCC_FLAGS): Remove ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES,
BUILD_PREFIX, BUILD_PREFIX_1.
* configure.in: (BUILD_PREFIX, BUILD_PREFIX_1): Don't substitute.
* Makefile.def (bootstrap stage 1): Pass LIBCFLAGS too.
* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Override LIBCFLAGS too.
* Makefile.tpl (configure-stage[+id+]-[+prefix+][+module+],
all-stage[+id+]-[+prefix+][+module+], : Use $(current_stage) instead
of `cat stage_current`. Always provide the `r' and `s' variables.
(clean-stage[+id+]-[+prefix+][+module+]): Likewise, and make it into
a single shell execution.
(configure-[+prefix+][+module+], all-[+prefix+][+module+]): For
bootstrapped modules, make the stage1 module if the build was not
started yet, else build the current stage.
(all-host, all-target): Omit bootstrapped modules (if bootstrapping).
(all-build, all-host, all-target, [+make_target+]-host,
[+make_target+]-target): Do not use \-continued lines.
(target modules): Depend on stage_last, not all-gcc, if bootstrapping.
(current_stage, restrap, stage_last): New.
* Makefile.in: Regenerate.
* configure: Regenerate.
gcc:
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25476
* Makefile.in (LDFLAGS): Define from autoconf substitution.
* Makefile.in (BOOTSTRAPPING): New.
(quickstrap): New definition if BOOTSTRAPPING=yes.
* Makefile.in (CONFIG_LANGUAGES): Substitute all_selected_languages.
* configure.ac: Substitute all_selected_languages with the languages
that were configured. For all the other variables except
lang_specs_files, include all the languages in the tree.
* configure: Regenerate.
* Makefile.in (stmp-fixinc): Copy includes from the prev-gcc directory,
if there is one. Run the commands to run fixincludes in the same
subshell.
* doc/makefile.texi: Document new makefile targets from toplevel bootstrap.
* doc/install.texi: Document exact conventions for searching target tools.
Document --with-build-time-tools. Document toplevel bootstrap. Document
something more about building an Ada cross-compiler. Don't list GNU Make
requirements which affect all platforms.
From-SVN: r111295
2006-02-20 09:29:17 +01:00
|
|
|
|
2001-06-02 20:21:37 +02:00
|
|
|
@item --with-newlib
|
2001-07-02 20:08:42 +02:00
|
|
|
Specifies that @samp{newlib} is
|
2001-06-01 20:08:19 +02:00
|
|
|
being used as the target C library. This causes @code{__eprintf} to be
|
2001-07-02 20:08:42 +02:00
|
|
|
omitted from @file{libgcc.a} on the assumption that it will be provided by
|
|
|
|
@samp{newlib}.
|
re PR bootstrap/25670 (build fail with 'make all-gcc')
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25670
* Makefile.tpl ([+compare-target+]): Print explanation messages.
* Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES): New flags_to_pass.
* Makefile.tpl (BASE_FLAGS_TO_PASS): Support optional flags_to_pass.
(EXTRA_GCC_FLAGS): Remove ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES,
BUILD_PREFIX, BUILD_PREFIX_1.
* configure.in: (BUILD_PREFIX, BUILD_PREFIX_1): Don't substitute.
* Makefile.def (bootstrap stage 1): Pass LIBCFLAGS too.
* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Override LIBCFLAGS too.
* Makefile.tpl (configure-stage[+id+]-[+prefix+][+module+],
all-stage[+id+]-[+prefix+][+module+], : Use $(current_stage) instead
of `cat stage_current`. Always provide the `r' and `s' variables.
(clean-stage[+id+]-[+prefix+][+module+]): Likewise, and make it into
a single shell execution.
(configure-[+prefix+][+module+], all-[+prefix+][+module+]): For
bootstrapped modules, make the stage1 module if the build was not
started yet, else build the current stage.
(all-host, all-target): Omit bootstrapped modules (if bootstrapping).
(all-build, all-host, all-target, [+make_target+]-host,
[+make_target+]-target): Do not use \-continued lines.
(target modules): Depend on stage_last, not all-gcc, if bootstrapping.
(current_stage, restrap, stage_last): New.
* Makefile.in: Regenerate.
* configure: Regenerate.
gcc:
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25476
* Makefile.in (LDFLAGS): Define from autoconf substitution.
* Makefile.in (BOOTSTRAPPING): New.
(quickstrap): New definition if BOOTSTRAPPING=yes.
* Makefile.in (CONFIG_LANGUAGES): Substitute all_selected_languages.
* configure.ac: Substitute all_selected_languages with the languages
that were configured. For all the other variables except
lang_specs_files, include all the languages in the tree.
* configure: Regenerate.
* Makefile.in (stmp-fixinc): Copy includes from the prev-gcc directory,
if there is one. Run the commands to run fixincludes in the same
subshell.
* doc/makefile.texi: Document new makefile targets from toplevel bootstrap.
* doc/install.texi: Document exact conventions for searching target tools.
Document --with-build-time-tools. Document toplevel bootstrap. Document
something more about building an Ada cross-compiler. Don't list GNU Make
requirements which affect all platforms.
From-SVN: r111295
2006-02-20 09:29:17 +01:00
|
|
|
|
|
|
|
@item --with-build-time-tools=@var{dir}
|
|
|
|
Specifies where to find the set of target tools (assembler, linker, etc.)
|
|
|
|
that will be used while building GCC itself. This option can be useful
|
|
|
|
if the directory layouts are different between the system you are building
|
|
|
|
GCC on, and the system where you will deploy it.
|
|
|
|
|
c-tree.texi (Types, [...]): Fix grammar nits.
gcc/
* doc/c-tree.texi (Types, Functions, Expression trees): Fix
grammar nits.
* doc/cfg.texi (Maintaining the CFG, Liveness information):
Likewise.
* doc/cpp.texi (Standard Predefined Macros)
(Implementation-defined behavior): Likewise.
* doc/extend.texi (Function Attributes, Type Attributes):
Likewise.
* doc/gimple.texi (GIMPLE Exception Handling)
(@code{GIMPLE_ASSIGN}): Likewise.
* doc/install.texi (Prerequisites, Configuration, Specific):
Likewise.
* doc/invoke.texi (Warning Options, Optimize Options)
(AVR Options, Darwin Options): Likewise.
(Optimize Options): Reformulate -fwhole-program description.
* doc/loop.texi (Lambda): Likewise.
* doc/md.texi (Output Template, Define Constraints)
(Standard Names, Insn Splitting): Likewise.
* doc/options.texi (Option properties): Likewise.
* doc/passes.texi (Tree-SSA passes): Likewise.
* doc/rtl.texi (Side Effects, Assembler, Insns): Likewise.
* doc/tm.texi (Register Classes, Old Constraints, Scalar Return)
(File Names and DBX): Likewise.
* doc/trouble.texi (Incompatibilities): Likewise.
From-SVN: r146854
2009-04-27 22:23:51 +02:00
|
|
|
For example, on an @samp{ia64-hp-hpux} system, you may have the GNU
|
re PR bootstrap/25670 (build fail with 'make all-gcc')
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25670
* Makefile.tpl ([+compare-target+]): Print explanation messages.
* Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES): New flags_to_pass.
* Makefile.tpl (BASE_FLAGS_TO_PASS): Support optional flags_to_pass.
(EXTRA_GCC_FLAGS): Remove ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES,
BUILD_PREFIX, BUILD_PREFIX_1.
* configure.in: (BUILD_PREFIX, BUILD_PREFIX_1): Don't substitute.
* Makefile.def (bootstrap stage 1): Pass LIBCFLAGS too.
* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Override LIBCFLAGS too.
* Makefile.tpl (configure-stage[+id+]-[+prefix+][+module+],
all-stage[+id+]-[+prefix+][+module+], : Use $(current_stage) instead
of `cat stage_current`. Always provide the `r' and `s' variables.
(clean-stage[+id+]-[+prefix+][+module+]): Likewise, and make it into
a single shell execution.
(configure-[+prefix+][+module+], all-[+prefix+][+module+]): For
bootstrapped modules, make the stage1 module if the build was not
started yet, else build the current stage.
(all-host, all-target): Omit bootstrapped modules (if bootstrapping).
(all-build, all-host, all-target, [+make_target+]-host,
[+make_target+]-target): Do not use \-continued lines.
(target modules): Depend on stage_last, not all-gcc, if bootstrapping.
(current_stage, restrap, stage_last): New.
* Makefile.in: Regenerate.
* configure: Regenerate.
gcc:
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25476
* Makefile.in (LDFLAGS): Define from autoconf substitution.
* Makefile.in (BOOTSTRAPPING): New.
(quickstrap): New definition if BOOTSTRAPPING=yes.
* Makefile.in (CONFIG_LANGUAGES): Substitute all_selected_languages.
* configure.ac: Substitute all_selected_languages with the languages
that were configured. For all the other variables except
lang_specs_files, include all the languages in the tree.
* configure: Regenerate.
* Makefile.in (stmp-fixinc): Copy includes from the prev-gcc directory,
if there is one. Run the commands to run fixincludes in the same
subshell.
* doc/makefile.texi: Document new makefile targets from toplevel bootstrap.
* doc/install.texi: Document exact conventions for searching target tools.
Document --with-build-time-tools. Document toplevel bootstrap. Document
something more about building an Ada cross-compiler. Don't list GNU Make
requirements which affect all platforms.
From-SVN: r111295
2006-02-20 09:29:17 +01:00
|
|
|
assembler and linker in @file{/usr/bin}, and the native tools in a
|
|
|
|
different path, and build a toolchain that expects to find the
|
|
|
|
native tools in @file{/usr/bin}.
|
|
|
|
|
|
|
|
When you use this option, you should ensure that @var{dir} includes
|
|
|
|
@command{ar}, @command{as}, @command{ld}, @command{nm},
|
|
|
|
@command{ranlib} and @command{strip} if necessary, and possibly
|
|
|
|
@command{objdump}. Otherwise, GCC may use an inconsistent set of
|
|
|
|
tools.
|
2001-06-02 20:21:37 +02:00
|
|
|
@end table
|
2001-06-27 01:23:32 +02:00
|
|
|
|
2004-02-20 13:55:00 +01:00
|
|
|
@subheading Java-Specific Options
|
|
|
|
|
|
|
|
The following option applies to the build of the Java front end.
|
|
|
|
|
|
|
|
@table @code
|
|
|
|
@item --disable-libgcj
|
|
|
|
Specify that the run-time libraries
|
|
|
|
used by GCJ should not be built. This is useful in case you intend
|
|
|
|
to use GCJ with some other run-time, or you're going to install it
|
|
|
|
separately, or it just happens not to build on your particular
|
|
|
|
machine. In general, if the Java front end is enabled, the GCJ
|
|
|
|
libraries will be enabled too, unless they're known to not work on
|
|
|
|
the target platform. If GCJ is enabled but @samp{libgcj} isn't built, you
|
|
|
|
may need to port it; in this case, before modifying the top-level
|
|
|
|
@file{configure.in} so that @samp{libgcj} is enabled by default on this platform,
|
|
|
|
you may use @option{--enable-libgcj} to override the default.
|
|
|
|
|
|
|
|
@end table
|
|
|
|
|
|
|
|
The following options apply to building @samp{libgcj}.
|
|
|
|
|
|
|
|
@subsubheading General Options
|
|
|
|
|
|
|
|
@table @code
|
2007-01-15 22:49:31 +01:00
|
|
|
@item --enable-java-maintainer-mode
|
|
|
|
By default the @samp{libjava} build will not attempt to compile the
|
|
|
|
@file{.java} source files to @file{.class}. Instead, it will use the
|
|
|
|
@file{.class} files from the source tree. If you use this option you
|
|
|
|
must have executables named @command{ecj1} and @command{gjavah} in your path
|
|
|
|
for use by the build. You must use this option if you intend to
|
|
|
|
modify any @file{.java} files in @file{libjava}.
|
|
|
|
|
|
|
|
@item --with-java-home=@var{dirname}
|
|
|
|
This @samp{libjava} option overrides the default value of the
|
|
|
|
@samp{java.home} system property. It is also used to set
|
|
|
|
@samp{sun.boot.class.path} to @file{@var{dirname}/lib/rt.jar}. By
|
|
|
|
default @samp{java.home} is set to @file{@var{prefix}} and
|
|
|
|
@samp{sun.boot.class.path} to
|
|
|
|
@file{@var{datadir}/java/libgcj-@var{version}.jar}.
|
|
|
|
|
|
|
|
@item --with-ecj-jar=@var{filename}
|
|
|
|
This option can be used to specify the location of an external jar
|
|
|
|
file containing the Eclipse Java compiler. A specially modified
|
|
|
|
version of this compiler is used by @command{gcj} to parse
|
|
|
|
@file{.java} source files. If this option is given, the
|
|
|
|
@samp{libjava} build will create and install an @file{ecj1} executable
|
|
|
|
which uses this jar file at runtime.
|
|
|
|
|
|
|
|
If this option is not given, but an @file{ecj.jar} file is found in
|
|
|
|
the topmost source tree at configure time, then the @samp{libgcj}
|
|
|
|
build will create and install @file{ecj1}, and will also install the
|
|
|
|
discovered @file{ecj.jar} into a suitable place in the install tree.
|
|
|
|
|
|
|
|
If @file{ecj1} is not installed, then the user will have to supply one
|
|
|
|
on his path in order for @command{gcj} to properly parse @file{.java}
|
|
|
|
source files. A suitable jar is available from
|
|
|
|
@uref{ftp://sourceware.org/pub/java/}.
|
|
|
|
|
2004-02-20 13:55:00 +01:00
|
|
|
@item --disable-getenv-properties
|
|
|
|
Don't set system properties from @env{GCJ_PROPERTIES}.
|
|
|
|
|
|
|
|
@item --enable-hash-synchronization
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
Use a global hash table for monitor locks. Ordinarily,
|
2004-02-20 13:55:00 +01:00
|
|
|
@samp{libgcj}'s @samp{configure} script automatically makes
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
the correct choice for this option for your platform. Only use
|
2004-02-20 13:55:00 +01:00
|
|
|
this if you know you need the library to be configured differently.
|
|
|
|
|
|
|
|
@item --enable-interpreter
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
Enable the Java interpreter. The interpreter is automatically
|
|
|
|
enabled by default on all platforms that support it. This option
|
2004-02-20 13:55:00 +01:00
|
|
|
is really only useful if you want to disable the interpreter
|
|
|
|
(using @option{--disable-interpreter}).
|
|
|
|
|
|
|
|
@item --disable-java-net
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
Disable java.net. This disables the native part of java.net only,
|
2004-02-20 13:55:00 +01:00
|
|
|
using non-functional stubs for native method implementations.
|
|
|
|
|
|
|
|
@item --disable-jvmpi
|
|
|
|
Disable JVMPI support.
|
|
|
|
|
2007-12-22 16:48:46 +01:00
|
|
|
@item --disable-libgcj-bc
|
|
|
|
Disable BC ABI compilation of certain parts of libgcj. By default,
|
|
|
|
some portions of libgcj are compiled with @option{-findirect-dispatch}
|
2008-01-28 17:58:54 +01:00
|
|
|
and @option{-fno-indirect-classes}, allowing them to be overridden at
|
|
|
|
run-time.
|
2007-12-22 16:48:46 +01:00
|
|
|
|
|
|
|
If @option{--disable-libgcj-bc} is specified, libgcj is built without
|
2008-01-28 17:58:54 +01:00
|
|
|
these options. This allows the compile-time linker to resolve
|
|
|
|
dependencies when statically linking to libgcj. However it makes it
|
|
|
|
impossible to override the affected portions of libgcj at run-time.
|
2007-12-22 16:48:46 +01:00
|
|
|
|
2008-09-05 19:09:02 +02:00
|
|
|
@item --enable-reduced-reflection
|
|
|
|
Build most of libgcj with @option{-freduced-reflection}. This reduces
|
|
|
|
the size of libgcj at the expense of not being able to do accurate
|
|
|
|
reflection on the classes it contains. This option is safe if you
|
|
|
|
know that code using libgcj will never use reflection on the standard
|
|
|
|
runtime classes in libgcj (including using serialization, RMI or CORBA).
|
|
|
|
|
2004-02-20 13:55:00 +01:00
|
|
|
@item --with-ecos
|
|
|
|
Enable runtime eCos target support.
|
|
|
|
|
|
|
|
@item --without-libffi
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
Don't use @samp{libffi}. This will disable the interpreter and JNI
|
2004-02-20 13:55:00 +01:00
|
|
|
support as well, as these require @samp{libffi} to work.
|
|
|
|
|
|
|
|
@item --enable-libgcj-debug
|
|
|
|
Enable runtime debugging code.
|
|
|
|
|
|
|
|
@item --enable-libgcj-multifile
|
|
|
|
If specified, causes all @file{.java} source files to be
|
|
|
|
compiled into @file{.class} files in one invocation of
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
@samp{gcj}. This can speed up build time, but is more
|
|
|
|
resource-intensive. If this option is unspecified or
|
2004-02-20 13:55:00 +01:00
|
|
|
disabled, @samp{gcj} is invoked once for each @file{.java}
|
|
|
|
file to compile into a @file{.class} file.
|
|
|
|
|
|
|
|
@item --with-libiconv-prefix=DIR
|
|
|
|
Search for libiconv in @file{DIR/include} and @file{DIR/lib}.
|
|
|
|
|
|
|
|
@item --enable-sjlj-exceptions
|
2006-09-29 08:32:58 +02:00
|
|
|
Force use of the @code{setjmp}/@code{longjmp}-based scheme for exceptions.
|
|
|
|
@samp{configure} ordinarily picks the correct value based on the platform.
|
|
|
|
Only use this option if you are sure you need a different setting.
|
2004-02-20 13:55:00 +01:00
|
|
|
|
|
|
|
@item --with-system-zlib
|
|
|
|
Use installed @samp{zlib} rather than that included with GCC@.
|
|
|
|
|
|
|
|
@item --with-win32-nlsapi=ansi, unicows or unicode
|
|
|
|
Indicates how MinGW @samp{libgcj} translates between UNICODE
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
characters and the Win32 API@.
|
2008-07-02 15:17:54 +02:00
|
|
|
|
|
|
|
@item --enable-java-home
|
|
|
|
If enabled, this creates a JPackage compatible SDK environment during install.
|
|
|
|
Note that if --enable-java-home is used, --with-arch-directory=ARCH must also
|
|
|
|
be specified.
|
|
|
|
|
|
|
|
@item --with-arch-directory=ARCH
|
2011-05-05 01:34:37 +02:00
|
|
|
Specifies the name to use for the @file{jre/lib/ARCH} directory in the SDK
|
|
|
|
environment created when --enable-java-home is passed. Typical names for this
|
2008-07-02 15:17:54 +02:00
|
|
|
directory include i386, amd64, ia64, etc.
|
|
|
|
|
|
|
|
@item --with-os-directory=DIR
|
|
|
|
Specifies the OS directory for the SDK include directory. This is set to auto
|
|
|
|
detect, and is typically 'linux'.
|
|
|
|
|
|
|
|
@item --with-origin-name=NAME
|
|
|
|
Specifies the JPackage origin name. This defaults to the 'gcj' in
|
|
|
|
java-1.5.0-gcj.
|
|
|
|
|
|
|
|
@item --with-arch-suffix=SUFFIX
|
2011-05-05 01:34:37 +02:00
|
|
|
Specifies the suffix for the sdk directory. Defaults to the empty string.
|
2008-07-02 15:17:54 +02:00
|
|
|
Examples include '.x86_64' in 'java-1.5.0-gcj-1.5.0.0.x86_64'.
|
|
|
|
|
|
|
|
@item --with-jvm-root-dir=DIR
|
|
|
|
Specifies where to install the SDK. Default is $(prefix)/lib/jvm.
|
|
|
|
|
|
|
|
@item --with-jvm-jar-dir=DIR
|
|
|
|
Specifies where to install jars. Default is $(prefix)/lib/jvm-exports.
|
|
|
|
|
|
|
|
@item --with-python-dir=DIR
|
|
|
|
Specifies where to install the Python modules used for aot-compile. DIR should
|
|
|
|
not include the prefix used in installation. For example, if the Python modules
|
2011-05-05 01:34:37 +02:00
|
|
|
are to be installed in /usr/lib/python2.5/site-packages, then
|
2008-07-02 15:17:54 +02:00
|
|
|
--with-python-dir=/lib/python2.5/site-packages should be passed. If this is
|
|
|
|
not specified, then the Python modules are installed in $(prefix)/share/python.
|
|
|
|
|
|
|
|
@item --enable-aot-compile-rpm
|
|
|
|
Adds aot-compile-rpm to the list of installed scripts.
|
|
|
|
|
2009-10-22 11:25:51 +02:00
|
|
|
@item --enable-browser-plugin
|
|
|
|
Build the gcjwebplugin web browser plugin.
|
|
|
|
|
2011-07-11 13:41:56 +02:00
|
|
|
@item --enable-static-libjava
|
|
|
|
Build static libraries in libjava. The default is to only build shared
|
|
|
|
libraries.
|
|
|
|
|
2004-02-20 13:55:00 +01:00
|
|
|
@table @code
|
|
|
|
@item ansi
|
|
|
|
Use the single-byte @code{char} and the Win32 A functions natively,
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
translating to and from UNICODE when using these functions. If
|
2004-02-20 13:55:00 +01:00
|
|
|
unspecified, this is the default.
|
|
|
|
|
|
|
|
@item unicows
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
Use the @code{WCHAR} and Win32 W functions natively. Adds
|
2004-02-20 13:55:00 +01:00
|
|
|
@code{-lunicows} to @file{libgcj.spec} to link with @samp{libunicows}.
|
|
|
|
@file{unicows.dll} needs to be deployed on Microsoft Windows 9X machines
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
running built executables. @file{libunicows.a}, an open-source
|
2004-02-20 13:55:00 +01:00
|
|
|
import library around Microsoft's @code{unicows.dll}, is obtained from
|
|
|
|
@uref{http://libunicows.sourceforge.net/}, which also gives details
|
|
|
|
on getting @file{unicows.dll} from Microsoft.
|
|
|
|
|
|
|
|
@item unicode
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
Use the @code{WCHAR} and Win32 W functions natively. Does @emph{not}
|
|
|
|
add @code{-lunicows} to @file{libgcj.spec}. The built executables will
|
2004-02-20 13:55:00 +01:00
|
|
|
only run on Microsoft Windows NT and above.
|
|
|
|
@end table
|
|
|
|
@end table
|
|
|
|
|
|
|
|
@subsubheading AWT-Specific Options
|
|
|
|
|
|
|
|
@table @code
|
|
|
|
@item --with-x
|
|
|
|
Use the X Window System.
|
|
|
|
|
|
|
|
@item --enable-java-awt=PEER(S)
|
|
|
|
Specifies the AWT peer library or libraries to build alongside
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
@samp{libgcj}. If this option is unspecified or disabled, AWT
|
|
|
|
will be non-functional. Current valid values are @option{gtk} and
|
|
|
|
@option{xlib}. Multiple libraries should be separated by a
|
2004-09-11 10:34:26 +02:00
|
|
|
comma (i.e.@: @option{--enable-java-awt=gtk,xlib}).
|
2004-02-20 13:55:00 +01:00
|
|
|
|
|
|
|
@item --enable-gtk-cairo
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
Build the cairo Graphics2D implementation on GTK@.
|
2004-02-20 13:55:00 +01:00
|
|
|
|
|
|
|
@item --enable-java-gc=TYPE
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
Choose garbage collector. Defaults to @option{boehm} if unspecified.
|
2004-02-20 13:55:00 +01:00
|
|
|
|
|
|
|
@item --disable-gtktest
|
|
|
|
Do not try to compile and run a test GTK+ program.
|
|
|
|
|
|
|
|
@item --disable-glibtest
|
|
|
|
Do not try to compile and run a test GLIB program.
|
|
|
|
|
|
|
|
@item --with-libart-prefix=PFX
|
|
|
|
Prefix where libart is installed (optional).
|
|
|
|
|
|
|
|
@item --with-libart-exec-prefix=PFX
|
|
|
|
Exec prefix where libart is installed (optional).
|
|
|
|
|
|
|
|
@item --disable-libarttest
|
|
|
|
Do not try to compile and run a test libart program.
|
|
|
|
|
|
|
|
@end table
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2010-10-02 16:52:07 +02:00
|
|
|
@subsubheading Overriding @command{configure} test results
|
|
|
|
|
|
|
|
Sometimes, it might be necessary to override the result of some
|
|
|
|
@command{configure} test, for example in order to ease porting to a new
|
|
|
|
system or work around a bug in a test. The toplevel @command{configure}
|
|
|
|
script provides three variables for this:
|
|
|
|
|
|
|
|
@table @code
|
|
|
|
|
|
|
|
@item build_configargs
|
|
|
|
@cindex @code{build_configargs}
|
|
|
|
The contents of this variable is passed to all build @command{configure}
|
|
|
|
scripts.
|
|
|
|
|
|
|
|
@item host_configargs
|
|
|
|
@cindex @code{host_configargs}
|
|
|
|
The contents of this variable is passed to all host @command{configure}
|
|
|
|
scripts.
|
|
|
|
|
|
|
|
@item target_configargs
|
|
|
|
@cindex @code{target_configargs}
|
|
|
|
The contents of this variable is passed to all target @command{configure}
|
|
|
|
scripts.
|
|
|
|
|
|
|
|
@end table
|
|
|
|
|
|
|
|
In order to avoid shell and @command{make} quoting issues for complex
|
|
|
|
overrides, you can pass a setting for @env{CONFIG_SITE} and set
|
|
|
|
variables in the site file.
|
|
|
|
|
2001-05-12 00:10:54 +02:00
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-05-12 00:10:54 +02:00
|
|
|
<p>
|
|
|
|
@end html
|
|
|
|
@ifhtml
|
|
|
|
@uref{./index.html,,Return to the GCC Installation page}
|
|
|
|
@end ifhtml
|
|
|
|
@end ifset
|
|
|
|
|
|
|
|
@c ***Building****************************************************************
|
2001-06-13 15:07:28 +02:00
|
|
|
@ifnothtml
|
2001-05-12 00:10:54 +02:00
|
|
|
@comment node-name, next, previous, up
|
|
|
|
@node Building, Testing, Configuration, Installing GCC
|
2001-06-13 15:07:28 +02:00
|
|
|
@end ifnothtml
|
2001-05-12 00:10:54 +02:00
|
|
|
@ifset buildhtml
|
|
|
|
@ifnothtml
|
|
|
|
@chapter Building
|
|
|
|
@end ifnothtml
|
|
|
|
@cindex Installing GCC: Building
|
|
|
|
|
|
|
|
Now that GCC is configured, you are ready to build the compiler and
|
|
|
|
runtime libraries.
|
|
|
|
|
2001-06-03 00:33:30 +02:00
|
|
|
Some commands executed when making the compiler may fail (return a
|
2003-04-08 08:39:15 +02:00
|
|
|
nonzero status) and be ignored by @command{make}. These failures, which
|
2001-06-03 00:33:30 +02:00
|
|
|
are often due to files that were not found, are expected, and can safely
|
|
|
|
be ignored.
|
|
|
|
|
|
|
|
It is normal to have compiler warnings when compiling certain files.
|
|
|
|
Unless you are a GCC developer, you can generally ignore these warnings
|
2003-01-21 14:45:16 +01:00
|
|
|
unless they cause compilation to fail. Developers should attempt to fix
|
|
|
|
any warnings encountered, however they can temporarily continue past
|
|
|
|
warnings-as-errors by specifying the configure flag
|
|
|
|
@option{--disable-werror}.
|
2001-06-03 00:33:30 +02:00
|
|
|
|
|
|
|
On certain old systems, defining certain environment variables such as
|
2001-06-13 15:07:28 +02:00
|
|
|
@env{CC} can interfere with the functioning of @command{make}.
|
2001-06-03 00:33:30 +02:00
|
|
|
|
|
|
|
If you encounter seemingly strange errors when trying to build the
|
|
|
|
compiler in a directory other than the source directory, it could be
|
|
|
|
because you have previously configured the compiler in the source
|
|
|
|
directory. Make sure you have done all the necessary preparations.
|
|
|
|
|
|
|
|
If you build GCC on a BSD system using a directory stored in an old System
|
2002-08-30 22:48:14 +02:00
|
|
|
V file system, problems may occur in running @command{fixincludes} if the
|
2001-06-03 00:33:30 +02:00
|
|
|
System V file system doesn't support symbolic links. These problems
|
|
|
|
result in a failure to fix the declaration of @code{size_t} in
|
|
|
|
@file{sys/types.h}. If you find that @code{size_t} is a signed type and
|
|
|
|
that type mismatches occur, this could be the cause.
|
|
|
|
|
c-tree.texi, [...]: Replace . at end of sentences preceded by a capital letter with @..
* doc/c-tree.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppinternals.texi, doc/extend.texi, doc/gcc.texi,
doc/gcov.texi, doc/install-old.texi, doc/install.texi,
doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi: Replace
. at end of sentences preceded by a capital letter with @..
From-SVN: r43611
2001-06-27 17:04:16 +02:00
|
|
|
The solution is not to use such a directory for building GCC@.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2007-03-26 23:18:43 +02:00
|
|
|
Similarly, when building from SVN or snapshots, or if you modify
|
2008-03-06 18:14:05 +01:00
|
|
|
@file{*.l} files, you need the Flex lexical analyzer generator
|
|
|
|
installed. If you do not modify @file{*.l} files, releases contain
|
|
|
|
the Flex-generated files and you do not need Flex installed to build
|
|
|
|
them. There is still one Flex-based lexical analyzer (part of the
|
|
|
|
build machinery, not of GCC itself) that is used even if you only
|
|
|
|
build the C front end.
|
2001-06-03 21:06:55 +02:00
|
|
|
|
2006-04-05 07:21:32 +02:00
|
|
|
When building from SVN or snapshots, or if you modify Texinfo
|
2008-07-24 00:50:42 +02:00
|
|
|
documentation, you need version 4.7 or later of Texinfo installed if you
|
2001-06-03 21:06:55 +02:00
|
|
|
want Info documentation to be regenerated. Releases contain Info
|
|
|
|
documentation pre-built for the unmodified documentation in the release.
|
|
|
|
|
2001-05-12 00:10:54 +02:00
|
|
|
@section Building a native compiler
|
|
|
|
|
2006-06-01 14:28:11 +02:00
|
|
|
For a native build, the default configuration is to perform
|
|
|
|
a 3-stage bootstrap of the compiler when @samp{make} is invoked.
|
|
|
|
This will build the entire GCC system and ensure that it compiles
|
|
|
|
itself correctly. It can be disabled with the @option{--disable-bootstrap}
|
|
|
|
parameter to @samp{configure}, but bootstrapping is suggested because
|
|
|
|
the compiler will be tested more completely and could also have
|
|
|
|
better performance.
|
|
|
|
|
|
|
|
The bootstrapping process will complete the following steps:
|
2001-05-12 00:10:54 +02:00
|
|
|
|
|
|
|
@itemize @bullet
|
|
|
|
@item
|
2006-04-05 07:21:32 +02:00
|
|
|
Build tools necessary to build the compiler.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
|
|
|
@item
|
re PR bootstrap/25670 (build fail with 'make all-gcc')
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25670
* Makefile.tpl ([+compare-target+]): Print explanation messages.
* Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES): New flags_to_pass.
* Makefile.tpl (BASE_FLAGS_TO_PASS): Support optional flags_to_pass.
(EXTRA_GCC_FLAGS): Remove ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES,
BUILD_PREFIX, BUILD_PREFIX_1.
* configure.in: (BUILD_PREFIX, BUILD_PREFIX_1): Don't substitute.
* Makefile.def (bootstrap stage 1): Pass LIBCFLAGS too.
* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Override LIBCFLAGS too.
* Makefile.tpl (configure-stage[+id+]-[+prefix+][+module+],
all-stage[+id+]-[+prefix+][+module+], : Use $(current_stage) instead
of `cat stage_current`. Always provide the `r' and `s' variables.
(clean-stage[+id+]-[+prefix+][+module+]): Likewise, and make it into
a single shell execution.
(configure-[+prefix+][+module+], all-[+prefix+][+module+]): For
bootstrapped modules, make the stage1 module if the build was not
started yet, else build the current stage.
(all-host, all-target): Omit bootstrapped modules (if bootstrapping).
(all-build, all-host, all-target, [+make_target+]-host,
[+make_target+]-target): Do not use \-continued lines.
(target modules): Depend on stage_last, not all-gcc, if bootstrapping.
(current_stage, restrap, stage_last): New.
* Makefile.in: Regenerate.
* configure: Regenerate.
gcc:
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25476
* Makefile.in (LDFLAGS): Define from autoconf substitution.
* Makefile.in (BOOTSTRAPPING): New.
(quickstrap): New definition if BOOTSTRAPPING=yes.
* Makefile.in (CONFIG_LANGUAGES): Substitute all_selected_languages.
* configure.ac: Substitute all_selected_languages with the languages
that were configured. For all the other variables except
lang_specs_files, include all the languages in the tree.
* configure: Regenerate.
* Makefile.in (stmp-fixinc): Copy includes from the prev-gcc directory,
if there is one. Run the commands to run fixincludes in the same
subshell.
* doc/makefile.texi: Document new makefile targets from toplevel bootstrap.
* doc/install.texi: Document exact conventions for searching target tools.
Document --with-build-time-tools. Document toplevel bootstrap. Document
something more about building an Ada cross-compiler. Don't list GNU Make
requirements which affect all platforms.
From-SVN: r111295
2006-02-20 09:29:17 +01:00
|
|
|
Perform a 3-stage bootstrap of the compiler. This includes building
|
|
|
|
three times the target tools for use by the compiler such as binutils
|
|
|
|
(bfd, binutils, gas, gprof, ld, and opcodes) if they have been
|
|
|
|
individually linked or moved into the top level GCC source tree before
|
|
|
|
configuring.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
|
|
|
@item
|
|
|
|
Perform a comparison test of the stage2 and stage3 compilers.
|
|
|
|
|
|
|
|
@item
|
|
|
|
Build runtime libraries using the stage3 compiler from the previous step.
|
2001-06-27 01:23:32 +02:00
|
|
|
|
2001-05-12 00:10:54 +02:00
|
|
|
@end itemize
|
|
|
|
|
2001-06-01 20:08:19 +02:00
|
|
|
If you are short on disk space you might consider @samp{make
|
re PR bootstrap/25670 (build fail with 'make all-gcc')
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25670
* Makefile.tpl ([+compare-target+]): Print explanation messages.
* Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES): New flags_to_pass.
* Makefile.tpl (BASE_FLAGS_TO_PASS): Support optional flags_to_pass.
(EXTRA_GCC_FLAGS): Remove ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES,
BUILD_PREFIX, BUILD_PREFIX_1.
* configure.in: (BUILD_PREFIX, BUILD_PREFIX_1): Don't substitute.
* Makefile.def (bootstrap stage 1): Pass LIBCFLAGS too.
* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Override LIBCFLAGS too.
* Makefile.tpl (configure-stage[+id+]-[+prefix+][+module+],
all-stage[+id+]-[+prefix+][+module+], : Use $(current_stage) instead
of `cat stage_current`. Always provide the `r' and `s' variables.
(clean-stage[+id+]-[+prefix+][+module+]): Likewise, and make it into
a single shell execution.
(configure-[+prefix+][+module+], all-[+prefix+][+module+]): For
bootstrapped modules, make the stage1 module if the build was not
started yet, else build the current stage.
(all-host, all-target): Omit bootstrapped modules (if bootstrapping).
(all-build, all-host, all-target, [+make_target+]-host,
[+make_target+]-target): Do not use \-continued lines.
(target modules): Depend on stage_last, not all-gcc, if bootstrapping.
(current_stage, restrap, stage_last): New.
* Makefile.in: Regenerate.
* configure: Regenerate.
gcc:
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25476
* Makefile.in (LDFLAGS): Define from autoconf substitution.
* Makefile.in (BOOTSTRAPPING): New.
(quickstrap): New definition if BOOTSTRAPPING=yes.
* Makefile.in (CONFIG_LANGUAGES): Substitute all_selected_languages.
* configure.ac: Substitute all_selected_languages with the languages
that were configured. For all the other variables except
lang_specs_files, include all the languages in the tree.
* configure: Regenerate.
* Makefile.in (stmp-fixinc): Copy includes from the prev-gcc directory,
if there is one. Run the commands to run fixincludes in the same
subshell.
* doc/makefile.texi: Document new makefile targets from toplevel bootstrap.
* doc/install.texi: Document exact conventions for searching target tools.
Document --with-build-time-tools. Document toplevel bootstrap. Document
something more about building an Ada cross-compiler. Don't list GNU Make
requirements which affect all platforms.
From-SVN: r111295
2006-02-20 09:29:17 +01:00
|
|
|
bootstrap-lean} instead. The sequence of compilation is the
|
|
|
|
same described above, but object files from the stage1 and
|
2001-05-12 00:10:54 +02:00
|
|
|
stage2 of the 3-stage bootstrap of the compiler are deleted as
|
|
|
|
soon as they are no longer needed.
|
|
|
|
|
re PR bootstrap/32009 (building gcc4-4.3/4.4.0-20070518 failed on OSX 10.3.9)
2008-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/32009
PR bootstrap/32161
* configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Compute here.
* configure: Regenerate.
* Makefile.def: Define stage_libcflags for all bootstrap stages.
* Makefile.tpl (STAGE1_LIBCFLAGS, STAGE2_LIBCFLAGS, STAGE3_LIBCFLAGS,
STAGE4_LIBCFLAGS): New.
(CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Subst from autoconf, without
$(SYSROOT_CFLAGS_FOR_TARGET) and $(DEBUG_PREFIX_CFLAGS_FOR_TARGET).
(BASE_TARGET_EXPORTS): Append them here to C{,XX}FLAGS.
(EXTRA_TARGET_FLAGS): Append them here to {LIB,}C{,XX}FLAGS.
(configure-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags
for target modules. Don't export LIBCFLAGS.
(all-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags; pass
$(BASE_FLAGS_TO_PASS) where [+args+] was passed, and [+args+] after
the overridden CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
(invocations of `all'): Replace $(TARGET_FLAGS_TO_PASS) with
$(EXTRA_TARGET_FLAGS), $(FLAGS_TO_PASS) with $(EXTRA_HOST_FLAGS).
* Makefile.in: Regenerate.
2008-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/32009
* mh-ppc-darwin (BOOT_CFLAGS): Reenable.
2008-02-20 Paolo Bonzini <bonzini@gnu.org>
* doc/install.texi: Correct references to CFLAGS, replacing them
with BOOT_CFLAGS. Document flags used during bootstrap for
target libraries.
From-SVN: r132479
2008-02-20 15:10:40 +01:00
|
|
|
If you wish to use non-default GCC flags when compiling the stage2
|
|
|
|
and stage3 compilers, set @code{BOOT_CFLAGS} on the command line when
|
|
|
|
doing @samp{make}. For example, if you want to save additional space
|
|
|
|
during the bootstrap and in the final installation as well, you can
|
|
|
|
build the compiler binaries without debugging information as in the
|
|
|
|
following example. This will save roughly 40% of disk space both for
|
|
|
|
the bootstrap and the final installation. (Libraries will still contain
|
|
|
|
debugging information.)
|
2001-05-12 00:10:54 +02:00
|
|
|
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@smallexample
|
2010-12-20 08:25:51 +01:00
|
|
|
make BOOT_CFLAGS='-O' bootstrap
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@end smallexample
|
2002-09-04 01:52:06 +02:00
|
|
|
|
re PR bootstrap/32009 (building gcc4-4.3/4.4.0-20070518 failed on OSX 10.3.9)
2008-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/32009
PR bootstrap/32161
* configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Compute here.
* configure: Regenerate.
* Makefile.def: Define stage_libcflags for all bootstrap stages.
* Makefile.tpl (STAGE1_LIBCFLAGS, STAGE2_LIBCFLAGS, STAGE3_LIBCFLAGS,
STAGE4_LIBCFLAGS): New.
(CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Subst from autoconf, without
$(SYSROOT_CFLAGS_FOR_TARGET) and $(DEBUG_PREFIX_CFLAGS_FOR_TARGET).
(BASE_TARGET_EXPORTS): Append them here to C{,XX}FLAGS.
(EXTRA_TARGET_FLAGS): Append them here to {LIB,}C{,XX}FLAGS.
(configure-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags
for target modules. Don't export LIBCFLAGS.
(all-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags; pass
$(BASE_FLAGS_TO_PASS) where [+args+] was passed, and [+args+] after
the overridden CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
(invocations of `all'): Replace $(TARGET_FLAGS_TO_PASS) with
$(EXTRA_TARGET_FLAGS), $(FLAGS_TO_PASS) with $(EXTRA_HOST_FLAGS).
* Makefile.in: Regenerate.
2008-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/32009
* mh-ppc-darwin (BOOT_CFLAGS): Reenable.
2008-02-20 Paolo Bonzini <bonzini@gnu.org>
* doc/install.texi: Correct references to CFLAGS, replacing them
with BOOT_CFLAGS. Document flags used during bootstrap for
target libraries.
From-SVN: r132479
2008-02-20 15:10:40 +01:00
|
|
|
You can place non-default optimization flags into @code{BOOT_CFLAGS}; they
|
|
|
|
are less well tested here than the default of @samp{-g -O2}, but should
|
|
|
|
still work. In a few cases, you may find that you need to specify special
|
|
|
|
flags such as @option{-msoft-float} here to complete the bootstrap; or,
|
|
|
|
if the native compiler miscompiles the stage1 compiler, you may need
|
|
|
|
to work around this, by choosing @code{BOOT_CFLAGS} to avoid the parts
|
|
|
|
of the stage1 compiler that were miscompiled, or by using @samp{make
|
2001-06-03 21:06:55 +02:00
|
|
|
bootstrap4} to increase the number of stages of bootstrap.
|
|
|
|
|
re PR bootstrap/32009 (building gcc4-4.3/4.4.0-20070518 failed on OSX 10.3.9)
2008-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/32009
PR bootstrap/32161
* configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Compute here.
* configure: Regenerate.
* Makefile.def: Define stage_libcflags for all bootstrap stages.
* Makefile.tpl (STAGE1_LIBCFLAGS, STAGE2_LIBCFLAGS, STAGE3_LIBCFLAGS,
STAGE4_LIBCFLAGS): New.
(CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Subst from autoconf, without
$(SYSROOT_CFLAGS_FOR_TARGET) and $(DEBUG_PREFIX_CFLAGS_FOR_TARGET).
(BASE_TARGET_EXPORTS): Append them here to C{,XX}FLAGS.
(EXTRA_TARGET_FLAGS): Append them here to {LIB,}C{,XX}FLAGS.
(configure-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags
for target modules. Don't export LIBCFLAGS.
(all-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags; pass
$(BASE_FLAGS_TO_PASS) where [+args+] was passed, and [+args+] after
the overridden CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
(invocations of `all'): Replace $(TARGET_FLAGS_TO_PASS) with
$(EXTRA_TARGET_FLAGS), $(FLAGS_TO_PASS) with $(EXTRA_HOST_FLAGS).
* Makefile.in: Regenerate.
2008-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/32009
* mh-ppc-darwin (BOOT_CFLAGS): Reenable.
2008-02-20 Paolo Bonzini <bonzini@gnu.org>
* doc/install.texi: Correct references to CFLAGS, replacing them
with BOOT_CFLAGS. Document flags used during bootstrap for
target libraries.
From-SVN: r132479
2008-02-20 15:10:40 +01:00
|
|
|
@code{BOOT_CFLAGS} does not apply to bootstrapped target libraries.
|
|
|
|
Since these are always compiled with the compiler currently being
|
|
|
|
bootstrapped, you can use @code{CFLAGS_FOR_TARGET} to modify their
|
|
|
|
compilation flags, as for non-bootstrapped target libraries.
|
|
|
|
Again, if the native compiler miscompiles the stage1 compiler, you may
|
|
|
|
need to work around this by avoiding non-working parts of the stage1
|
re PR target/37137 (unrecognized command line option "-minterlink-mips16")
ChangeLog:
PR target/37137
* Makefile.def (flags_to_pass): Remove redundant and incomplete
STAGE1_CFLAGS, STAGE2_CFLAGS, STAGE3_CFLAGS, and STAGE4_CFLAGS.
Add FLAGS_FOR_TARGET and BUILD_CONFIG.
(bootstrap_stage): Remove bootstrap-debug custom stages. Turn
stage_configureflags, stage_cflags and stage_libcflags into
explicit Makefile macros.
* Makefile.tpl (HOST_EXPORTS, EXTRA_HOST_FLAGS): Pass GCJ and
GFORTRAN.
(POSTSTAGE1_HOST_EXPORTS): Add XGCC_FLAGS_FOR_TARGET and TFLAGS to
CC. Set CC_FOR_BUILD from CC.
(BASE_TARGET_EXPORTS, RAW_CXX_TARGET_EXPORTS,
NORMAL_TARGET_EXPORTS): Move SYSROOT_CFLAGS_FOR_TARGET and
DEBUG_PREFIX_CFLAGS_FOR_TARGET from CFLAGS and CXXFLAGS to
XGCC_FLAGS_FOR_TARGET. Add it along with TFLAGS to CC, CXX, GCJ,
and GFORTRAN.
(TFLAGS, STAGE_CFLAGS, STAGE_TFLAGS, STAGE_CONFIGURE_FLAGS): New.
(_LIBCFLAGS): Renamed to _TFLAGS.
(do-compare-debug, do-compare3-debug): Drop.
(CC, GCC_FOR_TARGET, CXX_FOR_TARGET, RAW_CXX_FOR_TARGET,
GCJ_FOR_TARGET, GFORTRAN_FOR_TARGET): Remove FLAGS_FOR_TARGET.
(FLAGS_FOR_TARGET, SYSROOT_CFLAGS_FOR_TARGET,
DEBUG_PREFIX_CFLAGS_FOR_TARGET): Move down.
(XGCC_FLAGS_FOR_TARGET): New.
(BASE_FLAGS_TO_PASS): Pass STAGEid_CFLAGS, STAGEid_TFLAGS and TFLAGS.
(EXTRA_HOST_FLAGS): Pass GCJ and GFORTRAN.
(POSTSTAGE1_FLAGS_TO_PASS): Move SYSROOT_CFLAGS_FOR_TARGET and
DEBUG_PREFIX_CFLAGS_FOR_TARGET from CFLAGS, CXXFLAGS, LIBCFLAGS,
LIBCXXFLAGS to XGCC_FLAGS_FOR_TARGET. Add it along with TFLAGS
to CC, CXX, GCJ, and GFORTRAN. Pass XGCC_FLAGS_FOR_TARGET and
TFLAGS.
(BUILD_CONFIG): Include if requested.
(all): Set TFLAGS on bootstrap.
(configure-stageid-prefixmodule): Pass TFLAGS, adjust FLAGS.
(all-stageid-prefixmodule): Likewise.
(do-clean, distclean-stageid): Set TFLAGS.
(restrap): Fix whitespace.
* Makefile.in: Rebuilt.
config/ChangeLog:
* multi.m4: Save CXX, GFORTRAN and GCJ in config.status.
* mt-gnu (CXXFLAGS_FOR_TARGET): Adjust.
* bootstrap-O1.mk: New.
* bootstrap-O3.mk: New.
* bootstrap-debug.mk: New.
gcc/ChangeLog:
PR target/37137
* doc/install.texi (STAGE1_TFLAGS, BUILD_CONFIG): Document.
gcc/java/ChangeLog:
* Make-lang.in (GCJ): Renamed to...
(XGCJ): ... this.
libjava/ChangeLog:
* configure.ac: Insert libgcjdir in the GCJ passed in the
environment, rather than overriding completely.
* configure: Rebuilt.
From-SVN: r147415
2009-05-12 07:49:28 +02:00
|
|
|
compiler. Use @code{STAGE1_TFLAGS} to this end.
|
2004-06-26 22:40:31 +02:00
|
|
|
|
2001-06-13 15:07:28 +02:00
|
|
|
If you used the flag @option{--enable-languages=@dots{}} to restrict
|
2001-05-12 00:10:54 +02:00
|
|
|
the compilers to be built, only those you've actually enabled will be
|
2001-06-27 00:47:11 +02:00
|
|
|
built. This will of course only build those runtime libraries, for
|
2001-05-12 00:10:54 +02:00
|
|
|
which the particular compiler has been built. Please note,
|
re PR bootstrap/25670 (build fail with 'make all-gcc')
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25670
* Makefile.tpl ([+compare-target+]): Print explanation messages.
* Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES): New flags_to_pass.
* Makefile.tpl (BASE_FLAGS_TO_PASS): Support optional flags_to_pass.
(EXTRA_GCC_FLAGS): Remove ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES,
BUILD_PREFIX, BUILD_PREFIX_1.
* configure.in: (BUILD_PREFIX, BUILD_PREFIX_1): Don't substitute.
* Makefile.def (bootstrap stage 1): Pass LIBCFLAGS too.
* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Override LIBCFLAGS too.
* Makefile.tpl (configure-stage[+id+]-[+prefix+][+module+],
all-stage[+id+]-[+prefix+][+module+], : Use $(current_stage) instead
of `cat stage_current`. Always provide the `r' and `s' variables.
(clean-stage[+id+]-[+prefix+][+module+]): Likewise, and make it into
a single shell execution.
(configure-[+prefix+][+module+], all-[+prefix+][+module+]): For
bootstrapped modules, make the stage1 module if the build was not
started yet, else build the current stage.
(all-host, all-target): Omit bootstrapped modules (if bootstrapping).
(all-build, all-host, all-target, [+make_target+]-host,
[+make_target+]-target): Do not use \-continued lines.
(target modules): Depend on stage_last, not all-gcc, if bootstrapping.
(current_stage, restrap, stage_last): New.
* Makefile.in: Regenerate.
* configure: Regenerate.
gcc:
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25476
* Makefile.in (LDFLAGS): Define from autoconf substitution.
* Makefile.in (BOOTSTRAPPING): New.
(quickstrap): New definition if BOOTSTRAPPING=yes.
* Makefile.in (CONFIG_LANGUAGES): Substitute all_selected_languages.
* configure.ac: Substitute all_selected_languages with the languages
that were configured. For all the other variables except
lang_specs_files, include all the languages in the tree.
* configure: Regenerate.
* Makefile.in (stmp-fixinc): Copy includes from the prev-gcc directory,
if there is one. Run the commands to run fixincludes in the same
subshell.
* doc/makefile.texi: Document new makefile targets from toplevel bootstrap.
* doc/install.texi: Document exact conventions for searching target tools.
Document --with-build-time-tools. Document toplevel bootstrap. Document
something more about building an Ada cross-compiler. Don't list GNU Make
requirements which affect all platforms.
From-SVN: r111295
2006-02-20 09:29:17 +01:00
|
|
|
that re-defining @env{LANGUAGES} when calling @samp{make}
|
2001-06-02 20:21:37 +02:00
|
|
|
@strong{does not} work anymore!
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2001-06-03 21:06:55 +02:00
|
|
|
If the comparison of stage2 and stage3 fails, this normally indicates
|
2001-07-02 20:08:42 +02:00
|
|
|
that the stage2 compiler has compiled GCC incorrectly, and is therefore
|
2001-06-03 21:06:55 +02:00
|
|
|
a potentially serious bug which you should investigate and report. (On
|
|
|
|
a few systems, meaningful comparison of object files is impossible; they
|
|
|
|
always appear ``different''. If you encounter this problem, you will
|
|
|
|
need to disable comparison in the @file{Makefile}.)
|
2001-05-12 00:10:54 +02:00
|
|
|
|
re PR bootstrap/25670 (build fail with 'make all-gcc')
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25670
* Makefile.tpl ([+compare-target+]): Print explanation messages.
* Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES): New flags_to_pass.
* Makefile.tpl (BASE_FLAGS_TO_PASS): Support optional flags_to_pass.
(EXTRA_GCC_FLAGS): Remove ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES,
BUILD_PREFIX, BUILD_PREFIX_1.
* configure.in: (BUILD_PREFIX, BUILD_PREFIX_1): Don't substitute.
* Makefile.def (bootstrap stage 1): Pass LIBCFLAGS too.
* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Override LIBCFLAGS too.
* Makefile.tpl (configure-stage[+id+]-[+prefix+][+module+],
all-stage[+id+]-[+prefix+][+module+], : Use $(current_stage) instead
of `cat stage_current`. Always provide the `r' and `s' variables.
(clean-stage[+id+]-[+prefix+][+module+]): Likewise, and make it into
a single shell execution.
(configure-[+prefix+][+module+], all-[+prefix+][+module+]): For
bootstrapped modules, make the stage1 module if the build was not
started yet, else build the current stage.
(all-host, all-target): Omit bootstrapped modules (if bootstrapping).
(all-build, all-host, all-target, [+make_target+]-host,
[+make_target+]-target): Do not use \-continued lines.
(target modules): Depend on stage_last, not all-gcc, if bootstrapping.
(current_stage, restrap, stage_last): New.
* Makefile.in: Regenerate.
* configure: Regenerate.
gcc:
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25476
* Makefile.in (LDFLAGS): Define from autoconf substitution.
* Makefile.in (BOOTSTRAPPING): New.
(quickstrap): New definition if BOOTSTRAPPING=yes.
* Makefile.in (CONFIG_LANGUAGES): Substitute all_selected_languages.
* configure.ac: Substitute all_selected_languages with the languages
that were configured. For all the other variables except
lang_specs_files, include all the languages in the tree.
* configure: Regenerate.
* Makefile.in (stmp-fixinc): Copy includes from the prev-gcc directory,
if there is one. Run the commands to run fixincludes in the same
subshell.
* doc/makefile.texi: Document new makefile targets from toplevel bootstrap.
* doc/install.texi: Document exact conventions for searching target tools.
Document --with-build-time-tools. Document toplevel bootstrap. Document
something more about building an Ada cross-compiler. Don't list GNU Make
requirements which affect all platforms.
From-SVN: r111295
2006-02-20 09:29:17 +01:00
|
|
|
If you do not want to bootstrap your compiler, you can configure with
|
|
|
|
@option{--disable-bootstrap}. In particular cases, you may want to
|
|
|
|
bootstrap your compiler even if the target system is not the same as
|
|
|
|
the one you are building on: for example, you could build a
|
|
|
|
@code{powerpc-unknown-linux-gnu} toolchain on a
|
|
|
|
@code{powerpc64-unknown-linux-gnu} host. In this case, pass
|
|
|
|
@option{--enable-bootstrap} to the configure script.
|
|
|
|
|
2009-09-03 07:55:57 +02:00
|
|
|
@code{BUILD_CONFIG} can be used to bring in additional customization
|
|
|
|
to the build. It can be set to a whitespace-separated list of names.
|
|
|
|
For each such @code{NAME}, top-level @file{config/@code{NAME}.mk} will
|
|
|
|
be included by the top-level @file{Makefile}, bringing in any settings
|
|
|
|
it contains. The default @code{BUILD_CONFIG} can be set using the
|
|
|
|
configure option @option{--with-build-config=@code{NAME}...}. Some
|
|
|
|
examples of supported build configurations are:
|
re PR target/37137 (unrecognized command line option "-minterlink-mips16")
ChangeLog:
PR target/37137
* Makefile.def (flags_to_pass): Remove redundant and incomplete
STAGE1_CFLAGS, STAGE2_CFLAGS, STAGE3_CFLAGS, and STAGE4_CFLAGS.
Add FLAGS_FOR_TARGET and BUILD_CONFIG.
(bootstrap_stage): Remove bootstrap-debug custom stages. Turn
stage_configureflags, stage_cflags and stage_libcflags into
explicit Makefile macros.
* Makefile.tpl (HOST_EXPORTS, EXTRA_HOST_FLAGS): Pass GCJ and
GFORTRAN.
(POSTSTAGE1_HOST_EXPORTS): Add XGCC_FLAGS_FOR_TARGET and TFLAGS to
CC. Set CC_FOR_BUILD from CC.
(BASE_TARGET_EXPORTS, RAW_CXX_TARGET_EXPORTS,
NORMAL_TARGET_EXPORTS): Move SYSROOT_CFLAGS_FOR_TARGET and
DEBUG_PREFIX_CFLAGS_FOR_TARGET from CFLAGS and CXXFLAGS to
XGCC_FLAGS_FOR_TARGET. Add it along with TFLAGS to CC, CXX, GCJ,
and GFORTRAN.
(TFLAGS, STAGE_CFLAGS, STAGE_TFLAGS, STAGE_CONFIGURE_FLAGS): New.
(_LIBCFLAGS): Renamed to _TFLAGS.
(do-compare-debug, do-compare3-debug): Drop.
(CC, GCC_FOR_TARGET, CXX_FOR_TARGET, RAW_CXX_FOR_TARGET,
GCJ_FOR_TARGET, GFORTRAN_FOR_TARGET): Remove FLAGS_FOR_TARGET.
(FLAGS_FOR_TARGET, SYSROOT_CFLAGS_FOR_TARGET,
DEBUG_PREFIX_CFLAGS_FOR_TARGET): Move down.
(XGCC_FLAGS_FOR_TARGET): New.
(BASE_FLAGS_TO_PASS): Pass STAGEid_CFLAGS, STAGEid_TFLAGS and TFLAGS.
(EXTRA_HOST_FLAGS): Pass GCJ and GFORTRAN.
(POSTSTAGE1_FLAGS_TO_PASS): Move SYSROOT_CFLAGS_FOR_TARGET and
DEBUG_PREFIX_CFLAGS_FOR_TARGET from CFLAGS, CXXFLAGS, LIBCFLAGS,
LIBCXXFLAGS to XGCC_FLAGS_FOR_TARGET. Add it along with TFLAGS
to CC, CXX, GCJ, and GFORTRAN. Pass XGCC_FLAGS_FOR_TARGET and
TFLAGS.
(BUILD_CONFIG): Include if requested.
(all): Set TFLAGS on bootstrap.
(configure-stageid-prefixmodule): Pass TFLAGS, adjust FLAGS.
(all-stageid-prefixmodule): Likewise.
(do-clean, distclean-stageid): Set TFLAGS.
(restrap): Fix whitespace.
* Makefile.in: Rebuilt.
config/ChangeLog:
* multi.m4: Save CXX, GFORTRAN and GCJ in config.status.
* mt-gnu (CXXFLAGS_FOR_TARGET): Adjust.
* bootstrap-O1.mk: New.
* bootstrap-O3.mk: New.
* bootstrap-debug.mk: New.
gcc/ChangeLog:
PR target/37137
* doc/install.texi (STAGE1_TFLAGS, BUILD_CONFIG): Document.
gcc/java/ChangeLog:
* Make-lang.in (GCJ): Renamed to...
(XGCJ): ... this.
libjava/ChangeLog:
* configure.ac: Insert libgcjdir in the GCJ passed in the
environment, rather than overriding completely.
* configure: Rebuilt.
From-SVN: r147415
2009-05-12 07:49:28 +02:00
|
|
|
|
|
|
|
@table @asis
|
|
|
|
@item @samp{bootstrap-O1}
|
|
|
|
Removes any @option{-O}-started option from @code{BOOT_CFLAGS}, and adds
|
|
|
|
@option{-O1} to it. @samp{BUILD_CONFIG=bootstrap-O1} is equivalent to
|
|
|
|
@samp{BOOT_CFLAGS='-g -O1'}.
|
|
|
|
|
|
|
|
@item @samp{bootstrap-O3}
|
|
|
|
Analogous to @code{bootstrap-O1}.
|
|
|
|
|
2010-06-21 02:23:06 +02:00
|
|
|
@item @samp{bootstrap-lto}
|
|
|
|
Enables Link-Time Optimization for host tools during bootstrapping.
|
|
|
|
@samp{BUILD_CONFIG=bootstrap-lto} is equivalent to adding
|
|
|
|
@option{-flto} to @samp{BOOT_CFLAGS}.
|
|
|
|
|
re PR target/37137 (unrecognized command line option "-minterlink-mips16")
ChangeLog:
PR target/37137
* Makefile.def (flags_to_pass): Remove redundant and incomplete
STAGE1_CFLAGS, STAGE2_CFLAGS, STAGE3_CFLAGS, and STAGE4_CFLAGS.
Add FLAGS_FOR_TARGET and BUILD_CONFIG.
(bootstrap_stage): Remove bootstrap-debug custom stages. Turn
stage_configureflags, stage_cflags and stage_libcflags into
explicit Makefile macros.
* Makefile.tpl (HOST_EXPORTS, EXTRA_HOST_FLAGS): Pass GCJ and
GFORTRAN.
(POSTSTAGE1_HOST_EXPORTS): Add XGCC_FLAGS_FOR_TARGET and TFLAGS to
CC. Set CC_FOR_BUILD from CC.
(BASE_TARGET_EXPORTS, RAW_CXX_TARGET_EXPORTS,
NORMAL_TARGET_EXPORTS): Move SYSROOT_CFLAGS_FOR_TARGET and
DEBUG_PREFIX_CFLAGS_FOR_TARGET from CFLAGS and CXXFLAGS to
XGCC_FLAGS_FOR_TARGET. Add it along with TFLAGS to CC, CXX, GCJ,
and GFORTRAN.
(TFLAGS, STAGE_CFLAGS, STAGE_TFLAGS, STAGE_CONFIGURE_FLAGS): New.
(_LIBCFLAGS): Renamed to _TFLAGS.
(do-compare-debug, do-compare3-debug): Drop.
(CC, GCC_FOR_TARGET, CXX_FOR_TARGET, RAW_CXX_FOR_TARGET,
GCJ_FOR_TARGET, GFORTRAN_FOR_TARGET): Remove FLAGS_FOR_TARGET.
(FLAGS_FOR_TARGET, SYSROOT_CFLAGS_FOR_TARGET,
DEBUG_PREFIX_CFLAGS_FOR_TARGET): Move down.
(XGCC_FLAGS_FOR_TARGET): New.
(BASE_FLAGS_TO_PASS): Pass STAGEid_CFLAGS, STAGEid_TFLAGS and TFLAGS.
(EXTRA_HOST_FLAGS): Pass GCJ and GFORTRAN.
(POSTSTAGE1_FLAGS_TO_PASS): Move SYSROOT_CFLAGS_FOR_TARGET and
DEBUG_PREFIX_CFLAGS_FOR_TARGET from CFLAGS, CXXFLAGS, LIBCFLAGS,
LIBCXXFLAGS to XGCC_FLAGS_FOR_TARGET. Add it along with TFLAGS
to CC, CXX, GCJ, and GFORTRAN. Pass XGCC_FLAGS_FOR_TARGET and
TFLAGS.
(BUILD_CONFIG): Include if requested.
(all): Set TFLAGS on bootstrap.
(configure-stageid-prefixmodule): Pass TFLAGS, adjust FLAGS.
(all-stageid-prefixmodule): Likewise.
(do-clean, distclean-stageid): Set TFLAGS.
(restrap): Fix whitespace.
* Makefile.in: Rebuilt.
config/ChangeLog:
* multi.m4: Save CXX, GFORTRAN and GCJ in config.status.
* mt-gnu (CXXFLAGS_FOR_TARGET): Adjust.
* bootstrap-O1.mk: New.
* bootstrap-O3.mk: New.
* bootstrap-debug.mk: New.
gcc/ChangeLog:
PR target/37137
* doc/install.texi (STAGE1_TFLAGS, BUILD_CONFIG): Document.
gcc/java/ChangeLog:
* Make-lang.in (GCJ): Renamed to...
(XGCJ): ... this.
libjava/ChangeLog:
* configure.ac: Insert libgcjdir in the GCJ passed in the
environment, rather than overriding completely.
* configure: Rebuilt.
From-SVN: r147415
2009-05-12 07:49:28 +02:00
|
|
|
@item @samp{bootstrap-debug}
|
invoke.texi (-fvar-tracking-assignments): New.
gcc/ChangeLog:
* doc/invoke.texi (-fvar-tracking-assignments): New.
(-fvar-tracking-assignments-toggle): New.
(-fdump-final-insns=file): Mark filename as optional.
(--param min-nondebug-insn-uid): New.
(-gdwarf-@{version}): Mention version 4.
* opts.c (common_handle_option): Accept it.
* tree-vrp.c (find_assert_locations_1): Skip debug stmts.
* regrename.c (regrename_optimize): Drop last. Don't count debug
insns as uses. Don't reject change because of debug insn.
(do_replace): Reject DEBUG_INSN as chain starter. Take base_regno
from the chain starter, and check for inexact matches in
DEBUG_INSNS.
(scan_rtx_reg): Accept inexact matches in DEBUG_INSNs.
(build_def_use): Simplify and fix the marking of DEBUG_INSNs.
* sched-ebb.c (schedule_ebbs): Skip boundary debug insns.
* fwprop.c (forward_propagate_and_simplify): ...into debug insns.
* doc/gimple.texi (is_gimple_debug): New.
(gimple_debug_bind_p): New.
(is_gimple_call, gimple_assign_cast_p): End sentence with period.
* doc/install.texi (bootstrap-debug): More details.
(bootstrap-debug-big, bootstrap-debug-lean): Document.
(bootstrap-debug-lib): More details.
(bootstrap-debug-ckovw): Update.
(bootstrap-time): New.
* tree-into-ssa.c (mark_def_sites): Skip debug stmts.
(insert_phi_nodes_for): Insert debug stmts.
(rewrite_stmt): Take iterator. Insert debug stmts.
(rewrite_enter_block): Adjust.
(maybe_replace_use_in_debug_stmt): New.
(rewrite_update_stmt): Use it.
(mark_use_interesting): Return early for debug stmts.
* tree-ssa-loop-im.c (rewrite_bittest): Propagate DEFs into debug
stmts before replacing stmt.
(move_computations_stmt): Likewise.
* ira-conflicts.c (add_copies): Skip debug insns.
* regstat.c (regstat_init_n_sets_and_refs): Discount debug insns.
(regstat_bb_compute_ri): Skip debug insns.
* tree-ssa-threadupdate.c (redirection_block_p): Skip debug stmts.
* tree-ssa-loop-manip.c (find_uses_to_rename_stmt,
check_loop_closed_ssa_stmt): Skip debug stmts.
* tree-tailcall.c (find_tail_calls): Likewise.
* tree-ssa-loop-ch.c (should_duplicate_loop_header_p): Likewise.
* tree.h (MAY_HAVE_DEBUG_STMTS): New.
(build_var_debug_value_stat): Declare.
(build_var_debug_value): Define.
(target_for_debug_bind): Declare.
* reload.c (find_equiv_reg): Skip debug insns.
* rtlanal.c (reg_used_between_p): Skip debug insns.
(side_effects_p): Likewise.
(canonicalize_condition): Likewise.
* ddg.c (create_ddg_dep_from_intra_loop_link): Check that non-debug
insns never depend on debug insns.
(create_ddg_dep_no_link): Likewise.
(add_cross_iteration_register_deps): Use ANTI_DEP for debug insns.
Don't add inter-loop dependencies for debug insns.
(build_intra_loop_deps): Likewise.
(create_ddg): Count debug insns.
* ddg.h (struct ddg::num_debug): New.
(num_backargs): Pair up with previous int field.
* diagnostic.c (diagnostic_report_diagnostic): Skip notes on
-fcompare-debug-second.
* final.c (get_attr_length_1): Skip debug insns.
(rest_of_clean-state): Don't dump CFA_RESTORE_STATE.
* gcc.c (invoke_as): Call compare-debug-dump-opt.
(driver_self_specs): Map -fdump-final-insns to
-fdump-final-insns=..
(get_local_tick): New.
(compare_debug_dump_opt_spec_function): Test for . argument and
compute output name. Compute temp output spec without flag name.
Compute -frandom-seed.
(OPT): Undef after use.
* cfgloopanal.c (num_loop_insns): Skip debug insns.
(average_num_loop_insns): Likewise.
* params.h (MIN_NONDEBUG_INSN_UID): New.
* gimple.def (GIMPLE_DEBUG): New.
* ipa-reference.c (scan_stmt_for_static_refs): Skip debug stmts.
* auto-inc-dec.c (merge_in_block): Skip debug insns.
(merge_in_block): Fix whitespace.
* toplev.c (flag_var_tracking): Update comment.
(flag_var_tracking_assignments): New.
(flag_var_tracking_assignments_toggle): New.
(process_options): Don't open final insns dump file if we're not
going to write to it. Compute defaults for var_tracking.
* df-scan.c (df_insn_rescan_debug_internal): New.
(df_uses_record): Handle debug insns.
* haifa-sched.c (ready): Initialize n_debug.
(contributes_to_priority): Skip debug insns.
(dep_list_size): New.
(priority): Use it.
(rank_for_schedule): Likewise. Schedule debug insns as soon as
they're ready. Disregard previous debug insns to make decisions.
(queue_insn): Never queue debug insns.
(ready_add, ready_remove_first, ready_remove): Count debug insns.
(schedule_insn): Don't reject debug insns because of issue rate.
(get_ebb_head_tail, no_real_insns_p): Skip boundary debug insns.
(queue_to_ready): Skip and discount debug insns.
(choose_ready): Let debug insns through.
(schedule_block): Check boundary debug insns. Discount debug
insns, schedule them early. Adjust whitespace.
(set_priorities): Check for boundary debug insns.
(add_jump_dependencies): Use dep_list_size.
(prev_non_location_insn): New.
(check_cfg): Use it.
* tree-ssa-loop-ivopts.c (find-interesting_users): Skip debug
stmts.
(remove_unused_ivs): Reset debug stmts.
* modulo-sched.c (const_iteration_count): Skip debug insns.
(res_MII): Discount debug insns.
(loop_single_full_bb_p): Skip debug insns.
(sms_schedule): Likewise.
(sms_schedule_by_order): Likewise.
(ps_has_conflicts): Likewise.
* caller-save.c (refmarker_fn): New.
(save_call_clobbered_regs): Replace regs with saved mem in
debug insns.
(mark_referenced_regs): Take pointer, mark and arg. Adjust.
Call refmarker_fn mark for hardregnos.
(mark_reg_as_referenced): New.
(replace_reg_with_saved_mem): New.
* ipa-pure-const.c (check_stmt): Skip debug stmts.
* cse.c (cse_insn): Canonicalize debug insns. Skip them when
searching back.
(cse_extended_basic_block): Skip debug insns.
(count_reg_usage): Likewise.
(is_dead_reg): New, split out of...
(set_live_p): ... here.
(insn_live_p): Use it for debug insns.
* tree-stdarg.c (check_all_va_list_escapes): Skip debug stmts.
(execute_optimize_stdarg): Likewise.
* tree-ssa-dom.c (propagate_rhs_into_lhs): Likewise.
* tree-ssa-propagate.c (substitute_and_fold): Don't regard
changes in debug stmts as changes.
* sel-sched.c (moving_insn_creates_bookkeeping_block_p): New.
(moveup_expr): Don't move across debug insns. Don't move
debug insn if it would create a bookkeeping block.
(moveup_expr_cached): Don't use cache for debug insns that
are heads of blocks.
(compute_av_set_inside_bb): Skip debug insns.
(sel_rank_for_schedule): Schedule debug insns first. Remove
dead code.
(block_valid_for_bookkeeping_p); Support lax searches.
(create_block_for_bookkeeping): Adjust block numbers when
encountering debug-only blocks.
(find_place_for_bookkeeping): Deal with debug-only blocks.
(generate_bookkeeping_insn): Accept no place to insert.
(remove_temp_moveop_nops): New argument full_tidying.
(prepare_place_to_insert): Deal with debug insns.
(advance_state_on_fence): Debug insns don't start cycles.
(update_boundaries): Take fence as argument. Deal with
debug insns.
(schedule_expr_on_boundary): No full_tidying on debug insns.
(fill_insns): Deal with debug insns.
(track_scheduled_insns_and_blocks): Don't count debug insns.
(need_nop_to_preserve_insn_bb): New, split out of...
(remove_insn_from_stream): ... this.
(fur_orig_expr_not_found): Skip debug insns.
* rtl.def (VALUE): Move up.
(DEBUG_INSN): New.
* tree-ssa-sink.c (all_immediate_uses_same_place): Skip debug
stmts.
(nearest_common_dominator_of_uses): Take debug_stmts argument.
Set it if debug stmts are found.
(statement_sink_location): Skip debug stmts. Propagate
moving defs into debug stmts.
* ifcvt.c (first_active_insn): Skip debug insns.
(last_active_insns): Likewise.
(cond_exec_process_insns): Likewise.
(noce_process_if_block): Likewise.
(check_cond_move_block): Likewise.
(cond_move_convert_if_block): Likewise.
(block_jumps_and_fallthru_p): Likewise.
(dead_or_predicable): Likewise.
* dwarf2out.c (debug_str_hash_forced): New.
(find_AT_string): Add comment.
(gen_label_for_indirect_string): New.
(get_debug_string_label): New.
(AT_string_form): Use it.
(mem_loc_descriptor): Handle non-TLS symbols. Handle MINUS , DIV,
MOD, AND, IOR, XOR, NOT, ABS, NEG, and CONST_STRING. Accept but
discard COMPARE, IF_THEN_ELSE, ROTATE, ROTATERT, TRUNCATE and
several operations that cannot be represented with DWARF opcodes.
(loc_descriptor): Ignore SIGN_EXTEND and ZERO_EXTEND. Require
dwarf_version 4 for DW_OP_implicit_value and DW_OP_stack_value.
(dwarf2out_var_location): Take during-call mark into account.
(output_indirect_string): Update comment. Output if there are
label and references.
(prune_indirect_string): New.
(prune_unused_types): Call it if debug_str_hash_forced.
More in dwarf2out.c, from Jakub Jelinek <jakub@redhat.com>:
(dw_long_long_const): Remove.
(struct dw_val_struct): Change val_long_long type to rtx.
(print_die, attr_checksum, same_dw_val_p, loc_descriptor): Adjust for
val_long_long change to CONST_DOUBLE rtx from a long hi/lo pair.
(output_die): Likewise. Use HOST_BITS_PER_WIDE_INT size of each
component instead of HOST_BITS_PER_LONG.
(output_loc_operands): Likewise. For const8* assert
HOST_BITS_PER_WIDE_INT rather than HOST_BITS_PER_LONG is >= 64.
(output_loc_operands_raw): For const8* assert HOST_BITS_PER_WIDE_INT
rather than HOST_BITS_PER_LONG is >= 64.
(add_AT_long_long): Remove val_hi and val_lo arguments, add
val_const_double.
(size_of_die): Use HOST_BITS_PER_WIDE_INT size multiplier instead of
HOST_BITS_PER_LONG for dw_val_class_long_long.
(add_const_value_attribute): Adjust add_AT_long_long caller. Don't
handle TLS SYMBOL_REFs. If CONST wraps a constant, tail recurse.
(dwarf_stack_op_name): Handle DW_OP_implicit_value and
DW_OP_stack_value.
(size_of_loc_descr, output_loc_operands, output_loc_operands_raw):
Handle DW_OP_implicit_value.
(extract_int): Move prototype earlier.
(mem_loc_descriptor): For SUBREG punt if inner
mode size is wider than DWARF2_ADDR_SIZE. Handle SIGN_EXTEND
and ZERO_EXTEND by DW_OP_shl and DW_OP_shr{a,}. Handle
EQ, NE, GT, GE, LT, LE, GTU, GEU, LTU, LEU, SMIN, SMAX, UMIN,
UMAX, SIGN_EXTRACT, ZERO_EXTRACT.
(loc_descriptor): Compare mode size with DWARF2_ADDR_SIZE
instead of Pmode size.
(loc_descriptor): Add MODE argument. Handle CONST_INT, CONST_DOUBLE,
CONST_VECTOR, CONST, LABEL_REF and SYMBOL_REF if mode != VOIDmode,
attempt to handle other expressions. Don't handle TLS SYMBOL_REFs.
(concat_loc_descriptor, concatn_loc_descriptor,
loc_descriptor_from_tree_1): Adjust loc_descriptor callers.
(add_location_or_const_value_attribute): Likewise. For single
location loc_lists attempt to use add_const_value_attribute
for constant decls. Add DW_AT_const_value even if
NOTE_VAR_LOCATION is VAR_LOCATION with CONSTANT_P or CONST_STRING
in its expression.
* cfgbuild.c (inside_basic_block_p): Handle debug insns.
(control_flow_insn_p): Likewise.
* tree-parloops.c (eliminate_local_variables_stmt): Handle debug
stmt.
(separate_decls_in_region_debug_bind): New.
(separate_decls_in_region): Process debug bind stmts afterwards.
* recog.c (verify_changes): Handle debug insns.
(extract_insn): Likewise.
(peephole2_optimize): Skip debug insns.
* dse.c (scan_insn): Skip debug insns.
* sel-sched-ir.c (return_nop_to_pool): Take full_tidying argument.
Pass it on.
(setup_id_for_insn): Handle debug insns.
(maybe_tidy_empty_bb): Adjust whitespace.
(tidy_control_flow): Skip debug insns.
(sel_remove_insn): Adjust for debug insns.
(sel_estimate_number_of_insns): Skip debug insns.
(create_insn_rtx_from_pattern): Handle debug insns.
(create_copy_of_insn_rtx): Likewise.
* sel-sched-.h (sel_bb_end): Declare.
(sel_bb_empty_or_nop_p): New.
(get_all_loop_exits): Use it.
(_eligible_successor_edge_p): Likewise.
(return_nop_to_pool): Adjust.
* tree-eh.c (tre_empty_eh_handler_p): Skip debug stmts.
* ira-lives.c (process_bb_node_lives): Skip debug insns.
* gimple-pretty-print.c (dump_gimple_debug): New.
(dump_gimple_stmt): Use it.
(dump_bb_header): Skip gimple debug stmts.
* regmove.c (optimize_reg_copy_1): Discount debug insns.
(fixup_match_2): Likewise.
(regmove_backward_pass): Likewise. Simplify combined
replacement. Handle debug insns.
* function.c (instantiate_virtual_regs): Handle debug insns.
* function.h (struct emit_status): Add x_cur_debug_insn_uid.
* print-rtl.h: Include cselib.h.
(print_rtx): Print VALUEs. Split out and recurse for
VAR_LOCATIONs.
* df.h (df_inns_rescan_debug_internal): Declare.
* gcse.c (alloc_hash_table): Estimate n_insns.
(cprop_insn): Don't regard debug insns as changes.
(bypass_conditional_jumps): Skip debug insns.
(one_pre_gcse_pass): Adjust.
(one_code_hoisting_pass): Likewise.
(compute_ld_motion_mems): Skip debug insns.
(one_cprop_pass): Adjust.
* tree-if-conv.c (tree_if_convert_stmt): Reset debug stmts.
(if_convertible_stmt_p): Handle debug stmts.
* init-regs.c (initialize_uninitialized_regs): Skip debug insns.
* tree-vect-loop.c (vect_is_simple_reduction): Skip debug stmts.
* ira-build.c (create_bb_allocnos): Skip debug insns.
* tree-flow-inline.h (has_zero_uses): Discount debug stmts.
(has_single_use): Likewise.
(single_imm_use): Likewise.
(num_imm_uses): Likewise.
* tree-ssa-phiopt.c (empty_block_p): Skip debug stmts.
* tree-ssa-coalesce.c (build_ssa_conflict_graph): Skip debug stmts.
(create_outofssa_var_map): Likewise.
* lower-subreg.c (adjust_decomposed_uses): New.
(resolve_debug): New.
(decompose_multiword_subregs): Use it.
* tree-dfa.c (find_referenced_vars): Skip debug stmts.
* emit-rtl.c: Include params.h.
(cur_debug_insn_uid): Define.
(set_new_first_and_last_insn): Set cur_debug_insn_uid too.
(copy_rtx_if_shared_1): Handle debug insns.
(reset_used_flags): Likewise.
(set_used_flags): LIkewise.
(get_max_insn_count): New.
(next_nondebug_insn): New.
(prev_nondebug_insn): New.
(make_debug_insn_raw): New.
(emit_insn_before_noloc): Handle debug insns.
(emit_jump_insn_before_noloc): Likewise.
(emit_call_insn_before_noloc): Likewise.
(emit_debug_insn_before_noloc): New.
(emit_insn_after_noloc): Handle debug insns.
(emit_jump_insn_after_noloc): Likewise.
(emit_call_insn_after_noloc): Likewise.
(emit_debug_insn_after_noloc): Likewise.
(emit_insn_after): Take loc from earlier non-debug insn.
(emit_jump_insn_after): Likewise.
(emit_call_insn_after): Likewise.
(emit_debug_insn_after_setloc): New.
(emit_debug_insn_after): New.
(emit_insn_before): Take loc from later non-debug insn.
(emit_jump_insn_before): Likewise.
(emit_call_insn_before): Likewise.
(emit_debug_insn_before_setloc): New.
(emit_debug_insn_before): New.
(emit_insn): Handle debug insns.
(emit_debug_insn): New.
(emit_jump_insn): Handle debug insns.
(emit_call_insn): Likewise.
(emit): Likewise.
(init_emit): Take min-nondebug-insn-uid into account.
Initialize cur_debug_insn_uid.
(emit_copy_of_insn_after): Handle debug insns.
* cfgexpand.c (gimple_assign_rhs_to_tree): Do not overwrite
location of single rhs in place.
(maybe_dump_rtl_for_gimple_stmt): Dump lineno.
(floor_sdiv_adjust): New.
(cell_sdiv_adjust): New.
(cell_udiv_adjust): New.
(round_sdiv_adjust): New.
(round_udiv_adjust): New.
(wrap_constant): Moved from cselib.
(unwrap_constant): New.
(expand_debug_expr): New.
(expand_debug_locations): New.
(expand_gimple_basic_block): Drop hiding redeclaration. Expand
debug bind stmts.
(gimple_expand_cfg): Expand debug locations.
* cselib.c: Include tree-pass.h.
(struct expand_value_data): New.
(cselib_record_sets_hook): New.
(PRESERVED_VALUE_P, LONG_TERM_PRESERVED_VALUE_P): New.
(cselib_clear_table): Move, and implemnet in terms of...
(cselib_reset_table_with_next_value): ... this.
(cselib_get_next_unknown_value): New.
(discard_useless_locs): Don't discard preserved values.
(cselib_preserve_value): New.
(cselib_preserved_value_p): New.
(cselib_preserve_definitely): New.
(cselib_clear_preserve): New.
(cselib_preserve_only_values): New.
(new_cselib_val): Take rtx argument. Dump it in details.
(cselib_lookup_mem): Adjust.
(expand_loc): Take regs_active in struct. Adjust. Silence
dumps unless details are requested.
(cselib_expand_value_rtx_cb): New.
(cselib_expand_value_rtx): Rename and reimplment in terms of...
(cselib_expand_value_rtx_1): ... this. Adjust. Silence dumps
without details. Copy more subregs. Try to resolve values
using a callback. Wrap constants.
(cselib_subst_to_values): Adjust.
(cselib_log_lookup): New.
(cselib_lookup): Call it.
(cselib_invalidate_regno): Don't count preserved values as
useless.
(cselib_invalidate_mem): Likewise.
(cselib_record_set): Likewise.
(struct set): Renamed to cselib_set, moved to cselib.h.
(cselib_record_sets): Adjust. Call hook.
(cselib_process_insn): Reset table when it would be cleared.
(dump_cselib_val): New.
(dump_cselib_table): New.
* tree-cfgcleanup.c (tree_forwarded_block_p): Skip debug stmts.
(remove_forwarder_block): Support moving debug stmts.
* cselib.h (cselib_record_sets_hook): Declare.
(cselib_expand_callback): New type.
(cselib_expand_value_rtx_cb): Declare.
(cselib_reset_table_with_next_value): Declare.
(cselib_get_next_unknown_value): Declare.
(cselib_preserve_value): Declare.
(cselib_preserved_value_p): Declare.
(cselib_preserve_only_values): Declare.
(dump_cselib_table): Declare.
* cfgcleanup.c (flow_find_cross_jump): Skip debug insns.
(try_crossjump_to_edge): Likewise.
(delete_unreachable_blocks): Remove dominant GIMPLE blocks after
dominated blocks when debug stmts are present.
* simplify-rtx.c (delegitimize_mem_from_attrs): New.
* tree-ssa-live.c (remove_unused_locals): Skip debug stmts.
(set_var_live_on_entry): Likewise.
* loop-invariant.c (find_invariants_bb): Skip debug insns.
* cfglayout.c (curr_location, last_location): Make static.
(set_curr_insn_source_location): Don't avoid bouncing.
(get_curr_insn_source_location): New.
(get_curr_insn_block): New.
(duplicate_insn_chain): Handle debug insns.
* tree-ssa-forwprop.c (forward_propagate_addr_expr): Propagate
into debug stmts.
* common.opt (fcompare-debug): Move to sort order.
(fdump-unnumbered-links): Likewise.
(fvar-tracking-assignments): New.
(fvar-tracking-assignments-toggle): New.
* tree-ssa-dce.c (mark_stmt_necessary): Don't mark blocks
because of debug stmts.
(mark_stmt_if_obviously_necessary): Mark debug stmts.
(eliminate_unnecessary_stmts): Walk dominated blocks before
dominators.
* tree-ssa-ter.c (find_replaceable_in_bb): Skip debug stmts.
* ira.c (memref_used_between_p): Skip debug insns.
(update_equiv_regs): Likewise.
* sched-deps.c (sd_lists_size): Accept empty list.
(sd_init_insn): Mark debug insns.
(sd_finish_insn): Unmark them.
(sd_add_dep): Reject non-debug deps on debug insns.
(fixup_sched_groups): Give debug insns group treatment.
Skip debug insns.
(sched_analyze_reg): Don't mark debug insns for sched before call.
(sched_analyze_2): Handle debug insns.
(sched_analyze_insn): Compute next non-debug insn. Handle debug
insns.
(deps_analyze_insn): Handle debug insns.
(deps_start_bb): Skip debug insns.
(init_deps): Initialize last_debug_insn.
* tree-ssa.c (target_for_debug_bind): New.
(find_released_ssa_name): New.
(propagate_var_def_into_debug_stmts): New.
(propagate_defs_into_debug_stmts): New.
(verify_ssa): Skip debug bind stmts without values.
(warn_uninialized_vars): Skip debug stmts.
* target-def.h (TARGET_DELEGITIMIZE_ADDRESS): Set default.
* rtl.c (rtx_equal_p_cb): Handle VALUEs.
(rtx_equal_p): Likewise.
* ira-costs.c (scan_one_insn): Skip debug insns.
(process_bb_node_for_hard_reg_moves): Likewise.
* rtl.h (DEBUG_INSN_P): New.
(NONDEBUG_INSN_P): New.
(MAY_HAVE_DEBUG_INSNS): New.
(INSN_P): Accept debug insns.
(RTX_FRAME_RELATED_P): Likewise.
(INSN_DELETED_P): Likewise
(PAT_VAR_LOCATION_DECL): New.
(PAT_VAR_LOCATION_LOC): New.
(PAT_VAR_OCATION_STATUS): New.
(NOTE_VAR_LOCATION_DECL): Reimplement.
(NOTE_VAR_LOCATION_LOC): Likewise.
(NOTE_VAR_LOCATION_STATUS): Likewise.
(INSN_VAR_LOCATION): New.
(INSN_VAR_LOCATION_DECL): New.
(INSN_VAR_LOCATION_LOC): New.
(INSN_VAR_LOCATION_STATUS): New.
(gen_rtx_UNKNOWN_VAR_LOC): New.
(VAR_LOC_UNKNOWN_P): New.
(NOTE_DURING_CALL_P): New.
(SCHED_GROUP_P): Accept debug insns.
(emit_debug_insn_before): Declare.
(emit_debug_insn_before_noloc): Declare.
(emit_debug_insn_beore_setloc): Declare.
(emit_debug_insn_after): Declare.
(emit_debug_insn_after_noloc): Declare.
(emit_debug_insn_after_setloc): Declare.
(emit_debug_insn): Declare.
(make_debug_insn_raw): Declare.
(prev_nondebug_insn): Declare.
(next_nondebug_insn): Declare.
(delegitimize_mem_from_attrs): Declare.
(get_max_insn_count): Declare.
(wrap_constant): Declare.
(unwrap_constant): Declare.
(get_curr_insn_source_location): Declare.
(get_curr_insn_block): Declare.
* tree-inline.c (insert_debug_decl_map): New.
(processing_debug_stmt): New.
(remap_decl): Don't create new mappings in debug stmts.
(remap_gimple_op_r): Don't add references in debug stmts.
(copy_tree_body_r): Likewise.
(remap_gimple_stmt): Handle debug bind stmts.
(copy_bb): Skip debug stmts.
(copy_edges_for_bb): Likewise.
(copy_debug_stmt): New.
(copy_debug_stmts): New.
(copy_body): Copy debug stmts at the end.
(insert_init_debug_bind): New.
(insert_init_stmt): Take id. Skip and emit debug stmts.
(setup_one_parameter): Remap variable earlier, register debug
mapping.
(estimate_num_insns): Skip debug stmts.
(expand_call_inline): Preserve debug_map.
(optimize_inline_calls): Check for no debug_stmts left-overs.
(unsave_expr_now): Preserve debug_map.
(copy_gimple_seq_and_replace_locals): Likewise.
(tree_function_versioning): Check for no debug_stmts left-overs.
Init and destroy debug_map as needed. Split edges unconditionally.
(build_duplicate_type): Init and destroy debug_map as needed.
* tree-inline.h: Include gimple.h instead of pointer-set.h.
(struct copy_body_data): Add debug_stmts and debug_map.
* sched-int.h (struct ready_list): Add n_debug.
(struct deps): Add last_debug_insn.
(DEBUG_INSN_SCHED_P): New.
(BOUNDARY_DEBUG_INSN_P): New.
(SCHEDULE_DEBUG_INSN_P): New.
(sd_iterator_cond): Accept empty list.
* combine.c (create_log_links): Skip debug insns.
(combine_instructions): Likewise.
(cleanup_auto_inc_dec): New. From Jakub Jelinek: Make sure the
return value is always unshared.
(struct rtx_subst_pair): New.
(auto_adjust_pair): New.
(propagate_for_debug_subst): New.
(propagate_for_debug): New.
(try_combine): Skip debug insns. Propagate removed defs into
debug insns.
(next_nonnote_nondebug_insn): New.
(distribute_notes): Use it. Skip debug insns.
(distribute_links): Skip debug insns.
* tree-outof-ssa.c (set_location_for_edge): Likewise.
* resource.c (mark_target_live_regs): Likewise.
* var-tracking.c: Include cselib.h and target.h.
(enum micro_operation_type): Add MO_VAL_USE, MO_VAL_LOC, and
MO_VAL_SET.
(micro_operation_type_name): New.
(enum emit_note_where): Add EMIT_NOTE_AFTER_CALL_INSN.
(struct micro_operation_def): Update comments.
(decl_or_value): New type. Use instead of decls.
(struct emit_note_data_def): Add vars.
(struct attrs_def): Use decl_or_value.
(struct variable_tracking_info_def): Add permp, flooded.
(struct location_chain_def): Update comment.
(struct variable_part_def): Use decl_or_value.
(struct variable_def): Make var_part a variable length array.
(valvar_pool): New.
(scratch_regs): New.
(cselib_hook_called): New.
(dv_is_decl_p): New.
(dv_is_value_p): New.
(dv_as_decl): New.
(dv_as_value): New.
(dv_as_opaque): New.
(dv_onepart_p): New.
(dv_pool): New.
(IS_DECL_CODE): New.
(check_value_is_not_decl): New.
(dv_from_decl): New.
(dv_from_value): New.
(dv_htab_hash): New.
(variable_htab_hash): Use it.
(variable_htab_eq): Support values.
(variable_htab_free): Free from the right pool.
(attrs_list_member, attrs_list_insert): Use decl_or_value.
(attrs_list_union): Adjust.
(attrs_list_mpdv_union): New.
(tie_break_pointers): New.
(canon_value_cmp): New.
(unshare_variable): Return possibly-modified slot.
(vars_copy_1): Adjust.
(var_reg_decl_set): Adjust. Split out of...
(var_reg_set): ... this.
(get_init_value): Adjust.
(var_reg_delete_and_set): Adjust.
(var_reg_delete): Adjust.
(var_regno_delete): Adjust.
(var_mem_decl_set): Split out of...
(var_mem_set): ... this.
(var_mem_delete_and_set): Adjust.
(var_mem_delete): Adjust.
(val_store): New.
(val_reset): New.
(val_resolve): New.
(variable_union): Adjust. Speed up merge of 1-part vars.
(variable_canonicalize): Use unshared slot.
(VALUED_RECURSED_INTO): New.
(find_loc_in_1pdv): New.
(struct dfset_merge): New.
(insert_into_intersection): New.
(intersect_loc_chains): New.
(loc_cmp): New.
(canonicalize_loc_order_check): New.
(canonicalize_values_mark): New.
(canonicalize_values_star): New.
(variable_merge_over_cur): New.
(variable_merge_over_src): New.
(dataflow_set_merge): New.
(dataflow_set_equiv_regs): New.
(remove_duplicate_values): New.
(struct dfset_post_merge): New.
(variable_post_merge_new_vals): New.
(variable_post_merge_perm_vals): New.
(dataflow_post_merge_adjust): New.
(find_mem_expr_in_1pdv): New.
(dataflow_set_preserve_mem_locs): New.
(dataflow_set_remove_mem_locs): New.
(dataflow_set_clear_at_call): New.
(onepart_variable_different_p): New.
(variable_different_p): Use it.
(dataflow_set_different_1): Adjust. Make detailed dump
more verbose.
(track_expr_p): Add need_rtl parameter. Don't generate rtl
if not needed.
(track_loc_p): Pass it true.
(struct count_use_info): New.
(find_use_val): New.
(replace_expr_with_values): New.
(log_op_type): New.
(use_type): New, partially split out of...
(count_uses): ... this. Count new micro-ops.
(count_uses_1): Adjust.
(count_stores): Adjust.
(count_with_sets): New.
(VAL_NEEDS_RESOLUTION): New.
(VAL_HOLDS_TRACK_EXPR): New.
(VAL_EXPR_IS_COPIED): New.
(VAL_EXPR_IS_CLOBBERED): New.
(add_uses): Adjust. Generate new micro-ops.
(add_uses_1): Adjust.
(add_stores): Generate new micro-ops.
(add_with_sets): New.
(find_src_status): Adjust.
(find_src_set_src): Adjust.
(compute_bb_dataflow): Use dataflow_set_clear_at_call.
Handle new micro-ops. Canonicalize value equivalances.
(vt_find_locations): Compute total size of hash tables for
dumping. Perform merge for var-tracking-assignments. Don't
disregard single-block loops.
(dump_attrs_list): Handle decl_or_value.
(dump_variable): Take variable. Deal with decl_or_value.
(dump_variable_slot): New.
(dump_vars): Use it.
(dump_dataflow_sets): Adjust.
(set_slot_part): New, extended to support one-part variables
after splitting out of...
(set_variable_part): ... this.
(clobber_slot_part): New, split out of...
(clobber_variable_part): ... this.
(delete_slot_part): New, split out of...
(delete_variable_part): .... this.
(check_wrap_constant): New.
(vt_expand_loc_callback): New.
(vt_expand_loc): New.
(emit_note_insn_var_location): Adjust. Handle values. Handle
EMIT_NOTE_AFTER_CALL_INSN.
(emit_notes_for_differences_1): Adjust. Handle values.
(emit_notes_for_differences_2): Likewise.
(emit_notes_for_differences): Adjust.
(emit_notes_in_bb): Take pointer to set. Emit AFTER_CALL_INSN
notes. Adjust. Handle new micro-ops.
(vt_add_function_parameters): Adjust. Create and bind values.
(vt_initialize): Adjust. Initialize scratch_regs and
valvar_pool, flooded and perm.. Initialize and use cselib. Log
operations. Move some code to count_with_sets and add_with_sets.
(delete_debug_insns): New.
(vt_debug_insns_local): New.
(vt_finalize): Release permp, valvar_pool, scratch_regs. Finish
cselib.
(var_tracking_main): If var-tracking-assignments is enabled
but var-tracking isn't, delete debug insns and leave. Likewise
if we exceed limits or fail the stack adjustments tests, and
after all var-tracking processing.
More in var-tracking, from Jakub Jelinek <jakub@redhat.com>:
(dataflow_set): Add traversed_vars.
(value_chain, const_value_chain): New typedefs.
(value_chain_pool, value_chains): New variables.
(value_chain_htab_hash, value_chain_htab_eq, add_value_chain,
add_value_chains, add_cselib_value_chains, remove_value_chain,
remove_value_chains, remove_cselib_value_chains): New functions.
(shared_hash_find_slot_unshare_1, shared_hash_find_slot_1,
shared_hash_find_slot_noinsert_1, shared_hash_find_1): New
static inlines.
(shared_hash_find_slot_unshare, shared_hash_find_slot,
shared_hash_find_slot_noinsert, shared_hash_find): Update.
(dst_can_be_shared): New variable.
(unshare_variable): Unshare set->vars if shared, use shared_hash_*.
Clear dst_can_be_shared. If set->traversed_vars is non-NULL and
different from set->vars, look up slot again instead of using the
passed in slot.
(dataflow_set_init): Initialize traversed_vars.
(variable_union): Use shared_hash_*. Use initially NO_INSERT
lookup if set->vars is shared. Don't keep slot cleared before
calling unshare_variable. Unshare set->vars if needed. Adjust
unshare_variable callers. Clear dst_can_be_shared if needed.
Even ->refcount == 1 vars must be unshared if set->vars is shared
and var needs to be modified.
(dataflow_set_union): Set traversed_vars during canonicalization.
(VALUE_CHANGED, DECL_CHANGED): Define.
(set_dv_changed, dv_changed_p): New static inlines.
(track_expr_p): Clear DECL_CHANGED.
(dump_dataflow_sets): Set it.
(variable_was_changed): Call set_dv_changed.
(emit_note_insn_var_location): Likewise.
(changed_variables_stack): New variable.
(check_changed_vars_1, check_changed_vars_2): New functions.
(emit_notes_for_changes): Do nothing if changed_variables is
empty. Traverse changed_variables with check_changed_vars_1,
call check_changed_vars_2 on each changed_variables_stack entry.
(emit_notes_in_bb): Add SET argument. Just clear it at the
beginning, use it instead of local &set, don't destroy it at the
end.
(vt_emit_notes): Call dataflow_set_clear early on all
VTI(bb)->out sets, never use them, instead use emit_notes_in_bb
computed set, dataflow_set_clear also VTI(bb)->in when we are
done with the basic block. Initialize changed_variables_stack,
free it afterwards. If ENABLE_CHECKING verify that after noting
differences to an empty set value_chains hash table is empty.
(vt_initialize): Initialize value_chains and value_chain_pool.
(vt_finalize): Delete value_chains htab, free value_chain_pool.
(variable_tracking_main): Call dump_dataflow_sets before calling
vt_emit_notes, not after it.
* tree-flow.h (propagate_defs_into_debug_stmts): Declare.
(propagate_var_def_into_debug_stmts): Declare.
* df-problems.c (df_lr_bb_local_compute): Skip debug insns.
(df_set_note): Reject debug insns.
(df_whole_mw_reg_dead_p): Take added_notes_p argument. Don't
add notes to debug insns.
(df_note_bb_compute): Adjust. Likewise.
(df_simulate_uses): Skip debug insns.
(df_simulate_initialize_backwards): Likewise.
* reg-stack.c (subst_stack_regs_in_debug_insn): New.
(subst_stack_regs_pat): Reject debug insns.
(convert_regs_1): Handle debug insns.
* Makefile.in (TREE_INLINE_H): Take pointer-set.h from GIMPLE_H.
(print-rtl.o): Depend on cselib.h.
(cselib.o): Depend on TREE_PASS_H.
(var-tracking.o): Depend on cselib.h and TARGET_H.
* sched-rgn.c (rgn_estimate_number_of_insns): Discount
debug insns.
(init_ready_list): Skip boundary debug insns.
(add_branch_dependences): Skip debug insns.
(free_block_dependencies): Check for blocks with only debug
insns.
(compute_priorities): Likewise.
* gimple.c (gss_for_code): Handle GIMPLE_DEBUG.
(gimple_build_with_ops_stat): Take subcode as unsigned. Adjust
all callers.
(gimple_build_debug_bind_stat): New.
(empty_body_p): Skip debug stmts.
(gimple_has_side_effects): Likewise.
(gimple_rhs_has_side_effects): Likewise.
* gimple.h (enum gimple_debug_subcode, GIMPLE_DEBUG_BIND): New.
(gimple_build_debug_bind_stat): Declare.
(gimple_build_debug_bind): Define.
(is_gimple_debug): New.
(gimple_debug_bind_p): New.
(gimple_debug_bind_get_var): New.
(gimple_debug_bind_get_value): New.
(gimple_debug_bind_get_value_ptr): New.
(gimple_debug_bind_set_var): New.
(gimple_debug_bind_set_value): New.
(GIMPLE_DEBUG_BIND_NOVALUE): New internal temporary macro.
(gimple_debug_bind_reset_value): New.
(gimple_debug_bind_has_value_p): New.
(gsi_next_nondebug): New.
(gsi_prev_nondebug): New.
(gsi_start_nondebug_bb): New.
(gsi_last_nondebug_bb): New.
* sched-vis.c (print_pattern): Handle VAR_LOCATION.
(print_insn): Handle DEBUG_INSN.
* tree-cfg.c (remove_bb): Walk stmts backwards. Let loc
of first insn prevail.
(first_stmt): Skip debug stmts.
(first_non_label_stmt): Likewise.
(last_stmt): Likewise.
(has_zero_uses_1): New.
(single_imm_use_1): New.
(verify_gimple_debug): New.
(verify_types_in_gimple_stmt): Handle debug stmts.
(verify_stmt): Likewise.
(debug_loop_num): Skip debug stmts.
(remove_edge_and_dominated_blocks): Remove dominators last.
* tree-ssa-reasssoc.c (rewrite_expr_tree): Propagate into
debug stmts.
(linearize_expr): Likewise.
* config/i386/i386.c (ix86_delegitimize_address): Call
default implementation.
* config/ia64/ia64.c (ia64_safe_itanium_class): Handle debug
insns.
(group_barrier_needed): Skip debug insns.
(emit_insn_group_barriers): Likewise.
(emit_all_insn_group_barriers): Likewise.
(ia64_variable_issue): Handle debug insns.
(ia64_dfa_new_cycle): Likewise.
(final_emit_insn_group_barriers): Skip debug insns.
(ia64_dwarf2out_def_steady_cfa): Take frame argument. Don't
def cfa without frame.
(process_set): Likewise.
(process_for_unwind_directive): Pass frame on.
* config/rs6000/rs6000.c (TARGET_DELEGITIMIZE_ADDRESS): Define.
(rs6000_delegitimize_address): New.
(rs6000_debug_adjust_cost): Handle debug insns.
(is_microcoded_insn): Likewise.
(is_cracked_insn): Likewise.
(is_nonpipeline_insn): Likewise.
(insn_must_be_first_in_group): Likewise.
(insn_must_be_last_in_group): Likewise.
(force_new_group): Likewise.
* cfgrtl.c (rtl_split_block): Emit INSN_DELETED note if block
contains only debug insns.
(rtl_merge_blocks): Skip debug insns.
(purge_dead_edges): Likewise.
(rtl_block_ends_with_call_p): Skip debug insns.
* dce.c (deletable_insn_p): Handle VAR_LOCATION.
(mark_reg_dependencies): Skip debug insns.
* params.def (PARAM_MIN_NONDEBUG_INSN_UID): New.
* tree-ssanames.c (release_ssa_name): Propagate def into
debug stmts.
* tree-ssa-threadedge.c
(record_temporary_equivalences_from_stmts): Skip debug stmts.
* regcprop.c (replace_oldest_value_addr): Skip debug insns.
(replace_oldest_value_mem): Use ALL_REGS for debug insns.
(copyprop_hardreg_forward_1): Handle debug insns.
* reload1.c (reload): Skip debug insns. Replace unassigned
pseudos in debug insns with their equivalences.
(eliminate_regs_in_insn): Skip debug insns.
(emit_input_reload_insns): Skip debug insns at first, adjust
them later.
* tree-ssa-operands.c (add_virtual_operand): Reject debug stmts.
(get_indirect_ref_operands): Pass opf_no_vops on.
(get_expr_operands): Likewise. Skip debug stmts.
(parse_ssa_operands): Scan debug insns with opf_no_vops.
gcc/testsuite/ChangeLog:
* gcc.dg/guality/guality.c: New.
* gcc.dg/guality/guality.h: New.
* gcc.dg/guality/guality.exp: New.
* gcc.dg/guality/example.c: New.
* lib/gcc-dg.exp (cleanup-dump): Remove .gk files.
(cleanup-saved-temps): Likewise, .gkd files too.
gcc/cp/ChangeLog:
* cp-tree.h (TFF_NO_OMIT_DEFAULT_TEMPLATE_ARGUMENTS): New.
* cp-lang.c (cxx_dwarf_name): Pass it.
* error.c (count_non_default_template_args): Take flags as
argument. Adjust all callers. Skip counting of default
arguments if the new flag is given.
ChangeLog:
* Makefile.tpl (BUILD_CONFIG): Default to bootstrap-debug.
* Makefile.in: Rebuilt.
contrib/ChangeLog:
* compare-debug: Look for .gkd files and compare them.
config/ChangeLog:
* bootstrap-debug.mk: Add comments.
* bootstrap-debug-big.mk: New.
* bootstrap-debug-lean.mk: New.
* bootstrap-debug-ckovw.mk: Add comments.
* bootstrap-debug-lib.mk: Drop CFLAGS for stages. Use -g0
for TFLAGS in stage1. Drop -fvar-tracking-assignments-toggle.
From-SVN: r151312
2009-09-02 04:42:21 +02:00
|
|
|
Verifies that the compiler generates the same executable code, whether
|
2009-09-03 07:55:57 +02:00
|
|
|
or not it is asked to emit debug information. To this end, this
|
|
|
|
option builds stage2 host programs without debug information, and uses
|
invoke.texi (-fvar-tracking-assignments): New.
gcc/ChangeLog:
* doc/invoke.texi (-fvar-tracking-assignments): New.
(-fvar-tracking-assignments-toggle): New.
(-fdump-final-insns=file): Mark filename as optional.
(--param min-nondebug-insn-uid): New.
(-gdwarf-@{version}): Mention version 4.
* opts.c (common_handle_option): Accept it.
* tree-vrp.c (find_assert_locations_1): Skip debug stmts.
* regrename.c (regrename_optimize): Drop last. Don't count debug
insns as uses. Don't reject change because of debug insn.
(do_replace): Reject DEBUG_INSN as chain starter. Take base_regno
from the chain starter, and check for inexact matches in
DEBUG_INSNS.
(scan_rtx_reg): Accept inexact matches in DEBUG_INSNs.
(build_def_use): Simplify and fix the marking of DEBUG_INSNs.
* sched-ebb.c (schedule_ebbs): Skip boundary debug insns.
* fwprop.c (forward_propagate_and_simplify): ...into debug insns.
* doc/gimple.texi (is_gimple_debug): New.
(gimple_debug_bind_p): New.
(is_gimple_call, gimple_assign_cast_p): End sentence with period.
* doc/install.texi (bootstrap-debug): More details.
(bootstrap-debug-big, bootstrap-debug-lean): Document.
(bootstrap-debug-lib): More details.
(bootstrap-debug-ckovw): Update.
(bootstrap-time): New.
* tree-into-ssa.c (mark_def_sites): Skip debug stmts.
(insert_phi_nodes_for): Insert debug stmts.
(rewrite_stmt): Take iterator. Insert debug stmts.
(rewrite_enter_block): Adjust.
(maybe_replace_use_in_debug_stmt): New.
(rewrite_update_stmt): Use it.
(mark_use_interesting): Return early for debug stmts.
* tree-ssa-loop-im.c (rewrite_bittest): Propagate DEFs into debug
stmts before replacing stmt.
(move_computations_stmt): Likewise.
* ira-conflicts.c (add_copies): Skip debug insns.
* regstat.c (regstat_init_n_sets_and_refs): Discount debug insns.
(regstat_bb_compute_ri): Skip debug insns.
* tree-ssa-threadupdate.c (redirection_block_p): Skip debug stmts.
* tree-ssa-loop-manip.c (find_uses_to_rename_stmt,
check_loop_closed_ssa_stmt): Skip debug stmts.
* tree-tailcall.c (find_tail_calls): Likewise.
* tree-ssa-loop-ch.c (should_duplicate_loop_header_p): Likewise.
* tree.h (MAY_HAVE_DEBUG_STMTS): New.
(build_var_debug_value_stat): Declare.
(build_var_debug_value): Define.
(target_for_debug_bind): Declare.
* reload.c (find_equiv_reg): Skip debug insns.
* rtlanal.c (reg_used_between_p): Skip debug insns.
(side_effects_p): Likewise.
(canonicalize_condition): Likewise.
* ddg.c (create_ddg_dep_from_intra_loop_link): Check that non-debug
insns never depend on debug insns.
(create_ddg_dep_no_link): Likewise.
(add_cross_iteration_register_deps): Use ANTI_DEP for debug insns.
Don't add inter-loop dependencies for debug insns.
(build_intra_loop_deps): Likewise.
(create_ddg): Count debug insns.
* ddg.h (struct ddg::num_debug): New.
(num_backargs): Pair up with previous int field.
* diagnostic.c (diagnostic_report_diagnostic): Skip notes on
-fcompare-debug-second.
* final.c (get_attr_length_1): Skip debug insns.
(rest_of_clean-state): Don't dump CFA_RESTORE_STATE.
* gcc.c (invoke_as): Call compare-debug-dump-opt.
(driver_self_specs): Map -fdump-final-insns to
-fdump-final-insns=..
(get_local_tick): New.
(compare_debug_dump_opt_spec_function): Test for . argument and
compute output name. Compute temp output spec without flag name.
Compute -frandom-seed.
(OPT): Undef after use.
* cfgloopanal.c (num_loop_insns): Skip debug insns.
(average_num_loop_insns): Likewise.
* params.h (MIN_NONDEBUG_INSN_UID): New.
* gimple.def (GIMPLE_DEBUG): New.
* ipa-reference.c (scan_stmt_for_static_refs): Skip debug stmts.
* auto-inc-dec.c (merge_in_block): Skip debug insns.
(merge_in_block): Fix whitespace.
* toplev.c (flag_var_tracking): Update comment.
(flag_var_tracking_assignments): New.
(flag_var_tracking_assignments_toggle): New.
(process_options): Don't open final insns dump file if we're not
going to write to it. Compute defaults for var_tracking.
* df-scan.c (df_insn_rescan_debug_internal): New.
(df_uses_record): Handle debug insns.
* haifa-sched.c (ready): Initialize n_debug.
(contributes_to_priority): Skip debug insns.
(dep_list_size): New.
(priority): Use it.
(rank_for_schedule): Likewise. Schedule debug insns as soon as
they're ready. Disregard previous debug insns to make decisions.
(queue_insn): Never queue debug insns.
(ready_add, ready_remove_first, ready_remove): Count debug insns.
(schedule_insn): Don't reject debug insns because of issue rate.
(get_ebb_head_tail, no_real_insns_p): Skip boundary debug insns.
(queue_to_ready): Skip and discount debug insns.
(choose_ready): Let debug insns through.
(schedule_block): Check boundary debug insns. Discount debug
insns, schedule them early. Adjust whitespace.
(set_priorities): Check for boundary debug insns.
(add_jump_dependencies): Use dep_list_size.
(prev_non_location_insn): New.
(check_cfg): Use it.
* tree-ssa-loop-ivopts.c (find-interesting_users): Skip debug
stmts.
(remove_unused_ivs): Reset debug stmts.
* modulo-sched.c (const_iteration_count): Skip debug insns.
(res_MII): Discount debug insns.
(loop_single_full_bb_p): Skip debug insns.
(sms_schedule): Likewise.
(sms_schedule_by_order): Likewise.
(ps_has_conflicts): Likewise.
* caller-save.c (refmarker_fn): New.
(save_call_clobbered_regs): Replace regs with saved mem in
debug insns.
(mark_referenced_regs): Take pointer, mark and arg. Adjust.
Call refmarker_fn mark for hardregnos.
(mark_reg_as_referenced): New.
(replace_reg_with_saved_mem): New.
* ipa-pure-const.c (check_stmt): Skip debug stmts.
* cse.c (cse_insn): Canonicalize debug insns. Skip them when
searching back.
(cse_extended_basic_block): Skip debug insns.
(count_reg_usage): Likewise.
(is_dead_reg): New, split out of...
(set_live_p): ... here.
(insn_live_p): Use it for debug insns.
* tree-stdarg.c (check_all_va_list_escapes): Skip debug stmts.
(execute_optimize_stdarg): Likewise.
* tree-ssa-dom.c (propagate_rhs_into_lhs): Likewise.
* tree-ssa-propagate.c (substitute_and_fold): Don't regard
changes in debug stmts as changes.
* sel-sched.c (moving_insn_creates_bookkeeping_block_p): New.
(moveup_expr): Don't move across debug insns. Don't move
debug insn if it would create a bookkeeping block.
(moveup_expr_cached): Don't use cache for debug insns that
are heads of blocks.
(compute_av_set_inside_bb): Skip debug insns.
(sel_rank_for_schedule): Schedule debug insns first. Remove
dead code.
(block_valid_for_bookkeeping_p); Support lax searches.
(create_block_for_bookkeeping): Adjust block numbers when
encountering debug-only blocks.
(find_place_for_bookkeeping): Deal with debug-only blocks.
(generate_bookkeeping_insn): Accept no place to insert.
(remove_temp_moveop_nops): New argument full_tidying.
(prepare_place_to_insert): Deal with debug insns.
(advance_state_on_fence): Debug insns don't start cycles.
(update_boundaries): Take fence as argument. Deal with
debug insns.
(schedule_expr_on_boundary): No full_tidying on debug insns.
(fill_insns): Deal with debug insns.
(track_scheduled_insns_and_blocks): Don't count debug insns.
(need_nop_to_preserve_insn_bb): New, split out of...
(remove_insn_from_stream): ... this.
(fur_orig_expr_not_found): Skip debug insns.
* rtl.def (VALUE): Move up.
(DEBUG_INSN): New.
* tree-ssa-sink.c (all_immediate_uses_same_place): Skip debug
stmts.
(nearest_common_dominator_of_uses): Take debug_stmts argument.
Set it if debug stmts are found.
(statement_sink_location): Skip debug stmts. Propagate
moving defs into debug stmts.
* ifcvt.c (first_active_insn): Skip debug insns.
(last_active_insns): Likewise.
(cond_exec_process_insns): Likewise.
(noce_process_if_block): Likewise.
(check_cond_move_block): Likewise.
(cond_move_convert_if_block): Likewise.
(block_jumps_and_fallthru_p): Likewise.
(dead_or_predicable): Likewise.
* dwarf2out.c (debug_str_hash_forced): New.
(find_AT_string): Add comment.
(gen_label_for_indirect_string): New.
(get_debug_string_label): New.
(AT_string_form): Use it.
(mem_loc_descriptor): Handle non-TLS symbols. Handle MINUS , DIV,
MOD, AND, IOR, XOR, NOT, ABS, NEG, and CONST_STRING. Accept but
discard COMPARE, IF_THEN_ELSE, ROTATE, ROTATERT, TRUNCATE and
several operations that cannot be represented with DWARF opcodes.
(loc_descriptor): Ignore SIGN_EXTEND and ZERO_EXTEND. Require
dwarf_version 4 for DW_OP_implicit_value and DW_OP_stack_value.
(dwarf2out_var_location): Take during-call mark into account.
(output_indirect_string): Update comment. Output if there are
label and references.
(prune_indirect_string): New.
(prune_unused_types): Call it if debug_str_hash_forced.
More in dwarf2out.c, from Jakub Jelinek <jakub@redhat.com>:
(dw_long_long_const): Remove.
(struct dw_val_struct): Change val_long_long type to rtx.
(print_die, attr_checksum, same_dw_val_p, loc_descriptor): Adjust for
val_long_long change to CONST_DOUBLE rtx from a long hi/lo pair.
(output_die): Likewise. Use HOST_BITS_PER_WIDE_INT size of each
component instead of HOST_BITS_PER_LONG.
(output_loc_operands): Likewise. For const8* assert
HOST_BITS_PER_WIDE_INT rather than HOST_BITS_PER_LONG is >= 64.
(output_loc_operands_raw): For const8* assert HOST_BITS_PER_WIDE_INT
rather than HOST_BITS_PER_LONG is >= 64.
(add_AT_long_long): Remove val_hi and val_lo arguments, add
val_const_double.
(size_of_die): Use HOST_BITS_PER_WIDE_INT size multiplier instead of
HOST_BITS_PER_LONG for dw_val_class_long_long.
(add_const_value_attribute): Adjust add_AT_long_long caller. Don't
handle TLS SYMBOL_REFs. If CONST wraps a constant, tail recurse.
(dwarf_stack_op_name): Handle DW_OP_implicit_value and
DW_OP_stack_value.
(size_of_loc_descr, output_loc_operands, output_loc_operands_raw):
Handle DW_OP_implicit_value.
(extract_int): Move prototype earlier.
(mem_loc_descriptor): For SUBREG punt if inner
mode size is wider than DWARF2_ADDR_SIZE. Handle SIGN_EXTEND
and ZERO_EXTEND by DW_OP_shl and DW_OP_shr{a,}. Handle
EQ, NE, GT, GE, LT, LE, GTU, GEU, LTU, LEU, SMIN, SMAX, UMIN,
UMAX, SIGN_EXTRACT, ZERO_EXTRACT.
(loc_descriptor): Compare mode size with DWARF2_ADDR_SIZE
instead of Pmode size.
(loc_descriptor): Add MODE argument. Handle CONST_INT, CONST_DOUBLE,
CONST_VECTOR, CONST, LABEL_REF and SYMBOL_REF if mode != VOIDmode,
attempt to handle other expressions. Don't handle TLS SYMBOL_REFs.
(concat_loc_descriptor, concatn_loc_descriptor,
loc_descriptor_from_tree_1): Adjust loc_descriptor callers.
(add_location_or_const_value_attribute): Likewise. For single
location loc_lists attempt to use add_const_value_attribute
for constant decls. Add DW_AT_const_value even if
NOTE_VAR_LOCATION is VAR_LOCATION with CONSTANT_P or CONST_STRING
in its expression.
* cfgbuild.c (inside_basic_block_p): Handle debug insns.
(control_flow_insn_p): Likewise.
* tree-parloops.c (eliminate_local_variables_stmt): Handle debug
stmt.
(separate_decls_in_region_debug_bind): New.
(separate_decls_in_region): Process debug bind stmts afterwards.
* recog.c (verify_changes): Handle debug insns.
(extract_insn): Likewise.
(peephole2_optimize): Skip debug insns.
* dse.c (scan_insn): Skip debug insns.
* sel-sched-ir.c (return_nop_to_pool): Take full_tidying argument.
Pass it on.
(setup_id_for_insn): Handle debug insns.
(maybe_tidy_empty_bb): Adjust whitespace.
(tidy_control_flow): Skip debug insns.
(sel_remove_insn): Adjust for debug insns.
(sel_estimate_number_of_insns): Skip debug insns.
(create_insn_rtx_from_pattern): Handle debug insns.
(create_copy_of_insn_rtx): Likewise.
* sel-sched-.h (sel_bb_end): Declare.
(sel_bb_empty_or_nop_p): New.
(get_all_loop_exits): Use it.
(_eligible_successor_edge_p): Likewise.
(return_nop_to_pool): Adjust.
* tree-eh.c (tre_empty_eh_handler_p): Skip debug stmts.
* ira-lives.c (process_bb_node_lives): Skip debug insns.
* gimple-pretty-print.c (dump_gimple_debug): New.
(dump_gimple_stmt): Use it.
(dump_bb_header): Skip gimple debug stmts.
* regmove.c (optimize_reg_copy_1): Discount debug insns.
(fixup_match_2): Likewise.
(regmove_backward_pass): Likewise. Simplify combined
replacement. Handle debug insns.
* function.c (instantiate_virtual_regs): Handle debug insns.
* function.h (struct emit_status): Add x_cur_debug_insn_uid.
* print-rtl.h: Include cselib.h.
(print_rtx): Print VALUEs. Split out and recurse for
VAR_LOCATIONs.
* df.h (df_inns_rescan_debug_internal): Declare.
* gcse.c (alloc_hash_table): Estimate n_insns.
(cprop_insn): Don't regard debug insns as changes.
(bypass_conditional_jumps): Skip debug insns.
(one_pre_gcse_pass): Adjust.
(one_code_hoisting_pass): Likewise.
(compute_ld_motion_mems): Skip debug insns.
(one_cprop_pass): Adjust.
* tree-if-conv.c (tree_if_convert_stmt): Reset debug stmts.
(if_convertible_stmt_p): Handle debug stmts.
* init-regs.c (initialize_uninitialized_regs): Skip debug insns.
* tree-vect-loop.c (vect_is_simple_reduction): Skip debug stmts.
* ira-build.c (create_bb_allocnos): Skip debug insns.
* tree-flow-inline.h (has_zero_uses): Discount debug stmts.
(has_single_use): Likewise.
(single_imm_use): Likewise.
(num_imm_uses): Likewise.
* tree-ssa-phiopt.c (empty_block_p): Skip debug stmts.
* tree-ssa-coalesce.c (build_ssa_conflict_graph): Skip debug stmts.
(create_outofssa_var_map): Likewise.
* lower-subreg.c (adjust_decomposed_uses): New.
(resolve_debug): New.
(decompose_multiword_subregs): Use it.
* tree-dfa.c (find_referenced_vars): Skip debug stmts.
* emit-rtl.c: Include params.h.
(cur_debug_insn_uid): Define.
(set_new_first_and_last_insn): Set cur_debug_insn_uid too.
(copy_rtx_if_shared_1): Handle debug insns.
(reset_used_flags): Likewise.
(set_used_flags): LIkewise.
(get_max_insn_count): New.
(next_nondebug_insn): New.
(prev_nondebug_insn): New.
(make_debug_insn_raw): New.
(emit_insn_before_noloc): Handle debug insns.
(emit_jump_insn_before_noloc): Likewise.
(emit_call_insn_before_noloc): Likewise.
(emit_debug_insn_before_noloc): New.
(emit_insn_after_noloc): Handle debug insns.
(emit_jump_insn_after_noloc): Likewise.
(emit_call_insn_after_noloc): Likewise.
(emit_debug_insn_after_noloc): Likewise.
(emit_insn_after): Take loc from earlier non-debug insn.
(emit_jump_insn_after): Likewise.
(emit_call_insn_after): Likewise.
(emit_debug_insn_after_setloc): New.
(emit_debug_insn_after): New.
(emit_insn_before): Take loc from later non-debug insn.
(emit_jump_insn_before): Likewise.
(emit_call_insn_before): Likewise.
(emit_debug_insn_before_setloc): New.
(emit_debug_insn_before): New.
(emit_insn): Handle debug insns.
(emit_debug_insn): New.
(emit_jump_insn): Handle debug insns.
(emit_call_insn): Likewise.
(emit): Likewise.
(init_emit): Take min-nondebug-insn-uid into account.
Initialize cur_debug_insn_uid.
(emit_copy_of_insn_after): Handle debug insns.
* cfgexpand.c (gimple_assign_rhs_to_tree): Do not overwrite
location of single rhs in place.
(maybe_dump_rtl_for_gimple_stmt): Dump lineno.
(floor_sdiv_adjust): New.
(cell_sdiv_adjust): New.
(cell_udiv_adjust): New.
(round_sdiv_adjust): New.
(round_udiv_adjust): New.
(wrap_constant): Moved from cselib.
(unwrap_constant): New.
(expand_debug_expr): New.
(expand_debug_locations): New.
(expand_gimple_basic_block): Drop hiding redeclaration. Expand
debug bind stmts.
(gimple_expand_cfg): Expand debug locations.
* cselib.c: Include tree-pass.h.
(struct expand_value_data): New.
(cselib_record_sets_hook): New.
(PRESERVED_VALUE_P, LONG_TERM_PRESERVED_VALUE_P): New.
(cselib_clear_table): Move, and implemnet in terms of...
(cselib_reset_table_with_next_value): ... this.
(cselib_get_next_unknown_value): New.
(discard_useless_locs): Don't discard preserved values.
(cselib_preserve_value): New.
(cselib_preserved_value_p): New.
(cselib_preserve_definitely): New.
(cselib_clear_preserve): New.
(cselib_preserve_only_values): New.
(new_cselib_val): Take rtx argument. Dump it in details.
(cselib_lookup_mem): Adjust.
(expand_loc): Take regs_active in struct. Adjust. Silence
dumps unless details are requested.
(cselib_expand_value_rtx_cb): New.
(cselib_expand_value_rtx): Rename and reimplment in terms of...
(cselib_expand_value_rtx_1): ... this. Adjust. Silence dumps
without details. Copy more subregs. Try to resolve values
using a callback. Wrap constants.
(cselib_subst_to_values): Adjust.
(cselib_log_lookup): New.
(cselib_lookup): Call it.
(cselib_invalidate_regno): Don't count preserved values as
useless.
(cselib_invalidate_mem): Likewise.
(cselib_record_set): Likewise.
(struct set): Renamed to cselib_set, moved to cselib.h.
(cselib_record_sets): Adjust. Call hook.
(cselib_process_insn): Reset table when it would be cleared.
(dump_cselib_val): New.
(dump_cselib_table): New.
* tree-cfgcleanup.c (tree_forwarded_block_p): Skip debug stmts.
(remove_forwarder_block): Support moving debug stmts.
* cselib.h (cselib_record_sets_hook): Declare.
(cselib_expand_callback): New type.
(cselib_expand_value_rtx_cb): Declare.
(cselib_reset_table_with_next_value): Declare.
(cselib_get_next_unknown_value): Declare.
(cselib_preserve_value): Declare.
(cselib_preserved_value_p): Declare.
(cselib_preserve_only_values): Declare.
(dump_cselib_table): Declare.
* cfgcleanup.c (flow_find_cross_jump): Skip debug insns.
(try_crossjump_to_edge): Likewise.
(delete_unreachable_blocks): Remove dominant GIMPLE blocks after
dominated blocks when debug stmts are present.
* simplify-rtx.c (delegitimize_mem_from_attrs): New.
* tree-ssa-live.c (remove_unused_locals): Skip debug stmts.
(set_var_live_on_entry): Likewise.
* loop-invariant.c (find_invariants_bb): Skip debug insns.
* cfglayout.c (curr_location, last_location): Make static.
(set_curr_insn_source_location): Don't avoid bouncing.
(get_curr_insn_source_location): New.
(get_curr_insn_block): New.
(duplicate_insn_chain): Handle debug insns.
* tree-ssa-forwprop.c (forward_propagate_addr_expr): Propagate
into debug stmts.
* common.opt (fcompare-debug): Move to sort order.
(fdump-unnumbered-links): Likewise.
(fvar-tracking-assignments): New.
(fvar-tracking-assignments-toggle): New.
* tree-ssa-dce.c (mark_stmt_necessary): Don't mark blocks
because of debug stmts.
(mark_stmt_if_obviously_necessary): Mark debug stmts.
(eliminate_unnecessary_stmts): Walk dominated blocks before
dominators.
* tree-ssa-ter.c (find_replaceable_in_bb): Skip debug stmts.
* ira.c (memref_used_between_p): Skip debug insns.
(update_equiv_regs): Likewise.
* sched-deps.c (sd_lists_size): Accept empty list.
(sd_init_insn): Mark debug insns.
(sd_finish_insn): Unmark them.
(sd_add_dep): Reject non-debug deps on debug insns.
(fixup_sched_groups): Give debug insns group treatment.
Skip debug insns.
(sched_analyze_reg): Don't mark debug insns for sched before call.
(sched_analyze_2): Handle debug insns.
(sched_analyze_insn): Compute next non-debug insn. Handle debug
insns.
(deps_analyze_insn): Handle debug insns.
(deps_start_bb): Skip debug insns.
(init_deps): Initialize last_debug_insn.
* tree-ssa.c (target_for_debug_bind): New.
(find_released_ssa_name): New.
(propagate_var_def_into_debug_stmts): New.
(propagate_defs_into_debug_stmts): New.
(verify_ssa): Skip debug bind stmts without values.
(warn_uninialized_vars): Skip debug stmts.
* target-def.h (TARGET_DELEGITIMIZE_ADDRESS): Set default.
* rtl.c (rtx_equal_p_cb): Handle VALUEs.
(rtx_equal_p): Likewise.
* ira-costs.c (scan_one_insn): Skip debug insns.
(process_bb_node_for_hard_reg_moves): Likewise.
* rtl.h (DEBUG_INSN_P): New.
(NONDEBUG_INSN_P): New.
(MAY_HAVE_DEBUG_INSNS): New.
(INSN_P): Accept debug insns.
(RTX_FRAME_RELATED_P): Likewise.
(INSN_DELETED_P): Likewise
(PAT_VAR_LOCATION_DECL): New.
(PAT_VAR_LOCATION_LOC): New.
(PAT_VAR_OCATION_STATUS): New.
(NOTE_VAR_LOCATION_DECL): Reimplement.
(NOTE_VAR_LOCATION_LOC): Likewise.
(NOTE_VAR_LOCATION_STATUS): Likewise.
(INSN_VAR_LOCATION): New.
(INSN_VAR_LOCATION_DECL): New.
(INSN_VAR_LOCATION_LOC): New.
(INSN_VAR_LOCATION_STATUS): New.
(gen_rtx_UNKNOWN_VAR_LOC): New.
(VAR_LOC_UNKNOWN_P): New.
(NOTE_DURING_CALL_P): New.
(SCHED_GROUP_P): Accept debug insns.
(emit_debug_insn_before): Declare.
(emit_debug_insn_before_noloc): Declare.
(emit_debug_insn_beore_setloc): Declare.
(emit_debug_insn_after): Declare.
(emit_debug_insn_after_noloc): Declare.
(emit_debug_insn_after_setloc): Declare.
(emit_debug_insn): Declare.
(make_debug_insn_raw): Declare.
(prev_nondebug_insn): Declare.
(next_nondebug_insn): Declare.
(delegitimize_mem_from_attrs): Declare.
(get_max_insn_count): Declare.
(wrap_constant): Declare.
(unwrap_constant): Declare.
(get_curr_insn_source_location): Declare.
(get_curr_insn_block): Declare.
* tree-inline.c (insert_debug_decl_map): New.
(processing_debug_stmt): New.
(remap_decl): Don't create new mappings in debug stmts.
(remap_gimple_op_r): Don't add references in debug stmts.
(copy_tree_body_r): Likewise.
(remap_gimple_stmt): Handle debug bind stmts.
(copy_bb): Skip debug stmts.
(copy_edges_for_bb): Likewise.
(copy_debug_stmt): New.
(copy_debug_stmts): New.
(copy_body): Copy debug stmts at the end.
(insert_init_debug_bind): New.
(insert_init_stmt): Take id. Skip and emit debug stmts.
(setup_one_parameter): Remap variable earlier, register debug
mapping.
(estimate_num_insns): Skip debug stmts.
(expand_call_inline): Preserve debug_map.
(optimize_inline_calls): Check for no debug_stmts left-overs.
(unsave_expr_now): Preserve debug_map.
(copy_gimple_seq_and_replace_locals): Likewise.
(tree_function_versioning): Check for no debug_stmts left-overs.
Init and destroy debug_map as needed. Split edges unconditionally.
(build_duplicate_type): Init and destroy debug_map as needed.
* tree-inline.h: Include gimple.h instead of pointer-set.h.
(struct copy_body_data): Add debug_stmts and debug_map.
* sched-int.h (struct ready_list): Add n_debug.
(struct deps): Add last_debug_insn.
(DEBUG_INSN_SCHED_P): New.
(BOUNDARY_DEBUG_INSN_P): New.
(SCHEDULE_DEBUG_INSN_P): New.
(sd_iterator_cond): Accept empty list.
* combine.c (create_log_links): Skip debug insns.
(combine_instructions): Likewise.
(cleanup_auto_inc_dec): New. From Jakub Jelinek: Make sure the
return value is always unshared.
(struct rtx_subst_pair): New.
(auto_adjust_pair): New.
(propagate_for_debug_subst): New.
(propagate_for_debug): New.
(try_combine): Skip debug insns. Propagate removed defs into
debug insns.
(next_nonnote_nondebug_insn): New.
(distribute_notes): Use it. Skip debug insns.
(distribute_links): Skip debug insns.
* tree-outof-ssa.c (set_location_for_edge): Likewise.
* resource.c (mark_target_live_regs): Likewise.
* var-tracking.c: Include cselib.h and target.h.
(enum micro_operation_type): Add MO_VAL_USE, MO_VAL_LOC, and
MO_VAL_SET.
(micro_operation_type_name): New.
(enum emit_note_where): Add EMIT_NOTE_AFTER_CALL_INSN.
(struct micro_operation_def): Update comments.
(decl_or_value): New type. Use instead of decls.
(struct emit_note_data_def): Add vars.
(struct attrs_def): Use decl_or_value.
(struct variable_tracking_info_def): Add permp, flooded.
(struct location_chain_def): Update comment.
(struct variable_part_def): Use decl_or_value.
(struct variable_def): Make var_part a variable length array.
(valvar_pool): New.
(scratch_regs): New.
(cselib_hook_called): New.
(dv_is_decl_p): New.
(dv_is_value_p): New.
(dv_as_decl): New.
(dv_as_value): New.
(dv_as_opaque): New.
(dv_onepart_p): New.
(dv_pool): New.
(IS_DECL_CODE): New.
(check_value_is_not_decl): New.
(dv_from_decl): New.
(dv_from_value): New.
(dv_htab_hash): New.
(variable_htab_hash): Use it.
(variable_htab_eq): Support values.
(variable_htab_free): Free from the right pool.
(attrs_list_member, attrs_list_insert): Use decl_or_value.
(attrs_list_union): Adjust.
(attrs_list_mpdv_union): New.
(tie_break_pointers): New.
(canon_value_cmp): New.
(unshare_variable): Return possibly-modified slot.
(vars_copy_1): Adjust.
(var_reg_decl_set): Adjust. Split out of...
(var_reg_set): ... this.
(get_init_value): Adjust.
(var_reg_delete_and_set): Adjust.
(var_reg_delete): Adjust.
(var_regno_delete): Adjust.
(var_mem_decl_set): Split out of...
(var_mem_set): ... this.
(var_mem_delete_and_set): Adjust.
(var_mem_delete): Adjust.
(val_store): New.
(val_reset): New.
(val_resolve): New.
(variable_union): Adjust. Speed up merge of 1-part vars.
(variable_canonicalize): Use unshared slot.
(VALUED_RECURSED_INTO): New.
(find_loc_in_1pdv): New.
(struct dfset_merge): New.
(insert_into_intersection): New.
(intersect_loc_chains): New.
(loc_cmp): New.
(canonicalize_loc_order_check): New.
(canonicalize_values_mark): New.
(canonicalize_values_star): New.
(variable_merge_over_cur): New.
(variable_merge_over_src): New.
(dataflow_set_merge): New.
(dataflow_set_equiv_regs): New.
(remove_duplicate_values): New.
(struct dfset_post_merge): New.
(variable_post_merge_new_vals): New.
(variable_post_merge_perm_vals): New.
(dataflow_post_merge_adjust): New.
(find_mem_expr_in_1pdv): New.
(dataflow_set_preserve_mem_locs): New.
(dataflow_set_remove_mem_locs): New.
(dataflow_set_clear_at_call): New.
(onepart_variable_different_p): New.
(variable_different_p): Use it.
(dataflow_set_different_1): Adjust. Make detailed dump
more verbose.
(track_expr_p): Add need_rtl parameter. Don't generate rtl
if not needed.
(track_loc_p): Pass it true.
(struct count_use_info): New.
(find_use_val): New.
(replace_expr_with_values): New.
(log_op_type): New.
(use_type): New, partially split out of...
(count_uses): ... this. Count new micro-ops.
(count_uses_1): Adjust.
(count_stores): Adjust.
(count_with_sets): New.
(VAL_NEEDS_RESOLUTION): New.
(VAL_HOLDS_TRACK_EXPR): New.
(VAL_EXPR_IS_COPIED): New.
(VAL_EXPR_IS_CLOBBERED): New.
(add_uses): Adjust. Generate new micro-ops.
(add_uses_1): Adjust.
(add_stores): Generate new micro-ops.
(add_with_sets): New.
(find_src_status): Adjust.
(find_src_set_src): Adjust.
(compute_bb_dataflow): Use dataflow_set_clear_at_call.
Handle new micro-ops. Canonicalize value equivalances.
(vt_find_locations): Compute total size of hash tables for
dumping. Perform merge for var-tracking-assignments. Don't
disregard single-block loops.
(dump_attrs_list): Handle decl_or_value.
(dump_variable): Take variable. Deal with decl_or_value.
(dump_variable_slot): New.
(dump_vars): Use it.
(dump_dataflow_sets): Adjust.
(set_slot_part): New, extended to support one-part variables
after splitting out of...
(set_variable_part): ... this.
(clobber_slot_part): New, split out of...
(clobber_variable_part): ... this.
(delete_slot_part): New, split out of...
(delete_variable_part): .... this.
(check_wrap_constant): New.
(vt_expand_loc_callback): New.
(vt_expand_loc): New.
(emit_note_insn_var_location): Adjust. Handle values. Handle
EMIT_NOTE_AFTER_CALL_INSN.
(emit_notes_for_differences_1): Adjust. Handle values.
(emit_notes_for_differences_2): Likewise.
(emit_notes_for_differences): Adjust.
(emit_notes_in_bb): Take pointer to set. Emit AFTER_CALL_INSN
notes. Adjust. Handle new micro-ops.
(vt_add_function_parameters): Adjust. Create and bind values.
(vt_initialize): Adjust. Initialize scratch_regs and
valvar_pool, flooded and perm.. Initialize and use cselib. Log
operations. Move some code to count_with_sets and add_with_sets.
(delete_debug_insns): New.
(vt_debug_insns_local): New.
(vt_finalize): Release permp, valvar_pool, scratch_regs. Finish
cselib.
(var_tracking_main): If var-tracking-assignments is enabled
but var-tracking isn't, delete debug insns and leave. Likewise
if we exceed limits or fail the stack adjustments tests, and
after all var-tracking processing.
More in var-tracking, from Jakub Jelinek <jakub@redhat.com>:
(dataflow_set): Add traversed_vars.
(value_chain, const_value_chain): New typedefs.
(value_chain_pool, value_chains): New variables.
(value_chain_htab_hash, value_chain_htab_eq, add_value_chain,
add_value_chains, add_cselib_value_chains, remove_value_chain,
remove_value_chains, remove_cselib_value_chains): New functions.
(shared_hash_find_slot_unshare_1, shared_hash_find_slot_1,
shared_hash_find_slot_noinsert_1, shared_hash_find_1): New
static inlines.
(shared_hash_find_slot_unshare, shared_hash_find_slot,
shared_hash_find_slot_noinsert, shared_hash_find): Update.
(dst_can_be_shared): New variable.
(unshare_variable): Unshare set->vars if shared, use shared_hash_*.
Clear dst_can_be_shared. If set->traversed_vars is non-NULL and
different from set->vars, look up slot again instead of using the
passed in slot.
(dataflow_set_init): Initialize traversed_vars.
(variable_union): Use shared_hash_*. Use initially NO_INSERT
lookup if set->vars is shared. Don't keep slot cleared before
calling unshare_variable. Unshare set->vars if needed. Adjust
unshare_variable callers. Clear dst_can_be_shared if needed.
Even ->refcount == 1 vars must be unshared if set->vars is shared
and var needs to be modified.
(dataflow_set_union): Set traversed_vars during canonicalization.
(VALUE_CHANGED, DECL_CHANGED): Define.
(set_dv_changed, dv_changed_p): New static inlines.
(track_expr_p): Clear DECL_CHANGED.
(dump_dataflow_sets): Set it.
(variable_was_changed): Call set_dv_changed.
(emit_note_insn_var_location): Likewise.
(changed_variables_stack): New variable.
(check_changed_vars_1, check_changed_vars_2): New functions.
(emit_notes_for_changes): Do nothing if changed_variables is
empty. Traverse changed_variables with check_changed_vars_1,
call check_changed_vars_2 on each changed_variables_stack entry.
(emit_notes_in_bb): Add SET argument. Just clear it at the
beginning, use it instead of local &set, don't destroy it at the
end.
(vt_emit_notes): Call dataflow_set_clear early on all
VTI(bb)->out sets, never use them, instead use emit_notes_in_bb
computed set, dataflow_set_clear also VTI(bb)->in when we are
done with the basic block. Initialize changed_variables_stack,
free it afterwards. If ENABLE_CHECKING verify that after noting
differences to an empty set value_chains hash table is empty.
(vt_initialize): Initialize value_chains and value_chain_pool.
(vt_finalize): Delete value_chains htab, free value_chain_pool.
(variable_tracking_main): Call dump_dataflow_sets before calling
vt_emit_notes, not after it.
* tree-flow.h (propagate_defs_into_debug_stmts): Declare.
(propagate_var_def_into_debug_stmts): Declare.
* df-problems.c (df_lr_bb_local_compute): Skip debug insns.
(df_set_note): Reject debug insns.
(df_whole_mw_reg_dead_p): Take added_notes_p argument. Don't
add notes to debug insns.
(df_note_bb_compute): Adjust. Likewise.
(df_simulate_uses): Skip debug insns.
(df_simulate_initialize_backwards): Likewise.
* reg-stack.c (subst_stack_regs_in_debug_insn): New.
(subst_stack_regs_pat): Reject debug insns.
(convert_regs_1): Handle debug insns.
* Makefile.in (TREE_INLINE_H): Take pointer-set.h from GIMPLE_H.
(print-rtl.o): Depend on cselib.h.
(cselib.o): Depend on TREE_PASS_H.
(var-tracking.o): Depend on cselib.h and TARGET_H.
* sched-rgn.c (rgn_estimate_number_of_insns): Discount
debug insns.
(init_ready_list): Skip boundary debug insns.
(add_branch_dependences): Skip debug insns.
(free_block_dependencies): Check for blocks with only debug
insns.
(compute_priorities): Likewise.
* gimple.c (gss_for_code): Handle GIMPLE_DEBUG.
(gimple_build_with_ops_stat): Take subcode as unsigned. Adjust
all callers.
(gimple_build_debug_bind_stat): New.
(empty_body_p): Skip debug stmts.
(gimple_has_side_effects): Likewise.
(gimple_rhs_has_side_effects): Likewise.
* gimple.h (enum gimple_debug_subcode, GIMPLE_DEBUG_BIND): New.
(gimple_build_debug_bind_stat): Declare.
(gimple_build_debug_bind): Define.
(is_gimple_debug): New.
(gimple_debug_bind_p): New.
(gimple_debug_bind_get_var): New.
(gimple_debug_bind_get_value): New.
(gimple_debug_bind_get_value_ptr): New.
(gimple_debug_bind_set_var): New.
(gimple_debug_bind_set_value): New.
(GIMPLE_DEBUG_BIND_NOVALUE): New internal temporary macro.
(gimple_debug_bind_reset_value): New.
(gimple_debug_bind_has_value_p): New.
(gsi_next_nondebug): New.
(gsi_prev_nondebug): New.
(gsi_start_nondebug_bb): New.
(gsi_last_nondebug_bb): New.
* sched-vis.c (print_pattern): Handle VAR_LOCATION.
(print_insn): Handle DEBUG_INSN.
* tree-cfg.c (remove_bb): Walk stmts backwards. Let loc
of first insn prevail.
(first_stmt): Skip debug stmts.
(first_non_label_stmt): Likewise.
(last_stmt): Likewise.
(has_zero_uses_1): New.
(single_imm_use_1): New.
(verify_gimple_debug): New.
(verify_types_in_gimple_stmt): Handle debug stmts.
(verify_stmt): Likewise.
(debug_loop_num): Skip debug stmts.
(remove_edge_and_dominated_blocks): Remove dominators last.
* tree-ssa-reasssoc.c (rewrite_expr_tree): Propagate into
debug stmts.
(linearize_expr): Likewise.
* config/i386/i386.c (ix86_delegitimize_address): Call
default implementation.
* config/ia64/ia64.c (ia64_safe_itanium_class): Handle debug
insns.
(group_barrier_needed): Skip debug insns.
(emit_insn_group_barriers): Likewise.
(emit_all_insn_group_barriers): Likewise.
(ia64_variable_issue): Handle debug insns.
(ia64_dfa_new_cycle): Likewise.
(final_emit_insn_group_barriers): Skip debug insns.
(ia64_dwarf2out_def_steady_cfa): Take frame argument. Don't
def cfa without frame.
(process_set): Likewise.
(process_for_unwind_directive): Pass frame on.
* config/rs6000/rs6000.c (TARGET_DELEGITIMIZE_ADDRESS): Define.
(rs6000_delegitimize_address): New.
(rs6000_debug_adjust_cost): Handle debug insns.
(is_microcoded_insn): Likewise.
(is_cracked_insn): Likewise.
(is_nonpipeline_insn): Likewise.
(insn_must_be_first_in_group): Likewise.
(insn_must_be_last_in_group): Likewise.
(force_new_group): Likewise.
* cfgrtl.c (rtl_split_block): Emit INSN_DELETED note if block
contains only debug insns.
(rtl_merge_blocks): Skip debug insns.
(purge_dead_edges): Likewise.
(rtl_block_ends_with_call_p): Skip debug insns.
* dce.c (deletable_insn_p): Handle VAR_LOCATION.
(mark_reg_dependencies): Skip debug insns.
* params.def (PARAM_MIN_NONDEBUG_INSN_UID): New.
* tree-ssanames.c (release_ssa_name): Propagate def into
debug stmts.
* tree-ssa-threadedge.c
(record_temporary_equivalences_from_stmts): Skip debug stmts.
* regcprop.c (replace_oldest_value_addr): Skip debug insns.
(replace_oldest_value_mem): Use ALL_REGS for debug insns.
(copyprop_hardreg_forward_1): Handle debug insns.
* reload1.c (reload): Skip debug insns. Replace unassigned
pseudos in debug insns with their equivalences.
(eliminate_regs_in_insn): Skip debug insns.
(emit_input_reload_insns): Skip debug insns at first, adjust
them later.
* tree-ssa-operands.c (add_virtual_operand): Reject debug stmts.
(get_indirect_ref_operands): Pass opf_no_vops on.
(get_expr_operands): Likewise. Skip debug stmts.
(parse_ssa_operands): Scan debug insns with opf_no_vops.
gcc/testsuite/ChangeLog:
* gcc.dg/guality/guality.c: New.
* gcc.dg/guality/guality.h: New.
* gcc.dg/guality/guality.exp: New.
* gcc.dg/guality/example.c: New.
* lib/gcc-dg.exp (cleanup-dump): Remove .gk files.
(cleanup-saved-temps): Likewise, .gkd files too.
gcc/cp/ChangeLog:
* cp-tree.h (TFF_NO_OMIT_DEFAULT_TEMPLATE_ARGUMENTS): New.
* cp-lang.c (cxx_dwarf_name): Pass it.
* error.c (count_non_default_template_args): Take flags as
argument. Adjust all callers. Skip counting of default
arguments if the new flag is given.
ChangeLog:
* Makefile.tpl (BUILD_CONFIG): Default to bootstrap-debug.
* Makefile.in: Rebuilt.
contrib/ChangeLog:
* compare-debug: Look for .gkd files and compare them.
config/ChangeLog:
* bootstrap-debug.mk: Add comments.
* bootstrap-debug-big.mk: New.
* bootstrap-debug-lean.mk: New.
* bootstrap-debug-ckovw.mk: Add comments.
* bootstrap-debug-lib.mk: Drop CFLAGS for stages. Use -g0
for TFLAGS in stage1. Drop -fvar-tracking-assignments-toggle.
From-SVN: r151312
2009-09-02 04:42:21 +02:00
|
|
|
@file{contrib/compare-debug} to compare them with the stripped stage3
|
|
|
|
object files. If @code{BOOT_CFLAGS} is overridden so as to not enable
|
|
|
|
debug information, stage2 will have it, and stage3 won't. This option
|
2009-09-03 07:55:57 +02:00
|
|
|
is enabled by default when GCC bootstrapping is enabled, if
|
|
|
|
@code{strip} can turn object files compiled with and without debug
|
|
|
|
info into identical object files. In addition to better test
|
|
|
|
coverage, this option makes default bootstraps faster and leaner.
|
invoke.texi (-fvar-tracking-assignments): New.
gcc/ChangeLog:
* doc/invoke.texi (-fvar-tracking-assignments): New.
(-fvar-tracking-assignments-toggle): New.
(-fdump-final-insns=file): Mark filename as optional.
(--param min-nondebug-insn-uid): New.
(-gdwarf-@{version}): Mention version 4.
* opts.c (common_handle_option): Accept it.
* tree-vrp.c (find_assert_locations_1): Skip debug stmts.
* regrename.c (regrename_optimize): Drop last. Don't count debug
insns as uses. Don't reject change because of debug insn.
(do_replace): Reject DEBUG_INSN as chain starter. Take base_regno
from the chain starter, and check for inexact matches in
DEBUG_INSNS.
(scan_rtx_reg): Accept inexact matches in DEBUG_INSNs.
(build_def_use): Simplify and fix the marking of DEBUG_INSNs.
* sched-ebb.c (schedule_ebbs): Skip boundary debug insns.
* fwprop.c (forward_propagate_and_simplify): ...into debug insns.
* doc/gimple.texi (is_gimple_debug): New.
(gimple_debug_bind_p): New.
(is_gimple_call, gimple_assign_cast_p): End sentence with period.
* doc/install.texi (bootstrap-debug): More details.
(bootstrap-debug-big, bootstrap-debug-lean): Document.
(bootstrap-debug-lib): More details.
(bootstrap-debug-ckovw): Update.
(bootstrap-time): New.
* tree-into-ssa.c (mark_def_sites): Skip debug stmts.
(insert_phi_nodes_for): Insert debug stmts.
(rewrite_stmt): Take iterator. Insert debug stmts.
(rewrite_enter_block): Adjust.
(maybe_replace_use_in_debug_stmt): New.
(rewrite_update_stmt): Use it.
(mark_use_interesting): Return early for debug stmts.
* tree-ssa-loop-im.c (rewrite_bittest): Propagate DEFs into debug
stmts before replacing stmt.
(move_computations_stmt): Likewise.
* ira-conflicts.c (add_copies): Skip debug insns.
* regstat.c (regstat_init_n_sets_and_refs): Discount debug insns.
(regstat_bb_compute_ri): Skip debug insns.
* tree-ssa-threadupdate.c (redirection_block_p): Skip debug stmts.
* tree-ssa-loop-manip.c (find_uses_to_rename_stmt,
check_loop_closed_ssa_stmt): Skip debug stmts.
* tree-tailcall.c (find_tail_calls): Likewise.
* tree-ssa-loop-ch.c (should_duplicate_loop_header_p): Likewise.
* tree.h (MAY_HAVE_DEBUG_STMTS): New.
(build_var_debug_value_stat): Declare.
(build_var_debug_value): Define.
(target_for_debug_bind): Declare.
* reload.c (find_equiv_reg): Skip debug insns.
* rtlanal.c (reg_used_between_p): Skip debug insns.
(side_effects_p): Likewise.
(canonicalize_condition): Likewise.
* ddg.c (create_ddg_dep_from_intra_loop_link): Check that non-debug
insns never depend on debug insns.
(create_ddg_dep_no_link): Likewise.
(add_cross_iteration_register_deps): Use ANTI_DEP for debug insns.
Don't add inter-loop dependencies for debug insns.
(build_intra_loop_deps): Likewise.
(create_ddg): Count debug insns.
* ddg.h (struct ddg::num_debug): New.
(num_backargs): Pair up with previous int field.
* diagnostic.c (diagnostic_report_diagnostic): Skip notes on
-fcompare-debug-second.
* final.c (get_attr_length_1): Skip debug insns.
(rest_of_clean-state): Don't dump CFA_RESTORE_STATE.
* gcc.c (invoke_as): Call compare-debug-dump-opt.
(driver_self_specs): Map -fdump-final-insns to
-fdump-final-insns=..
(get_local_tick): New.
(compare_debug_dump_opt_spec_function): Test for . argument and
compute output name. Compute temp output spec without flag name.
Compute -frandom-seed.
(OPT): Undef after use.
* cfgloopanal.c (num_loop_insns): Skip debug insns.
(average_num_loop_insns): Likewise.
* params.h (MIN_NONDEBUG_INSN_UID): New.
* gimple.def (GIMPLE_DEBUG): New.
* ipa-reference.c (scan_stmt_for_static_refs): Skip debug stmts.
* auto-inc-dec.c (merge_in_block): Skip debug insns.
(merge_in_block): Fix whitespace.
* toplev.c (flag_var_tracking): Update comment.
(flag_var_tracking_assignments): New.
(flag_var_tracking_assignments_toggle): New.
(process_options): Don't open final insns dump file if we're not
going to write to it. Compute defaults for var_tracking.
* df-scan.c (df_insn_rescan_debug_internal): New.
(df_uses_record): Handle debug insns.
* haifa-sched.c (ready): Initialize n_debug.
(contributes_to_priority): Skip debug insns.
(dep_list_size): New.
(priority): Use it.
(rank_for_schedule): Likewise. Schedule debug insns as soon as
they're ready. Disregard previous debug insns to make decisions.
(queue_insn): Never queue debug insns.
(ready_add, ready_remove_first, ready_remove): Count debug insns.
(schedule_insn): Don't reject debug insns because of issue rate.
(get_ebb_head_tail, no_real_insns_p): Skip boundary debug insns.
(queue_to_ready): Skip and discount debug insns.
(choose_ready): Let debug insns through.
(schedule_block): Check boundary debug insns. Discount debug
insns, schedule them early. Adjust whitespace.
(set_priorities): Check for boundary debug insns.
(add_jump_dependencies): Use dep_list_size.
(prev_non_location_insn): New.
(check_cfg): Use it.
* tree-ssa-loop-ivopts.c (find-interesting_users): Skip debug
stmts.
(remove_unused_ivs): Reset debug stmts.
* modulo-sched.c (const_iteration_count): Skip debug insns.
(res_MII): Discount debug insns.
(loop_single_full_bb_p): Skip debug insns.
(sms_schedule): Likewise.
(sms_schedule_by_order): Likewise.
(ps_has_conflicts): Likewise.
* caller-save.c (refmarker_fn): New.
(save_call_clobbered_regs): Replace regs with saved mem in
debug insns.
(mark_referenced_regs): Take pointer, mark and arg. Adjust.
Call refmarker_fn mark for hardregnos.
(mark_reg_as_referenced): New.
(replace_reg_with_saved_mem): New.
* ipa-pure-const.c (check_stmt): Skip debug stmts.
* cse.c (cse_insn): Canonicalize debug insns. Skip them when
searching back.
(cse_extended_basic_block): Skip debug insns.
(count_reg_usage): Likewise.
(is_dead_reg): New, split out of...
(set_live_p): ... here.
(insn_live_p): Use it for debug insns.
* tree-stdarg.c (check_all_va_list_escapes): Skip debug stmts.
(execute_optimize_stdarg): Likewise.
* tree-ssa-dom.c (propagate_rhs_into_lhs): Likewise.
* tree-ssa-propagate.c (substitute_and_fold): Don't regard
changes in debug stmts as changes.
* sel-sched.c (moving_insn_creates_bookkeeping_block_p): New.
(moveup_expr): Don't move across debug insns. Don't move
debug insn if it would create a bookkeeping block.
(moveup_expr_cached): Don't use cache for debug insns that
are heads of blocks.
(compute_av_set_inside_bb): Skip debug insns.
(sel_rank_for_schedule): Schedule debug insns first. Remove
dead code.
(block_valid_for_bookkeeping_p); Support lax searches.
(create_block_for_bookkeeping): Adjust block numbers when
encountering debug-only blocks.
(find_place_for_bookkeeping): Deal with debug-only blocks.
(generate_bookkeeping_insn): Accept no place to insert.
(remove_temp_moveop_nops): New argument full_tidying.
(prepare_place_to_insert): Deal with debug insns.
(advance_state_on_fence): Debug insns don't start cycles.
(update_boundaries): Take fence as argument. Deal with
debug insns.
(schedule_expr_on_boundary): No full_tidying on debug insns.
(fill_insns): Deal with debug insns.
(track_scheduled_insns_and_blocks): Don't count debug insns.
(need_nop_to_preserve_insn_bb): New, split out of...
(remove_insn_from_stream): ... this.
(fur_orig_expr_not_found): Skip debug insns.
* rtl.def (VALUE): Move up.
(DEBUG_INSN): New.
* tree-ssa-sink.c (all_immediate_uses_same_place): Skip debug
stmts.
(nearest_common_dominator_of_uses): Take debug_stmts argument.
Set it if debug stmts are found.
(statement_sink_location): Skip debug stmts. Propagate
moving defs into debug stmts.
* ifcvt.c (first_active_insn): Skip debug insns.
(last_active_insns): Likewise.
(cond_exec_process_insns): Likewise.
(noce_process_if_block): Likewise.
(check_cond_move_block): Likewise.
(cond_move_convert_if_block): Likewise.
(block_jumps_and_fallthru_p): Likewise.
(dead_or_predicable): Likewise.
* dwarf2out.c (debug_str_hash_forced): New.
(find_AT_string): Add comment.
(gen_label_for_indirect_string): New.
(get_debug_string_label): New.
(AT_string_form): Use it.
(mem_loc_descriptor): Handle non-TLS symbols. Handle MINUS , DIV,
MOD, AND, IOR, XOR, NOT, ABS, NEG, and CONST_STRING. Accept but
discard COMPARE, IF_THEN_ELSE, ROTATE, ROTATERT, TRUNCATE and
several operations that cannot be represented with DWARF opcodes.
(loc_descriptor): Ignore SIGN_EXTEND and ZERO_EXTEND. Require
dwarf_version 4 for DW_OP_implicit_value and DW_OP_stack_value.
(dwarf2out_var_location): Take during-call mark into account.
(output_indirect_string): Update comment. Output if there are
label and references.
(prune_indirect_string): New.
(prune_unused_types): Call it if debug_str_hash_forced.
More in dwarf2out.c, from Jakub Jelinek <jakub@redhat.com>:
(dw_long_long_const): Remove.
(struct dw_val_struct): Change val_long_long type to rtx.
(print_die, attr_checksum, same_dw_val_p, loc_descriptor): Adjust for
val_long_long change to CONST_DOUBLE rtx from a long hi/lo pair.
(output_die): Likewise. Use HOST_BITS_PER_WIDE_INT size of each
component instead of HOST_BITS_PER_LONG.
(output_loc_operands): Likewise. For const8* assert
HOST_BITS_PER_WIDE_INT rather than HOST_BITS_PER_LONG is >= 64.
(output_loc_operands_raw): For const8* assert HOST_BITS_PER_WIDE_INT
rather than HOST_BITS_PER_LONG is >= 64.
(add_AT_long_long): Remove val_hi and val_lo arguments, add
val_const_double.
(size_of_die): Use HOST_BITS_PER_WIDE_INT size multiplier instead of
HOST_BITS_PER_LONG for dw_val_class_long_long.
(add_const_value_attribute): Adjust add_AT_long_long caller. Don't
handle TLS SYMBOL_REFs. If CONST wraps a constant, tail recurse.
(dwarf_stack_op_name): Handle DW_OP_implicit_value and
DW_OP_stack_value.
(size_of_loc_descr, output_loc_operands, output_loc_operands_raw):
Handle DW_OP_implicit_value.
(extract_int): Move prototype earlier.
(mem_loc_descriptor): For SUBREG punt if inner
mode size is wider than DWARF2_ADDR_SIZE. Handle SIGN_EXTEND
and ZERO_EXTEND by DW_OP_shl and DW_OP_shr{a,}. Handle
EQ, NE, GT, GE, LT, LE, GTU, GEU, LTU, LEU, SMIN, SMAX, UMIN,
UMAX, SIGN_EXTRACT, ZERO_EXTRACT.
(loc_descriptor): Compare mode size with DWARF2_ADDR_SIZE
instead of Pmode size.
(loc_descriptor): Add MODE argument. Handle CONST_INT, CONST_DOUBLE,
CONST_VECTOR, CONST, LABEL_REF and SYMBOL_REF if mode != VOIDmode,
attempt to handle other expressions. Don't handle TLS SYMBOL_REFs.
(concat_loc_descriptor, concatn_loc_descriptor,
loc_descriptor_from_tree_1): Adjust loc_descriptor callers.
(add_location_or_const_value_attribute): Likewise. For single
location loc_lists attempt to use add_const_value_attribute
for constant decls. Add DW_AT_const_value even if
NOTE_VAR_LOCATION is VAR_LOCATION with CONSTANT_P or CONST_STRING
in its expression.
* cfgbuild.c (inside_basic_block_p): Handle debug insns.
(control_flow_insn_p): Likewise.
* tree-parloops.c (eliminate_local_variables_stmt): Handle debug
stmt.
(separate_decls_in_region_debug_bind): New.
(separate_decls_in_region): Process debug bind stmts afterwards.
* recog.c (verify_changes): Handle debug insns.
(extract_insn): Likewise.
(peephole2_optimize): Skip debug insns.
* dse.c (scan_insn): Skip debug insns.
* sel-sched-ir.c (return_nop_to_pool): Take full_tidying argument.
Pass it on.
(setup_id_for_insn): Handle debug insns.
(maybe_tidy_empty_bb): Adjust whitespace.
(tidy_control_flow): Skip debug insns.
(sel_remove_insn): Adjust for debug insns.
(sel_estimate_number_of_insns): Skip debug insns.
(create_insn_rtx_from_pattern): Handle debug insns.
(create_copy_of_insn_rtx): Likewise.
* sel-sched-.h (sel_bb_end): Declare.
(sel_bb_empty_or_nop_p): New.
(get_all_loop_exits): Use it.
(_eligible_successor_edge_p): Likewise.
(return_nop_to_pool): Adjust.
* tree-eh.c (tre_empty_eh_handler_p): Skip debug stmts.
* ira-lives.c (process_bb_node_lives): Skip debug insns.
* gimple-pretty-print.c (dump_gimple_debug): New.
(dump_gimple_stmt): Use it.
(dump_bb_header): Skip gimple debug stmts.
* regmove.c (optimize_reg_copy_1): Discount debug insns.
(fixup_match_2): Likewise.
(regmove_backward_pass): Likewise. Simplify combined
replacement. Handle debug insns.
* function.c (instantiate_virtual_regs): Handle debug insns.
* function.h (struct emit_status): Add x_cur_debug_insn_uid.
* print-rtl.h: Include cselib.h.
(print_rtx): Print VALUEs. Split out and recurse for
VAR_LOCATIONs.
* df.h (df_inns_rescan_debug_internal): Declare.
* gcse.c (alloc_hash_table): Estimate n_insns.
(cprop_insn): Don't regard debug insns as changes.
(bypass_conditional_jumps): Skip debug insns.
(one_pre_gcse_pass): Adjust.
(one_code_hoisting_pass): Likewise.
(compute_ld_motion_mems): Skip debug insns.
(one_cprop_pass): Adjust.
* tree-if-conv.c (tree_if_convert_stmt): Reset debug stmts.
(if_convertible_stmt_p): Handle debug stmts.
* init-regs.c (initialize_uninitialized_regs): Skip debug insns.
* tree-vect-loop.c (vect_is_simple_reduction): Skip debug stmts.
* ira-build.c (create_bb_allocnos): Skip debug insns.
* tree-flow-inline.h (has_zero_uses): Discount debug stmts.
(has_single_use): Likewise.
(single_imm_use): Likewise.
(num_imm_uses): Likewise.
* tree-ssa-phiopt.c (empty_block_p): Skip debug stmts.
* tree-ssa-coalesce.c (build_ssa_conflict_graph): Skip debug stmts.
(create_outofssa_var_map): Likewise.
* lower-subreg.c (adjust_decomposed_uses): New.
(resolve_debug): New.
(decompose_multiword_subregs): Use it.
* tree-dfa.c (find_referenced_vars): Skip debug stmts.
* emit-rtl.c: Include params.h.
(cur_debug_insn_uid): Define.
(set_new_first_and_last_insn): Set cur_debug_insn_uid too.
(copy_rtx_if_shared_1): Handle debug insns.
(reset_used_flags): Likewise.
(set_used_flags): LIkewise.
(get_max_insn_count): New.
(next_nondebug_insn): New.
(prev_nondebug_insn): New.
(make_debug_insn_raw): New.
(emit_insn_before_noloc): Handle debug insns.
(emit_jump_insn_before_noloc): Likewise.
(emit_call_insn_before_noloc): Likewise.
(emit_debug_insn_before_noloc): New.
(emit_insn_after_noloc): Handle debug insns.
(emit_jump_insn_after_noloc): Likewise.
(emit_call_insn_after_noloc): Likewise.
(emit_debug_insn_after_noloc): Likewise.
(emit_insn_after): Take loc from earlier non-debug insn.
(emit_jump_insn_after): Likewise.
(emit_call_insn_after): Likewise.
(emit_debug_insn_after_setloc): New.
(emit_debug_insn_after): New.
(emit_insn_before): Take loc from later non-debug insn.
(emit_jump_insn_before): Likewise.
(emit_call_insn_before): Likewise.
(emit_debug_insn_before_setloc): New.
(emit_debug_insn_before): New.
(emit_insn): Handle debug insns.
(emit_debug_insn): New.
(emit_jump_insn): Handle debug insns.
(emit_call_insn): Likewise.
(emit): Likewise.
(init_emit): Take min-nondebug-insn-uid into account.
Initialize cur_debug_insn_uid.
(emit_copy_of_insn_after): Handle debug insns.
* cfgexpand.c (gimple_assign_rhs_to_tree): Do not overwrite
location of single rhs in place.
(maybe_dump_rtl_for_gimple_stmt): Dump lineno.
(floor_sdiv_adjust): New.
(cell_sdiv_adjust): New.
(cell_udiv_adjust): New.
(round_sdiv_adjust): New.
(round_udiv_adjust): New.
(wrap_constant): Moved from cselib.
(unwrap_constant): New.
(expand_debug_expr): New.
(expand_debug_locations): New.
(expand_gimple_basic_block): Drop hiding redeclaration. Expand
debug bind stmts.
(gimple_expand_cfg): Expand debug locations.
* cselib.c: Include tree-pass.h.
(struct expand_value_data): New.
(cselib_record_sets_hook): New.
(PRESERVED_VALUE_P, LONG_TERM_PRESERVED_VALUE_P): New.
(cselib_clear_table): Move, and implemnet in terms of...
(cselib_reset_table_with_next_value): ... this.
(cselib_get_next_unknown_value): New.
(discard_useless_locs): Don't discard preserved values.
(cselib_preserve_value): New.
(cselib_preserved_value_p): New.
(cselib_preserve_definitely): New.
(cselib_clear_preserve): New.
(cselib_preserve_only_values): New.
(new_cselib_val): Take rtx argument. Dump it in details.
(cselib_lookup_mem): Adjust.
(expand_loc): Take regs_active in struct. Adjust. Silence
dumps unless details are requested.
(cselib_expand_value_rtx_cb): New.
(cselib_expand_value_rtx): Rename and reimplment in terms of...
(cselib_expand_value_rtx_1): ... this. Adjust. Silence dumps
without details. Copy more subregs. Try to resolve values
using a callback. Wrap constants.
(cselib_subst_to_values): Adjust.
(cselib_log_lookup): New.
(cselib_lookup): Call it.
(cselib_invalidate_regno): Don't count preserved values as
useless.
(cselib_invalidate_mem): Likewise.
(cselib_record_set): Likewise.
(struct set): Renamed to cselib_set, moved to cselib.h.
(cselib_record_sets): Adjust. Call hook.
(cselib_process_insn): Reset table when it would be cleared.
(dump_cselib_val): New.
(dump_cselib_table): New.
* tree-cfgcleanup.c (tree_forwarded_block_p): Skip debug stmts.
(remove_forwarder_block): Support moving debug stmts.
* cselib.h (cselib_record_sets_hook): Declare.
(cselib_expand_callback): New type.
(cselib_expand_value_rtx_cb): Declare.
(cselib_reset_table_with_next_value): Declare.
(cselib_get_next_unknown_value): Declare.
(cselib_preserve_value): Declare.
(cselib_preserved_value_p): Declare.
(cselib_preserve_only_values): Declare.
(dump_cselib_table): Declare.
* cfgcleanup.c (flow_find_cross_jump): Skip debug insns.
(try_crossjump_to_edge): Likewise.
(delete_unreachable_blocks): Remove dominant GIMPLE blocks after
dominated blocks when debug stmts are present.
* simplify-rtx.c (delegitimize_mem_from_attrs): New.
* tree-ssa-live.c (remove_unused_locals): Skip debug stmts.
(set_var_live_on_entry): Likewise.
* loop-invariant.c (find_invariants_bb): Skip debug insns.
* cfglayout.c (curr_location, last_location): Make static.
(set_curr_insn_source_location): Don't avoid bouncing.
(get_curr_insn_source_location): New.
(get_curr_insn_block): New.
(duplicate_insn_chain): Handle debug insns.
* tree-ssa-forwprop.c (forward_propagate_addr_expr): Propagate
into debug stmts.
* common.opt (fcompare-debug): Move to sort order.
(fdump-unnumbered-links): Likewise.
(fvar-tracking-assignments): New.
(fvar-tracking-assignments-toggle): New.
* tree-ssa-dce.c (mark_stmt_necessary): Don't mark blocks
because of debug stmts.
(mark_stmt_if_obviously_necessary): Mark debug stmts.
(eliminate_unnecessary_stmts): Walk dominated blocks before
dominators.
* tree-ssa-ter.c (find_replaceable_in_bb): Skip debug stmts.
* ira.c (memref_used_between_p): Skip debug insns.
(update_equiv_regs): Likewise.
* sched-deps.c (sd_lists_size): Accept empty list.
(sd_init_insn): Mark debug insns.
(sd_finish_insn): Unmark them.
(sd_add_dep): Reject non-debug deps on debug insns.
(fixup_sched_groups): Give debug insns group treatment.
Skip debug insns.
(sched_analyze_reg): Don't mark debug insns for sched before call.
(sched_analyze_2): Handle debug insns.
(sched_analyze_insn): Compute next non-debug insn. Handle debug
insns.
(deps_analyze_insn): Handle debug insns.
(deps_start_bb): Skip debug insns.
(init_deps): Initialize last_debug_insn.
* tree-ssa.c (target_for_debug_bind): New.
(find_released_ssa_name): New.
(propagate_var_def_into_debug_stmts): New.
(propagate_defs_into_debug_stmts): New.
(verify_ssa): Skip debug bind stmts without values.
(warn_uninialized_vars): Skip debug stmts.
* target-def.h (TARGET_DELEGITIMIZE_ADDRESS): Set default.
* rtl.c (rtx_equal_p_cb): Handle VALUEs.
(rtx_equal_p): Likewise.
* ira-costs.c (scan_one_insn): Skip debug insns.
(process_bb_node_for_hard_reg_moves): Likewise.
* rtl.h (DEBUG_INSN_P): New.
(NONDEBUG_INSN_P): New.
(MAY_HAVE_DEBUG_INSNS): New.
(INSN_P): Accept debug insns.
(RTX_FRAME_RELATED_P): Likewise.
(INSN_DELETED_P): Likewise
(PAT_VAR_LOCATION_DECL): New.
(PAT_VAR_LOCATION_LOC): New.
(PAT_VAR_OCATION_STATUS): New.
(NOTE_VAR_LOCATION_DECL): Reimplement.
(NOTE_VAR_LOCATION_LOC): Likewise.
(NOTE_VAR_LOCATION_STATUS): Likewise.
(INSN_VAR_LOCATION): New.
(INSN_VAR_LOCATION_DECL): New.
(INSN_VAR_LOCATION_LOC): New.
(INSN_VAR_LOCATION_STATUS): New.
(gen_rtx_UNKNOWN_VAR_LOC): New.
(VAR_LOC_UNKNOWN_P): New.
(NOTE_DURING_CALL_P): New.
(SCHED_GROUP_P): Accept debug insns.
(emit_debug_insn_before): Declare.
(emit_debug_insn_before_noloc): Declare.
(emit_debug_insn_beore_setloc): Declare.
(emit_debug_insn_after): Declare.
(emit_debug_insn_after_noloc): Declare.
(emit_debug_insn_after_setloc): Declare.
(emit_debug_insn): Declare.
(make_debug_insn_raw): Declare.
(prev_nondebug_insn): Declare.
(next_nondebug_insn): Declare.
(delegitimize_mem_from_attrs): Declare.
(get_max_insn_count): Declare.
(wrap_constant): Declare.
(unwrap_constant): Declare.
(get_curr_insn_source_location): Declare.
(get_curr_insn_block): Declare.
* tree-inline.c (insert_debug_decl_map): New.
(processing_debug_stmt): New.
(remap_decl): Don't create new mappings in debug stmts.
(remap_gimple_op_r): Don't add references in debug stmts.
(copy_tree_body_r): Likewise.
(remap_gimple_stmt): Handle debug bind stmts.
(copy_bb): Skip debug stmts.
(copy_edges_for_bb): Likewise.
(copy_debug_stmt): New.
(copy_debug_stmts): New.
(copy_body): Copy debug stmts at the end.
(insert_init_debug_bind): New.
(insert_init_stmt): Take id. Skip and emit debug stmts.
(setup_one_parameter): Remap variable earlier, register debug
mapping.
(estimate_num_insns): Skip debug stmts.
(expand_call_inline): Preserve debug_map.
(optimize_inline_calls): Check for no debug_stmts left-overs.
(unsave_expr_now): Preserve debug_map.
(copy_gimple_seq_and_replace_locals): Likewise.
(tree_function_versioning): Check for no debug_stmts left-overs.
Init and destroy debug_map as needed. Split edges unconditionally.
(build_duplicate_type): Init and destroy debug_map as needed.
* tree-inline.h: Include gimple.h instead of pointer-set.h.
(struct copy_body_data): Add debug_stmts and debug_map.
* sched-int.h (struct ready_list): Add n_debug.
(struct deps): Add last_debug_insn.
(DEBUG_INSN_SCHED_P): New.
(BOUNDARY_DEBUG_INSN_P): New.
(SCHEDULE_DEBUG_INSN_P): New.
(sd_iterator_cond): Accept empty list.
* combine.c (create_log_links): Skip debug insns.
(combine_instructions): Likewise.
(cleanup_auto_inc_dec): New. From Jakub Jelinek: Make sure the
return value is always unshared.
(struct rtx_subst_pair): New.
(auto_adjust_pair): New.
(propagate_for_debug_subst): New.
(propagate_for_debug): New.
(try_combine): Skip debug insns. Propagate removed defs into
debug insns.
(next_nonnote_nondebug_insn): New.
(distribute_notes): Use it. Skip debug insns.
(distribute_links): Skip debug insns.
* tree-outof-ssa.c (set_location_for_edge): Likewise.
* resource.c (mark_target_live_regs): Likewise.
* var-tracking.c: Include cselib.h and target.h.
(enum micro_operation_type): Add MO_VAL_USE, MO_VAL_LOC, and
MO_VAL_SET.
(micro_operation_type_name): New.
(enum emit_note_where): Add EMIT_NOTE_AFTER_CALL_INSN.
(struct micro_operation_def): Update comments.
(decl_or_value): New type. Use instead of decls.
(struct emit_note_data_def): Add vars.
(struct attrs_def): Use decl_or_value.
(struct variable_tracking_info_def): Add permp, flooded.
(struct location_chain_def): Update comment.
(struct variable_part_def): Use decl_or_value.
(struct variable_def): Make var_part a variable length array.
(valvar_pool): New.
(scratch_regs): New.
(cselib_hook_called): New.
(dv_is_decl_p): New.
(dv_is_value_p): New.
(dv_as_decl): New.
(dv_as_value): New.
(dv_as_opaque): New.
(dv_onepart_p): New.
(dv_pool): New.
(IS_DECL_CODE): New.
(check_value_is_not_decl): New.
(dv_from_decl): New.
(dv_from_value): New.
(dv_htab_hash): New.
(variable_htab_hash): Use it.
(variable_htab_eq): Support values.
(variable_htab_free): Free from the right pool.
(attrs_list_member, attrs_list_insert): Use decl_or_value.
(attrs_list_union): Adjust.
(attrs_list_mpdv_union): New.
(tie_break_pointers): New.
(canon_value_cmp): New.
(unshare_variable): Return possibly-modified slot.
(vars_copy_1): Adjust.
(var_reg_decl_set): Adjust. Split out of...
(var_reg_set): ... this.
(get_init_value): Adjust.
(var_reg_delete_and_set): Adjust.
(var_reg_delete): Adjust.
(var_regno_delete): Adjust.
(var_mem_decl_set): Split out of...
(var_mem_set): ... this.
(var_mem_delete_and_set): Adjust.
(var_mem_delete): Adjust.
(val_store): New.
(val_reset): New.
(val_resolve): New.
(variable_union): Adjust. Speed up merge of 1-part vars.
(variable_canonicalize): Use unshared slot.
(VALUED_RECURSED_INTO): New.
(find_loc_in_1pdv): New.
(struct dfset_merge): New.
(insert_into_intersection): New.
(intersect_loc_chains): New.
(loc_cmp): New.
(canonicalize_loc_order_check): New.
(canonicalize_values_mark): New.
(canonicalize_values_star): New.
(variable_merge_over_cur): New.
(variable_merge_over_src): New.
(dataflow_set_merge): New.
(dataflow_set_equiv_regs): New.
(remove_duplicate_values): New.
(struct dfset_post_merge): New.
(variable_post_merge_new_vals): New.
(variable_post_merge_perm_vals): New.
(dataflow_post_merge_adjust): New.
(find_mem_expr_in_1pdv): New.
(dataflow_set_preserve_mem_locs): New.
(dataflow_set_remove_mem_locs): New.
(dataflow_set_clear_at_call): New.
(onepart_variable_different_p): New.
(variable_different_p): Use it.
(dataflow_set_different_1): Adjust. Make detailed dump
more verbose.
(track_expr_p): Add need_rtl parameter. Don't generate rtl
if not needed.
(track_loc_p): Pass it true.
(struct count_use_info): New.
(find_use_val): New.
(replace_expr_with_values): New.
(log_op_type): New.
(use_type): New, partially split out of...
(count_uses): ... this. Count new micro-ops.
(count_uses_1): Adjust.
(count_stores): Adjust.
(count_with_sets): New.
(VAL_NEEDS_RESOLUTION): New.
(VAL_HOLDS_TRACK_EXPR): New.
(VAL_EXPR_IS_COPIED): New.
(VAL_EXPR_IS_CLOBBERED): New.
(add_uses): Adjust. Generate new micro-ops.
(add_uses_1): Adjust.
(add_stores): Generate new micro-ops.
(add_with_sets): New.
(find_src_status): Adjust.
(find_src_set_src): Adjust.
(compute_bb_dataflow): Use dataflow_set_clear_at_call.
Handle new micro-ops. Canonicalize value equivalances.
(vt_find_locations): Compute total size of hash tables for
dumping. Perform merge for var-tracking-assignments. Don't
disregard single-block loops.
(dump_attrs_list): Handle decl_or_value.
(dump_variable): Take variable. Deal with decl_or_value.
(dump_variable_slot): New.
(dump_vars): Use it.
(dump_dataflow_sets): Adjust.
(set_slot_part): New, extended to support one-part variables
after splitting out of...
(set_variable_part): ... this.
(clobber_slot_part): New, split out of...
(clobber_variable_part): ... this.
(delete_slot_part): New, split out of...
(delete_variable_part): .... this.
(check_wrap_constant): New.
(vt_expand_loc_callback): New.
(vt_expand_loc): New.
(emit_note_insn_var_location): Adjust. Handle values. Handle
EMIT_NOTE_AFTER_CALL_INSN.
(emit_notes_for_differences_1): Adjust. Handle values.
(emit_notes_for_differences_2): Likewise.
(emit_notes_for_differences): Adjust.
(emit_notes_in_bb): Take pointer to set. Emit AFTER_CALL_INSN
notes. Adjust. Handle new micro-ops.
(vt_add_function_parameters): Adjust. Create and bind values.
(vt_initialize): Adjust. Initialize scratch_regs and
valvar_pool, flooded and perm.. Initialize and use cselib. Log
operations. Move some code to count_with_sets and add_with_sets.
(delete_debug_insns): New.
(vt_debug_insns_local): New.
(vt_finalize): Release permp, valvar_pool, scratch_regs. Finish
cselib.
(var_tracking_main): If var-tracking-assignments is enabled
but var-tracking isn't, delete debug insns and leave. Likewise
if we exceed limits or fail the stack adjustments tests, and
after all var-tracking processing.
More in var-tracking, from Jakub Jelinek <jakub@redhat.com>:
(dataflow_set): Add traversed_vars.
(value_chain, const_value_chain): New typedefs.
(value_chain_pool, value_chains): New variables.
(value_chain_htab_hash, value_chain_htab_eq, add_value_chain,
add_value_chains, add_cselib_value_chains, remove_value_chain,
remove_value_chains, remove_cselib_value_chains): New functions.
(shared_hash_find_slot_unshare_1, shared_hash_find_slot_1,
shared_hash_find_slot_noinsert_1, shared_hash_find_1): New
static inlines.
(shared_hash_find_slot_unshare, shared_hash_find_slot,
shared_hash_find_slot_noinsert, shared_hash_find): Update.
(dst_can_be_shared): New variable.
(unshare_variable): Unshare set->vars if shared, use shared_hash_*.
Clear dst_can_be_shared. If set->traversed_vars is non-NULL and
different from set->vars, look up slot again instead of using the
passed in slot.
(dataflow_set_init): Initialize traversed_vars.
(variable_union): Use shared_hash_*. Use initially NO_INSERT
lookup if set->vars is shared. Don't keep slot cleared before
calling unshare_variable. Unshare set->vars if needed. Adjust
unshare_variable callers. Clear dst_can_be_shared if needed.
Even ->refcount == 1 vars must be unshared if set->vars is shared
and var needs to be modified.
(dataflow_set_union): Set traversed_vars during canonicalization.
(VALUE_CHANGED, DECL_CHANGED): Define.
(set_dv_changed, dv_changed_p): New static inlines.
(track_expr_p): Clear DECL_CHANGED.
(dump_dataflow_sets): Set it.
(variable_was_changed): Call set_dv_changed.
(emit_note_insn_var_location): Likewise.
(changed_variables_stack): New variable.
(check_changed_vars_1, check_changed_vars_2): New functions.
(emit_notes_for_changes): Do nothing if changed_variables is
empty. Traverse changed_variables with check_changed_vars_1,
call check_changed_vars_2 on each changed_variables_stack entry.
(emit_notes_in_bb): Add SET argument. Just clear it at the
beginning, use it instead of local &set, don't destroy it at the
end.
(vt_emit_notes): Call dataflow_set_clear early on all
VTI(bb)->out sets, never use them, instead use emit_notes_in_bb
computed set, dataflow_set_clear also VTI(bb)->in when we are
done with the basic block. Initialize changed_variables_stack,
free it afterwards. If ENABLE_CHECKING verify that after noting
differences to an empty set value_chains hash table is empty.
(vt_initialize): Initialize value_chains and value_chain_pool.
(vt_finalize): Delete value_chains htab, free value_chain_pool.
(variable_tracking_main): Call dump_dataflow_sets before calling
vt_emit_notes, not after it.
* tree-flow.h (propagate_defs_into_debug_stmts): Declare.
(propagate_var_def_into_debug_stmts): Declare.
* df-problems.c (df_lr_bb_local_compute): Skip debug insns.
(df_set_note): Reject debug insns.
(df_whole_mw_reg_dead_p): Take added_notes_p argument. Don't
add notes to debug insns.
(df_note_bb_compute): Adjust. Likewise.
(df_simulate_uses): Skip debug insns.
(df_simulate_initialize_backwards): Likewise.
* reg-stack.c (subst_stack_regs_in_debug_insn): New.
(subst_stack_regs_pat): Reject debug insns.
(convert_regs_1): Handle debug insns.
* Makefile.in (TREE_INLINE_H): Take pointer-set.h from GIMPLE_H.
(print-rtl.o): Depend on cselib.h.
(cselib.o): Depend on TREE_PASS_H.
(var-tracking.o): Depend on cselib.h and TARGET_H.
* sched-rgn.c (rgn_estimate_number_of_insns): Discount
debug insns.
(init_ready_list): Skip boundary debug insns.
(add_branch_dependences): Skip debug insns.
(free_block_dependencies): Check for blocks with only debug
insns.
(compute_priorities): Likewise.
* gimple.c (gss_for_code): Handle GIMPLE_DEBUG.
(gimple_build_with_ops_stat): Take subcode as unsigned. Adjust
all callers.
(gimple_build_debug_bind_stat): New.
(empty_body_p): Skip debug stmts.
(gimple_has_side_effects): Likewise.
(gimple_rhs_has_side_effects): Likewise.
* gimple.h (enum gimple_debug_subcode, GIMPLE_DEBUG_BIND): New.
(gimple_build_debug_bind_stat): Declare.
(gimple_build_debug_bind): Define.
(is_gimple_debug): New.
(gimple_debug_bind_p): New.
(gimple_debug_bind_get_var): New.
(gimple_debug_bind_get_value): New.
(gimple_debug_bind_get_value_ptr): New.
(gimple_debug_bind_set_var): New.
(gimple_debug_bind_set_value): New.
(GIMPLE_DEBUG_BIND_NOVALUE): New internal temporary macro.
(gimple_debug_bind_reset_value): New.
(gimple_debug_bind_has_value_p): New.
(gsi_next_nondebug): New.
(gsi_prev_nondebug): New.
(gsi_start_nondebug_bb): New.
(gsi_last_nondebug_bb): New.
* sched-vis.c (print_pattern): Handle VAR_LOCATION.
(print_insn): Handle DEBUG_INSN.
* tree-cfg.c (remove_bb): Walk stmts backwards. Let loc
of first insn prevail.
(first_stmt): Skip debug stmts.
(first_non_label_stmt): Likewise.
(last_stmt): Likewise.
(has_zero_uses_1): New.
(single_imm_use_1): New.
(verify_gimple_debug): New.
(verify_types_in_gimple_stmt): Handle debug stmts.
(verify_stmt): Likewise.
(debug_loop_num): Skip debug stmts.
(remove_edge_and_dominated_blocks): Remove dominators last.
* tree-ssa-reasssoc.c (rewrite_expr_tree): Propagate into
debug stmts.
(linearize_expr): Likewise.
* config/i386/i386.c (ix86_delegitimize_address): Call
default implementation.
* config/ia64/ia64.c (ia64_safe_itanium_class): Handle debug
insns.
(group_barrier_needed): Skip debug insns.
(emit_insn_group_barriers): Likewise.
(emit_all_insn_group_barriers): Likewise.
(ia64_variable_issue): Handle debug insns.
(ia64_dfa_new_cycle): Likewise.
(final_emit_insn_group_barriers): Skip debug insns.
(ia64_dwarf2out_def_steady_cfa): Take frame argument. Don't
def cfa without frame.
(process_set): Likewise.
(process_for_unwind_directive): Pass frame on.
* config/rs6000/rs6000.c (TARGET_DELEGITIMIZE_ADDRESS): Define.
(rs6000_delegitimize_address): New.
(rs6000_debug_adjust_cost): Handle debug insns.
(is_microcoded_insn): Likewise.
(is_cracked_insn): Likewise.
(is_nonpipeline_insn): Likewise.
(insn_must_be_first_in_group): Likewise.
(insn_must_be_last_in_group): Likewise.
(force_new_group): Likewise.
* cfgrtl.c (rtl_split_block): Emit INSN_DELETED note if block
contains only debug insns.
(rtl_merge_blocks): Skip debug insns.
(purge_dead_edges): Likewise.
(rtl_block_ends_with_call_p): Skip debug insns.
* dce.c (deletable_insn_p): Handle VAR_LOCATION.
(mark_reg_dependencies): Skip debug insns.
* params.def (PARAM_MIN_NONDEBUG_INSN_UID): New.
* tree-ssanames.c (release_ssa_name): Propagate def into
debug stmts.
* tree-ssa-threadedge.c
(record_temporary_equivalences_from_stmts): Skip debug stmts.
* regcprop.c (replace_oldest_value_addr): Skip debug insns.
(replace_oldest_value_mem): Use ALL_REGS for debug insns.
(copyprop_hardreg_forward_1): Handle debug insns.
* reload1.c (reload): Skip debug insns. Replace unassigned
pseudos in debug insns with their equivalences.
(eliminate_regs_in_insn): Skip debug insns.
(emit_input_reload_insns): Skip debug insns at first, adjust
them later.
* tree-ssa-operands.c (add_virtual_operand): Reject debug stmts.
(get_indirect_ref_operands): Pass opf_no_vops on.
(get_expr_operands): Likewise. Skip debug stmts.
(parse_ssa_operands): Scan debug insns with opf_no_vops.
gcc/testsuite/ChangeLog:
* gcc.dg/guality/guality.c: New.
* gcc.dg/guality/guality.h: New.
* gcc.dg/guality/guality.exp: New.
* gcc.dg/guality/example.c: New.
* lib/gcc-dg.exp (cleanup-dump): Remove .gk files.
(cleanup-saved-temps): Likewise, .gkd files too.
gcc/cp/ChangeLog:
* cp-tree.h (TFF_NO_OMIT_DEFAULT_TEMPLATE_ARGUMENTS): New.
* cp-lang.c (cxx_dwarf_name): Pass it.
* error.c (count_non_default_template_args): Take flags as
argument. Adjust all callers. Skip counting of default
arguments if the new flag is given.
ChangeLog:
* Makefile.tpl (BUILD_CONFIG): Default to bootstrap-debug.
* Makefile.in: Rebuilt.
contrib/ChangeLog:
* compare-debug: Look for .gkd files and compare them.
config/ChangeLog:
* bootstrap-debug.mk: Add comments.
* bootstrap-debug-big.mk: New.
* bootstrap-debug-lean.mk: New.
* bootstrap-debug-ckovw.mk: Add comments.
* bootstrap-debug-lib.mk: Drop CFLAGS for stages. Use -g0
for TFLAGS in stage1. Drop -fvar-tracking-assignments-toggle.
From-SVN: r151312
2009-09-02 04:42:21 +02:00
|
|
|
|
|
|
|
@item @samp{bootstrap-debug-big}
|
2009-09-03 07:55:57 +02:00
|
|
|
Rather than comparing stripped object files, as in
|
|
|
|
@code{bootstrap-debug}, this option saves internal compiler dumps
|
|
|
|
during stage2 and stage3 and compares them as well, which helps catch
|
|
|
|
additional potential problems, but at a great cost in terms of disk
|
|
|
|
space. It can be specified in addition to @samp{bootstrap-debug}.
|
invoke.texi (-fvar-tracking-assignments): New.
gcc/ChangeLog:
* doc/invoke.texi (-fvar-tracking-assignments): New.
(-fvar-tracking-assignments-toggle): New.
(-fdump-final-insns=file): Mark filename as optional.
(--param min-nondebug-insn-uid): New.
(-gdwarf-@{version}): Mention version 4.
* opts.c (common_handle_option): Accept it.
* tree-vrp.c (find_assert_locations_1): Skip debug stmts.
* regrename.c (regrename_optimize): Drop last. Don't count debug
insns as uses. Don't reject change because of debug insn.
(do_replace): Reject DEBUG_INSN as chain starter. Take base_regno
from the chain starter, and check for inexact matches in
DEBUG_INSNS.
(scan_rtx_reg): Accept inexact matches in DEBUG_INSNs.
(build_def_use): Simplify and fix the marking of DEBUG_INSNs.
* sched-ebb.c (schedule_ebbs): Skip boundary debug insns.
* fwprop.c (forward_propagate_and_simplify): ...into debug insns.
* doc/gimple.texi (is_gimple_debug): New.
(gimple_debug_bind_p): New.
(is_gimple_call, gimple_assign_cast_p): End sentence with period.
* doc/install.texi (bootstrap-debug): More details.
(bootstrap-debug-big, bootstrap-debug-lean): Document.
(bootstrap-debug-lib): More details.
(bootstrap-debug-ckovw): Update.
(bootstrap-time): New.
* tree-into-ssa.c (mark_def_sites): Skip debug stmts.
(insert_phi_nodes_for): Insert debug stmts.
(rewrite_stmt): Take iterator. Insert debug stmts.
(rewrite_enter_block): Adjust.
(maybe_replace_use_in_debug_stmt): New.
(rewrite_update_stmt): Use it.
(mark_use_interesting): Return early for debug stmts.
* tree-ssa-loop-im.c (rewrite_bittest): Propagate DEFs into debug
stmts before replacing stmt.
(move_computations_stmt): Likewise.
* ira-conflicts.c (add_copies): Skip debug insns.
* regstat.c (regstat_init_n_sets_and_refs): Discount debug insns.
(regstat_bb_compute_ri): Skip debug insns.
* tree-ssa-threadupdate.c (redirection_block_p): Skip debug stmts.
* tree-ssa-loop-manip.c (find_uses_to_rename_stmt,
check_loop_closed_ssa_stmt): Skip debug stmts.
* tree-tailcall.c (find_tail_calls): Likewise.
* tree-ssa-loop-ch.c (should_duplicate_loop_header_p): Likewise.
* tree.h (MAY_HAVE_DEBUG_STMTS): New.
(build_var_debug_value_stat): Declare.
(build_var_debug_value): Define.
(target_for_debug_bind): Declare.
* reload.c (find_equiv_reg): Skip debug insns.
* rtlanal.c (reg_used_between_p): Skip debug insns.
(side_effects_p): Likewise.
(canonicalize_condition): Likewise.
* ddg.c (create_ddg_dep_from_intra_loop_link): Check that non-debug
insns never depend on debug insns.
(create_ddg_dep_no_link): Likewise.
(add_cross_iteration_register_deps): Use ANTI_DEP for debug insns.
Don't add inter-loop dependencies for debug insns.
(build_intra_loop_deps): Likewise.
(create_ddg): Count debug insns.
* ddg.h (struct ddg::num_debug): New.
(num_backargs): Pair up with previous int field.
* diagnostic.c (diagnostic_report_diagnostic): Skip notes on
-fcompare-debug-second.
* final.c (get_attr_length_1): Skip debug insns.
(rest_of_clean-state): Don't dump CFA_RESTORE_STATE.
* gcc.c (invoke_as): Call compare-debug-dump-opt.
(driver_self_specs): Map -fdump-final-insns to
-fdump-final-insns=..
(get_local_tick): New.
(compare_debug_dump_opt_spec_function): Test for . argument and
compute output name. Compute temp output spec without flag name.
Compute -frandom-seed.
(OPT): Undef after use.
* cfgloopanal.c (num_loop_insns): Skip debug insns.
(average_num_loop_insns): Likewise.
* params.h (MIN_NONDEBUG_INSN_UID): New.
* gimple.def (GIMPLE_DEBUG): New.
* ipa-reference.c (scan_stmt_for_static_refs): Skip debug stmts.
* auto-inc-dec.c (merge_in_block): Skip debug insns.
(merge_in_block): Fix whitespace.
* toplev.c (flag_var_tracking): Update comment.
(flag_var_tracking_assignments): New.
(flag_var_tracking_assignments_toggle): New.
(process_options): Don't open final insns dump file if we're not
going to write to it. Compute defaults for var_tracking.
* df-scan.c (df_insn_rescan_debug_internal): New.
(df_uses_record): Handle debug insns.
* haifa-sched.c (ready): Initialize n_debug.
(contributes_to_priority): Skip debug insns.
(dep_list_size): New.
(priority): Use it.
(rank_for_schedule): Likewise. Schedule debug insns as soon as
they're ready. Disregard previous debug insns to make decisions.
(queue_insn): Never queue debug insns.
(ready_add, ready_remove_first, ready_remove): Count debug insns.
(schedule_insn): Don't reject debug insns because of issue rate.
(get_ebb_head_tail, no_real_insns_p): Skip boundary debug insns.
(queue_to_ready): Skip and discount debug insns.
(choose_ready): Let debug insns through.
(schedule_block): Check boundary debug insns. Discount debug
insns, schedule them early. Adjust whitespace.
(set_priorities): Check for boundary debug insns.
(add_jump_dependencies): Use dep_list_size.
(prev_non_location_insn): New.
(check_cfg): Use it.
* tree-ssa-loop-ivopts.c (find-interesting_users): Skip debug
stmts.
(remove_unused_ivs): Reset debug stmts.
* modulo-sched.c (const_iteration_count): Skip debug insns.
(res_MII): Discount debug insns.
(loop_single_full_bb_p): Skip debug insns.
(sms_schedule): Likewise.
(sms_schedule_by_order): Likewise.
(ps_has_conflicts): Likewise.
* caller-save.c (refmarker_fn): New.
(save_call_clobbered_regs): Replace regs with saved mem in
debug insns.
(mark_referenced_regs): Take pointer, mark and arg. Adjust.
Call refmarker_fn mark for hardregnos.
(mark_reg_as_referenced): New.
(replace_reg_with_saved_mem): New.
* ipa-pure-const.c (check_stmt): Skip debug stmts.
* cse.c (cse_insn): Canonicalize debug insns. Skip them when
searching back.
(cse_extended_basic_block): Skip debug insns.
(count_reg_usage): Likewise.
(is_dead_reg): New, split out of...
(set_live_p): ... here.
(insn_live_p): Use it for debug insns.
* tree-stdarg.c (check_all_va_list_escapes): Skip debug stmts.
(execute_optimize_stdarg): Likewise.
* tree-ssa-dom.c (propagate_rhs_into_lhs): Likewise.
* tree-ssa-propagate.c (substitute_and_fold): Don't regard
changes in debug stmts as changes.
* sel-sched.c (moving_insn_creates_bookkeeping_block_p): New.
(moveup_expr): Don't move across debug insns. Don't move
debug insn if it would create a bookkeeping block.
(moveup_expr_cached): Don't use cache for debug insns that
are heads of blocks.
(compute_av_set_inside_bb): Skip debug insns.
(sel_rank_for_schedule): Schedule debug insns first. Remove
dead code.
(block_valid_for_bookkeeping_p); Support lax searches.
(create_block_for_bookkeeping): Adjust block numbers when
encountering debug-only blocks.
(find_place_for_bookkeeping): Deal with debug-only blocks.
(generate_bookkeeping_insn): Accept no place to insert.
(remove_temp_moveop_nops): New argument full_tidying.
(prepare_place_to_insert): Deal with debug insns.
(advance_state_on_fence): Debug insns don't start cycles.
(update_boundaries): Take fence as argument. Deal with
debug insns.
(schedule_expr_on_boundary): No full_tidying on debug insns.
(fill_insns): Deal with debug insns.
(track_scheduled_insns_and_blocks): Don't count debug insns.
(need_nop_to_preserve_insn_bb): New, split out of...
(remove_insn_from_stream): ... this.
(fur_orig_expr_not_found): Skip debug insns.
* rtl.def (VALUE): Move up.
(DEBUG_INSN): New.
* tree-ssa-sink.c (all_immediate_uses_same_place): Skip debug
stmts.
(nearest_common_dominator_of_uses): Take debug_stmts argument.
Set it if debug stmts are found.
(statement_sink_location): Skip debug stmts. Propagate
moving defs into debug stmts.
* ifcvt.c (first_active_insn): Skip debug insns.
(last_active_insns): Likewise.
(cond_exec_process_insns): Likewise.
(noce_process_if_block): Likewise.
(check_cond_move_block): Likewise.
(cond_move_convert_if_block): Likewise.
(block_jumps_and_fallthru_p): Likewise.
(dead_or_predicable): Likewise.
* dwarf2out.c (debug_str_hash_forced): New.
(find_AT_string): Add comment.
(gen_label_for_indirect_string): New.
(get_debug_string_label): New.
(AT_string_form): Use it.
(mem_loc_descriptor): Handle non-TLS symbols. Handle MINUS , DIV,
MOD, AND, IOR, XOR, NOT, ABS, NEG, and CONST_STRING. Accept but
discard COMPARE, IF_THEN_ELSE, ROTATE, ROTATERT, TRUNCATE and
several operations that cannot be represented with DWARF opcodes.
(loc_descriptor): Ignore SIGN_EXTEND and ZERO_EXTEND. Require
dwarf_version 4 for DW_OP_implicit_value and DW_OP_stack_value.
(dwarf2out_var_location): Take during-call mark into account.
(output_indirect_string): Update comment. Output if there are
label and references.
(prune_indirect_string): New.
(prune_unused_types): Call it if debug_str_hash_forced.
More in dwarf2out.c, from Jakub Jelinek <jakub@redhat.com>:
(dw_long_long_const): Remove.
(struct dw_val_struct): Change val_long_long type to rtx.
(print_die, attr_checksum, same_dw_val_p, loc_descriptor): Adjust for
val_long_long change to CONST_DOUBLE rtx from a long hi/lo pair.
(output_die): Likewise. Use HOST_BITS_PER_WIDE_INT size of each
component instead of HOST_BITS_PER_LONG.
(output_loc_operands): Likewise. For const8* assert
HOST_BITS_PER_WIDE_INT rather than HOST_BITS_PER_LONG is >= 64.
(output_loc_operands_raw): For const8* assert HOST_BITS_PER_WIDE_INT
rather than HOST_BITS_PER_LONG is >= 64.
(add_AT_long_long): Remove val_hi and val_lo arguments, add
val_const_double.
(size_of_die): Use HOST_BITS_PER_WIDE_INT size multiplier instead of
HOST_BITS_PER_LONG for dw_val_class_long_long.
(add_const_value_attribute): Adjust add_AT_long_long caller. Don't
handle TLS SYMBOL_REFs. If CONST wraps a constant, tail recurse.
(dwarf_stack_op_name): Handle DW_OP_implicit_value and
DW_OP_stack_value.
(size_of_loc_descr, output_loc_operands, output_loc_operands_raw):
Handle DW_OP_implicit_value.
(extract_int): Move prototype earlier.
(mem_loc_descriptor): For SUBREG punt if inner
mode size is wider than DWARF2_ADDR_SIZE. Handle SIGN_EXTEND
and ZERO_EXTEND by DW_OP_shl and DW_OP_shr{a,}. Handle
EQ, NE, GT, GE, LT, LE, GTU, GEU, LTU, LEU, SMIN, SMAX, UMIN,
UMAX, SIGN_EXTRACT, ZERO_EXTRACT.
(loc_descriptor): Compare mode size with DWARF2_ADDR_SIZE
instead of Pmode size.
(loc_descriptor): Add MODE argument. Handle CONST_INT, CONST_DOUBLE,
CONST_VECTOR, CONST, LABEL_REF and SYMBOL_REF if mode != VOIDmode,
attempt to handle other expressions. Don't handle TLS SYMBOL_REFs.
(concat_loc_descriptor, concatn_loc_descriptor,
loc_descriptor_from_tree_1): Adjust loc_descriptor callers.
(add_location_or_const_value_attribute): Likewise. For single
location loc_lists attempt to use add_const_value_attribute
for constant decls. Add DW_AT_const_value even if
NOTE_VAR_LOCATION is VAR_LOCATION with CONSTANT_P or CONST_STRING
in its expression.
* cfgbuild.c (inside_basic_block_p): Handle debug insns.
(control_flow_insn_p): Likewise.
* tree-parloops.c (eliminate_local_variables_stmt): Handle debug
stmt.
(separate_decls_in_region_debug_bind): New.
(separate_decls_in_region): Process debug bind stmts afterwards.
* recog.c (verify_changes): Handle debug insns.
(extract_insn): Likewise.
(peephole2_optimize): Skip debug insns.
* dse.c (scan_insn): Skip debug insns.
* sel-sched-ir.c (return_nop_to_pool): Take full_tidying argument.
Pass it on.
(setup_id_for_insn): Handle debug insns.
(maybe_tidy_empty_bb): Adjust whitespace.
(tidy_control_flow): Skip debug insns.
(sel_remove_insn): Adjust for debug insns.
(sel_estimate_number_of_insns): Skip debug insns.
(create_insn_rtx_from_pattern): Handle debug insns.
(create_copy_of_insn_rtx): Likewise.
* sel-sched-.h (sel_bb_end): Declare.
(sel_bb_empty_or_nop_p): New.
(get_all_loop_exits): Use it.
(_eligible_successor_edge_p): Likewise.
(return_nop_to_pool): Adjust.
* tree-eh.c (tre_empty_eh_handler_p): Skip debug stmts.
* ira-lives.c (process_bb_node_lives): Skip debug insns.
* gimple-pretty-print.c (dump_gimple_debug): New.
(dump_gimple_stmt): Use it.
(dump_bb_header): Skip gimple debug stmts.
* regmove.c (optimize_reg_copy_1): Discount debug insns.
(fixup_match_2): Likewise.
(regmove_backward_pass): Likewise. Simplify combined
replacement. Handle debug insns.
* function.c (instantiate_virtual_regs): Handle debug insns.
* function.h (struct emit_status): Add x_cur_debug_insn_uid.
* print-rtl.h: Include cselib.h.
(print_rtx): Print VALUEs. Split out and recurse for
VAR_LOCATIONs.
* df.h (df_inns_rescan_debug_internal): Declare.
* gcse.c (alloc_hash_table): Estimate n_insns.
(cprop_insn): Don't regard debug insns as changes.
(bypass_conditional_jumps): Skip debug insns.
(one_pre_gcse_pass): Adjust.
(one_code_hoisting_pass): Likewise.
(compute_ld_motion_mems): Skip debug insns.
(one_cprop_pass): Adjust.
* tree-if-conv.c (tree_if_convert_stmt): Reset debug stmts.
(if_convertible_stmt_p): Handle debug stmts.
* init-regs.c (initialize_uninitialized_regs): Skip debug insns.
* tree-vect-loop.c (vect_is_simple_reduction): Skip debug stmts.
* ira-build.c (create_bb_allocnos): Skip debug insns.
* tree-flow-inline.h (has_zero_uses): Discount debug stmts.
(has_single_use): Likewise.
(single_imm_use): Likewise.
(num_imm_uses): Likewise.
* tree-ssa-phiopt.c (empty_block_p): Skip debug stmts.
* tree-ssa-coalesce.c (build_ssa_conflict_graph): Skip debug stmts.
(create_outofssa_var_map): Likewise.
* lower-subreg.c (adjust_decomposed_uses): New.
(resolve_debug): New.
(decompose_multiword_subregs): Use it.
* tree-dfa.c (find_referenced_vars): Skip debug stmts.
* emit-rtl.c: Include params.h.
(cur_debug_insn_uid): Define.
(set_new_first_and_last_insn): Set cur_debug_insn_uid too.
(copy_rtx_if_shared_1): Handle debug insns.
(reset_used_flags): Likewise.
(set_used_flags): LIkewise.
(get_max_insn_count): New.
(next_nondebug_insn): New.
(prev_nondebug_insn): New.
(make_debug_insn_raw): New.
(emit_insn_before_noloc): Handle debug insns.
(emit_jump_insn_before_noloc): Likewise.
(emit_call_insn_before_noloc): Likewise.
(emit_debug_insn_before_noloc): New.
(emit_insn_after_noloc): Handle debug insns.
(emit_jump_insn_after_noloc): Likewise.
(emit_call_insn_after_noloc): Likewise.
(emit_debug_insn_after_noloc): Likewise.
(emit_insn_after): Take loc from earlier non-debug insn.
(emit_jump_insn_after): Likewise.
(emit_call_insn_after): Likewise.
(emit_debug_insn_after_setloc): New.
(emit_debug_insn_after): New.
(emit_insn_before): Take loc from later non-debug insn.
(emit_jump_insn_before): Likewise.
(emit_call_insn_before): Likewise.
(emit_debug_insn_before_setloc): New.
(emit_debug_insn_before): New.
(emit_insn): Handle debug insns.
(emit_debug_insn): New.
(emit_jump_insn): Handle debug insns.
(emit_call_insn): Likewise.
(emit): Likewise.
(init_emit): Take min-nondebug-insn-uid into account.
Initialize cur_debug_insn_uid.
(emit_copy_of_insn_after): Handle debug insns.
* cfgexpand.c (gimple_assign_rhs_to_tree): Do not overwrite
location of single rhs in place.
(maybe_dump_rtl_for_gimple_stmt): Dump lineno.
(floor_sdiv_adjust): New.
(cell_sdiv_adjust): New.
(cell_udiv_adjust): New.
(round_sdiv_adjust): New.
(round_udiv_adjust): New.
(wrap_constant): Moved from cselib.
(unwrap_constant): New.
(expand_debug_expr): New.
(expand_debug_locations): New.
(expand_gimple_basic_block): Drop hiding redeclaration. Expand
debug bind stmts.
(gimple_expand_cfg): Expand debug locations.
* cselib.c: Include tree-pass.h.
(struct expand_value_data): New.
(cselib_record_sets_hook): New.
(PRESERVED_VALUE_P, LONG_TERM_PRESERVED_VALUE_P): New.
(cselib_clear_table): Move, and implemnet in terms of...
(cselib_reset_table_with_next_value): ... this.
(cselib_get_next_unknown_value): New.
(discard_useless_locs): Don't discard preserved values.
(cselib_preserve_value): New.
(cselib_preserved_value_p): New.
(cselib_preserve_definitely): New.
(cselib_clear_preserve): New.
(cselib_preserve_only_values): New.
(new_cselib_val): Take rtx argument. Dump it in details.
(cselib_lookup_mem): Adjust.
(expand_loc): Take regs_active in struct. Adjust. Silence
dumps unless details are requested.
(cselib_expand_value_rtx_cb): New.
(cselib_expand_value_rtx): Rename and reimplment in terms of...
(cselib_expand_value_rtx_1): ... this. Adjust. Silence dumps
without details. Copy more subregs. Try to resolve values
using a callback. Wrap constants.
(cselib_subst_to_values): Adjust.
(cselib_log_lookup): New.
(cselib_lookup): Call it.
(cselib_invalidate_regno): Don't count preserved values as
useless.
(cselib_invalidate_mem): Likewise.
(cselib_record_set): Likewise.
(struct set): Renamed to cselib_set, moved to cselib.h.
(cselib_record_sets): Adjust. Call hook.
(cselib_process_insn): Reset table when it would be cleared.
(dump_cselib_val): New.
(dump_cselib_table): New.
* tree-cfgcleanup.c (tree_forwarded_block_p): Skip debug stmts.
(remove_forwarder_block): Support moving debug stmts.
* cselib.h (cselib_record_sets_hook): Declare.
(cselib_expand_callback): New type.
(cselib_expand_value_rtx_cb): Declare.
(cselib_reset_table_with_next_value): Declare.
(cselib_get_next_unknown_value): Declare.
(cselib_preserve_value): Declare.
(cselib_preserved_value_p): Declare.
(cselib_preserve_only_values): Declare.
(dump_cselib_table): Declare.
* cfgcleanup.c (flow_find_cross_jump): Skip debug insns.
(try_crossjump_to_edge): Likewise.
(delete_unreachable_blocks): Remove dominant GIMPLE blocks after
dominated blocks when debug stmts are present.
* simplify-rtx.c (delegitimize_mem_from_attrs): New.
* tree-ssa-live.c (remove_unused_locals): Skip debug stmts.
(set_var_live_on_entry): Likewise.
* loop-invariant.c (find_invariants_bb): Skip debug insns.
* cfglayout.c (curr_location, last_location): Make static.
(set_curr_insn_source_location): Don't avoid bouncing.
(get_curr_insn_source_location): New.
(get_curr_insn_block): New.
(duplicate_insn_chain): Handle debug insns.
* tree-ssa-forwprop.c (forward_propagate_addr_expr): Propagate
into debug stmts.
* common.opt (fcompare-debug): Move to sort order.
(fdump-unnumbered-links): Likewise.
(fvar-tracking-assignments): New.
(fvar-tracking-assignments-toggle): New.
* tree-ssa-dce.c (mark_stmt_necessary): Don't mark blocks
because of debug stmts.
(mark_stmt_if_obviously_necessary): Mark debug stmts.
(eliminate_unnecessary_stmts): Walk dominated blocks before
dominators.
* tree-ssa-ter.c (find_replaceable_in_bb): Skip debug stmts.
* ira.c (memref_used_between_p): Skip debug insns.
(update_equiv_regs): Likewise.
* sched-deps.c (sd_lists_size): Accept empty list.
(sd_init_insn): Mark debug insns.
(sd_finish_insn): Unmark them.
(sd_add_dep): Reject non-debug deps on debug insns.
(fixup_sched_groups): Give debug insns group treatment.
Skip debug insns.
(sched_analyze_reg): Don't mark debug insns for sched before call.
(sched_analyze_2): Handle debug insns.
(sched_analyze_insn): Compute next non-debug insn. Handle debug
insns.
(deps_analyze_insn): Handle debug insns.
(deps_start_bb): Skip debug insns.
(init_deps): Initialize last_debug_insn.
* tree-ssa.c (target_for_debug_bind): New.
(find_released_ssa_name): New.
(propagate_var_def_into_debug_stmts): New.
(propagate_defs_into_debug_stmts): New.
(verify_ssa): Skip debug bind stmts without values.
(warn_uninialized_vars): Skip debug stmts.
* target-def.h (TARGET_DELEGITIMIZE_ADDRESS): Set default.
* rtl.c (rtx_equal_p_cb): Handle VALUEs.
(rtx_equal_p): Likewise.
* ira-costs.c (scan_one_insn): Skip debug insns.
(process_bb_node_for_hard_reg_moves): Likewise.
* rtl.h (DEBUG_INSN_P): New.
(NONDEBUG_INSN_P): New.
(MAY_HAVE_DEBUG_INSNS): New.
(INSN_P): Accept debug insns.
(RTX_FRAME_RELATED_P): Likewise.
(INSN_DELETED_P): Likewise
(PAT_VAR_LOCATION_DECL): New.
(PAT_VAR_LOCATION_LOC): New.
(PAT_VAR_OCATION_STATUS): New.
(NOTE_VAR_LOCATION_DECL): Reimplement.
(NOTE_VAR_LOCATION_LOC): Likewise.
(NOTE_VAR_LOCATION_STATUS): Likewise.
(INSN_VAR_LOCATION): New.
(INSN_VAR_LOCATION_DECL): New.
(INSN_VAR_LOCATION_LOC): New.
(INSN_VAR_LOCATION_STATUS): New.
(gen_rtx_UNKNOWN_VAR_LOC): New.
(VAR_LOC_UNKNOWN_P): New.
(NOTE_DURING_CALL_P): New.
(SCHED_GROUP_P): Accept debug insns.
(emit_debug_insn_before): Declare.
(emit_debug_insn_before_noloc): Declare.
(emit_debug_insn_beore_setloc): Declare.
(emit_debug_insn_after): Declare.
(emit_debug_insn_after_noloc): Declare.
(emit_debug_insn_after_setloc): Declare.
(emit_debug_insn): Declare.
(make_debug_insn_raw): Declare.
(prev_nondebug_insn): Declare.
(next_nondebug_insn): Declare.
(delegitimize_mem_from_attrs): Declare.
(get_max_insn_count): Declare.
(wrap_constant): Declare.
(unwrap_constant): Declare.
(get_curr_insn_source_location): Declare.
(get_curr_insn_block): Declare.
* tree-inline.c (insert_debug_decl_map): New.
(processing_debug_stmt): New.
(remap_decl): Don't create new mappings in debug stmts.
(remap_gimple_op_r): Don't add references in debug stmts.
(copy_tree_body_r): Likewise.
(remap_gimple_stmt): Handle debug bind stmts.
(copy_bb): Skip debug stmts.
(copy_edges_for_bb): Likewise.
(copy_debug_stmt): New.
(copy_debug_stmts): New.
(copy_body): Copy debug stmts at the end.
(insert_init_debug_bind): New.
(insert_init_stmt): Take id. Skip and emit debug stmts.
(setup_one_parameter): Remap variable earlier, register debug
mapping.
(estimate_num_insns): Skip debug stmts.
(expand_call_inline): Preserve debug_map.
(optimize_inline_calls): Check for no debug_stmts left-overs.
(unsave_expr_now): Preserve debug_map.
(copy_gimple_seq_and_replace_locals): Likewise.
(tree_function_versioning): Check for no debug_stmts left-overs.
Init and destroy debug_map as needed. Split edges unconditionally.
(build_duplicate_type): Init and destroy debug_map as needed.
* tree-inline.h: Include gimple.h instead of pointer-set.h.
(struct copy_body_data): Add debug_stmts and debug_map.
* sched-int.h (struct ready_list): Add n_debug.
(struct deps): Add last_debug_insn.
(DEBUG_INSN_SCHED_P): New.
(BOUNDARY_DEBUG_INSN_P): New.
(SCHEDULE_DEBUG_INSN_P): New.
(sd_iterator_cond): Accept empty list.
* combine.c (create_log_links): Skip debug insns.
(combine_instructions): Likewise.
(cleanup_auto_inc_dec): New. From Jakub Jelinek: Make sure the
return value is always unshared.
(struct rtx_subst_pair): New.
(auto_adjust_pair): New.
(propagate_for_debug_subst): New.
(propagate_for_debug): New.
(try_combine): Skip debug insns. Propagate removed defs into
debug insns.
(next_nonnote_nondebug_insn): New.
(distribute_notes): Use it. Skip debug insns.
(distribute_links): Skip debug insns.
* tree-outof-ssa.c (set_location_for_edge): Likewise.
* resource.c (mark_target_live_regs): Likewise.
* var-tracking.c: Include cselib.h and target.h.
(enum micro_operation_type): Add MO_VAL_USE, MO_VAL_LOC, and
MO_VAL_SET.
(micro_operation_type_name): New.
(enum emit_note_where): Add EMIT_NOTE_AFTER_CALL_INSN.
(struct micro_operation_def): Update comments.
(decl_or_value): New type. Use instead of decls.
(struct emit_note_data_def): Add vars.
(struct attrs_def): Use decl_or_value.
(struct variable_tracking_info_def): Add permp, flooded.
(struct location_chain_def): Update comment.
(struct variable_part_def): Use decl_or_value.
(struct variable_def): Make var_part a variable length array.
(valvar_pool): New.
(scratch_regs): New.
(cselib_hook_called): New.
(dv_is_decl_p): New.
(dv_is_value_p): New.
(dv_as_decl): New.
(dv_as_value): New.
(dv_as_opaque): New.
(dv_onepart_p): New.
(dv_pool): New.
(IS_DECL_CODE): New.
(check_value_is_not_decl): New.
(dv_from_decl): New.
(dv_from_value): New.
(dv_htab_hash): New.
(variable_htab_hash): Use it.
(variable_htab_eq): Support values.
(variable_htab_free): Free from the right pool.
(attrs_list_member, attrs_list_insert): Use decl_or_value.
(attrs_list_union): Adjust.
(attrs_list_mpdv_union): New.
(tie_break_pointers): New.
(canon_value_cmp): New.
(unshare_variable): Return possibly-modified slot.
(vars_copy_1): Adjust.
(var_reg_decl_set): Adjust. Split out of...
(var_reg_set): ... this.
(get_init_value): Adjust.
(var_reg_delete_and_set): Adjust.
(var_reg_delete): Adjust.
(var_regno_delete): Adjust.
(var_mem_decl_set): Split out of...
(var_mem_set): ... this.
(var_mem_delete_and_set): Adjust.
(var_mem_delete): Adjust.
(val_store): New.
(val_reset): New.
(val_resolve): New.
(variable_union): Adjust. Speed up merge of 1-part vars.
(variable_canonicalize): Use unshared slot.
(VALUED_RECURSED_INTO): New.
(find_loc_in_1pdv): New.
(struct dfset_merge): New.
(insert_into_intersection): New.
(intersect_loc_chains): New.
(loc_cmp): New.
(canonicalize_loc_order_check): New.
(canonicalize_values_mark): New.
(canonicalize_values_star): New.
(variable_merge_over_cur): New.
(variable_merge_over_src): New.
(dataflow_set_merge): New.
(dataflow_set_equiv_regs): New.
(remove_duplicate_values): New.
(struct dfset_post_merge): New.
(variable_post_merge_new_vals): New.
(variable_post_merge_perm_vals): New.
(dataflow_post_merge_adjust): New.
(find_mem_expr_in_1pdv): New.
(dataflow_set_preserve_mem_locs): New.
(dataflow_set_remove_mem_locs): New.
(dataflow_set_clear_at_call): New.
(onepart_variable_different_p): New.
(variable_different_p): Use it.
(dataflow_set_different_1): Adjust. Make detailed dump
more verbose.
(track_expr_p): Add need_rtl parameter. Don't generate rtl
if not needed.
(track_loc_p): Pass it true.
(struct count_use_info): New.
(find_use_val): New.
(replace_expr_with_values): New.
(log_op_type): New.
(use_type): New, partially split out of...
(count_uses): ... this. Count new micro-ops.
(count_uses_1): Adjust.
(count_stores): Adjust.
(count_with_sets): New.
(VAL_NEEDS_RESOLUTION): New.
(VAL_HOLDS_TRACK_EXPR): New.
(VAL_EXPR_IS_COPIED): New.
(VAL_EXPR_IS_CLOBBERED): New.
(add_uses): Adjust. Generate new micro-ops.
(add_uses_1): Adjust.
(add_stores): Generate new micro-ops.
(add_with_sets): New.
(find_src_status): Adjust.
(find_src_set_src): Adjust.
(compute_bb_dataflow): Use dataflow_set_clear_at_call.
Handle new micro-ops. Canonicalize value equivalances.
(vt_find_locations): Compute total size of hash tables for
dumping. Perform merge for var-tracking-assignments. Don't
disregard single-block loops.
(dump_attrs_list): Handle decl_or_value.
(dump_variable): Take variable. Deal with decl_or_value.
(dump_variable_slot): New.
(dump_vars): Use it.
(dump_dataflow_sets): Adjust.
(set_slot_part): New, extended to support one-part variables
after splitting out of...
(set_variable_part): ... this.
(clobber_slot_part): New, split out of...
(clobber_variable_part): ... this.
(delete_slot_part): New, split out of...
(delete_variable_part): .... this.
(check_wrap_constant): New.
(vt_expand_loc_callback): New.
(vt_expand_loc): New.
(emit_note_insn_var_location): Adjust. Handle values. Handle
EMIT_NOTE_AFTER_CALL_INSN.
(emit_notes_for_differences_1): Adjust. Handle values.
(emit_notes_for_differences_2): Likewise.
(emit_notes_for_differences): Adjust.
(emit_notes_in_bb): Take pointer to set. Emit AFTER_CALL_INSN
notes. Adjust. Handle new micro-ops.
(vt_add_function_parameters): Adjust. Create and bind values.
(vt_initialize): Adjust. Initialize scratch_regs and
valvar_pool, flooded and perm.. Initialize and use cselib. Log
operations. Move some code to count_with_sets and add_with_sets.
(delete_debug_insns): New.
(vt_debug_insns_local): New.
(vt_finalize): Release permp, valvar_pool, scratch_regs. Finish
cselib.
(var_tracking_main): If var-tracking-assignments is enabled
but var-tracking isn't, delete debug insns and leave. Likewise
if we exceed limits or fail the stack adjustments tests, and
after all var-tracking processing.
More in var-tracking, from Jakub Jelinek <jakub@redhat.com>:
(dataflow_set): Add traversed_vars.
(value_chain, const_value_chain): New typedefs.
(value_chain_pool, value_chains): New variables.
(value_chain_htab_hash, value_chain_htab_eq, add_value_chain,
add_value_chains, add_cselib_value_chains, remove_value_chain,
remove_value_chains, remove_cselib_value_chains): New functions.
(shared_hash_find_slot_unshare_1, shared_hash_find_slot_1,
shared_hash_find_slot_noinsert_1, shared_hash_find_1): New
static inlines.
(shared_hash_find_slot_unshare, shared_hash_find_slot,
shared_hash_find_slot_noinsert, shared_hash_find): Update.
(dst_can_be_shared): New variable.
(unshare_variable): Unshare set->vars if shared, use shared_hash_*.
Clear dst_can_be_shared. If set->traversed_vars is non-NULL and
different from set->vars, look up slot again instead of using the
passed in slot.
(dataflow_set_init): Initialize traversed_vars.
(variable_union): Use shared_hash_*. Use initially NO_INSERT
lookup if set->vars is shared. Don't keep slot cleared before
calling unshare_variable. Unshare set->vars if needed. Adjust
unshare_variable callers. Clear dst_can_be_shared if needed.
Even ->refcount == 1 vars must be unshared if set->vars is shared
and var needs to be modified.
(dataflow_set_union): Set traversed_vars during canonicalization.
(VALUE_CHANGED, DECL_CHANGED): Define.
(set_dv_changed, dv_changed_p): New static inlines.
(track_expr_p): Clear DECL_CHANGED.
(dump_dataflow_sets): Set it.
(variable_was_changed): Call set_dv_changed.
(emit_note_insn_var_location): Likewise.
(changed_variables_stack): New variable.
(check_changed_vars_1, check_changed_vars_2): New functions.
(emit_notes_for_changes): Do nothing if changed_variables is
empty. Traverse changed_variables with check_changed_vars_1,
call check_changed_vars_2 on each changed_variables_stack entry.
(emit_notes_in_bb): Add SET argument. Just clear it at the
beginning, use it instead of local &set, don't destroy it at the
end.
(vt_emit_notes): Call dataflow_set_clear early on all
VTI(bb)->out sets, never use them, instead use emit_notes_in_bb
computed set, dataflow_set_clear also VTI(bb)->in when we are
done with the basic block. Initialize changed_variables_stack,
free it afterwards. If ENABLE_CHECKING verify that after noting
differences to an empty set value_chains hash table is empty.
(vt_initialize): Initialize value_chains and value_chain_pool.
(vt_finalize): Delete value_chains htab, free value_chain_pool.
(variable_tracking_main): Call dump_dataflow_sets before calling
vt_emit_notes, not after it.
* tree-flow.h (propagate_defs_into_debug_stmts): Declare.
(propagate_var_def_into_debug_stmts): Declare.
* df-problems.c (df_lr_bb_local_compute): Skip debug insns.
(df_set_note): Reject debug insns.
(df_whole_mw_reg_dead_p): Take added_notes_p argument. Don't
add notes to debug insns.
(df_note_bb_compute): Adjust. Likewise.
(df_simulate_uses): Skip debug insns.
(df_simulate_initialize_backwards): Likewise.
* reg-stack.c (subst_stack_regs_in_debug_insn): New.
(subst_stack_regs_pat): Reject debug insns.
(convert_regs_1): Handle debug insns.
* Makefile.in (TREE_INLINE_H): Take pointer-set.h from GIMPLE_H.
(print-rtl.o): Depend on cselib.h.
(cselib.o): Depend on TREE_PASS_H.
(var-tracking.o): Depend on cselib.h and TARGET_H.
* sched-rgn.c (rgn_estimate_number_of_insns): Discount
debug insns.
(init_ready_list): Skip boundary debug insns.
(add_branch_dependences): Skip debug insns.
(free_block_dependencies): Check for blocks with only debug
insns.
(compute_priorities): Likewise.
* gimple.c (gss_for_code): Handle GIMPLE_DEBUG.
(gimple_build_with_ops_stat): Take subcode as unsigned. Adjust
all callers.
(gimple_build_debug_bind_stat): New.
(empty_body_p): Skip debug stmts.
(gimple_has_side_effects): Likewise.
(gimple_rhs_has_side_effects): Likewise.
* gimple.h (enum gimple_debug_subcode, GIMPLE_DEBUG_BIND): New.
(gimple_build_debug_bind_stat): Declare.
(gimple_build_debug_bind): Define.
(is_gimple_debug): New.
(gimple_debug_bind_p): New.
(gimple_debug_bind_get_var): New.
(gimple_debug_bind_get_value): New.
(gimple_debug_bind_get_value_ptr): New.
(gimple_debug_bind_set_var): New.
(gimple_debug_bind_set_value): New.
(GIMPLE_DEBUG_BIND_NOVALUE): New internal temporary macro.
(gimple_debug_bind_reset_value): New.
(gimple_debug_bind_has_value_p): New.
(gsi_next_nondebug): New.
(gsi_prev_nondebug): New.
(gsi_start_nondebug_bb): New.
(gsi_last_nondebug_bb): New.
* sched-vis.c (print_pattern): Handle VAR_LOCATION.
(print_insn): Handle DEBUG_INSN.
* tree-cfg.c (remove_bb): Walk stmts backwards. Let loc
of first insn prevail.
(first_stmt): Skip debug stmts.
(first_non_label_stmt): Likewise.
(last_stmt): Likewise.
(has_zero_uses_1): New.
(single_imm_use_1): New.
(verify_gimple_debug): New.
(verify_types_in_gimple_stmt): Handle debug stmts.
(verify_stmt): Likewise.
(debug_loop_num): Skip debug stmts.
(remove_edge_and_dominated_blocks): Remove dominators last.
* tree-ssa-reasssoc.c (rewrite_expr_tree): Propagate into
debug stmts.
(linearize_expr): Likewise.
* config/i386/i386.c (ix86_delegitimize_address): Call
default implementation.
* config/ia64/ia64.c (ia64_safe_itanium_class): Handle debug
insns.
(group_barrier_needed): Skip debug insns.
(emit_insn_group_barriers): Likewise.
(emit_all_insn_group_barriers): Likewise.
(ia64_variable_issue): Handle debug insns.
(ia64_dfa_new_cycle): Likewise.
(final_emit_insn_group_barriers): Skip debug insns.
(ia64_dwarf2out_def_steady_cfa): Take frame argument. Don't
def cfa without frame.
(process_set): Likewise.
(process_for_unwind_directive): Pass frame on.
* config/rs6000/rs6000.c (TARGET_DELEGITIMIZE_ADDRESS): Define.
(rs6000_delegitimize_address): New.
(rs6000_debug_adjust_cost): Handle debug insns.
(is_microcoded_insn): Likewise.
(is_cracked_insn): Likewise.
(is_nonpipeline_insn): Likewise.
(insn_must_be_first_in_group): Likewise.
(insn_must_be_last_in_group): Likewise.
(force_new_group): Likewise.
* cfgrtl.c (rtl_split_block): Emit INSN_DELETED note if block
contains only debug insns.
(rtl_merge_blocks): Skip debug insns.
(purge_dead_edges): Likewise.
(rtl_block_ends_with_call_p): Skip debug insns.
* dce.c (deletable_insn_p): Handle VAR_LOCATION.
(mark_reg_dependencies): Skip debug insns.
* params.def (PARAM_MIN_NONDEBUG_INSN_UID): New.
* tree-ssanames.c (release_ssa_name): Propagate def into
debug stmts.
* tree-ssa-threadedge.c
(record_temporary_equivalences_from_stmts): Skip debug stmts.
* regcprop.c (replace_oldest_value_addr): Skip debug insns.
(replace_oldest_value_mem): Use ALL_REGS for debug insns.
(copyprop_hardreg_forward_1): Handle debug insns.
* reload1.c (reload): Skip debug insns. Replace unassigned
pseudos in debug insns with their equivalences.
(eliminate_regs_in_insn): Skip debug insns.
(emit_input_reload_insns): Skip debug insns at first, adjust
them later.
* tree-ssa-operands.c (add_virtual_operand): Reject debug stmts.
(get_indirect_ref_operands): Pass opf_no_vops on.
(get_expr_operands): Likewise. Skip debug stmts.
(parse_ssa_operands): Scan debug insns with opf_no_vops.
gcc/testsuite/ChangeLog:
* gcc.dg/guality/guality.c: New.
* gcc.dg/guality/guality.h: New.
* gcc.dg/guality/guality.exp: New.
* gcc.dg/guality/example.c: New.
* lib/gcc-dg.exp (cleanup-dump): Remove .gk files.
(cleanup-saved-temps): Likewise, .gkd files too.
gcc/cp/ChangeLog:
* cp-tree.h (TFF_NO_OMIT_DEFAULT_TEMPLATE_ARGUMENTS): New.
* cp-lang.c (cxx_dwarf_name): Pass it.
* error.c (count_non_default_template_args): Take flags as
argument. Adjust all callers. Skip counting of default
arguments if the new flag is given.
ChangeLog:
* Makefile.tpl (BUILD_CONFIG): Default to bootstrap-debug.
* Makefile.in: Rebuilt.
contrib/ChangeLog:
* compare-debug: Look for .gkd files and compare them.
config/ChangeLog:
* bootstrap-debug.mk: Add comments.
* bootstrap-debug-big.mk: New.
* bootstrap-debug-lean.mk: New.
* bootstrap-debug-ckovw.mk: Add comments.
* bootstrap-debug-lib.mk: Drop CFLAGS for stages. Use -g0
for TFLAGS in stage1. Drop -fvar-tracking-assignments-toggle.
From-SVN: r151312
2009-09-02 04:42:21 +02:00
|
|
|
|
|
|
|
@item @samp{bootstrap-debug-lean}
|
|
|
|
This option saves disk space compared with @code{bootstrap-debug-big},
|
|
|
|
but at the expense of some recompilation. Instead of saving the dumps
|
|
|
|
of stage2 and stage3 until the final compare, it uses
|
|
|
|
@option{-fcompare-debug} to generate, compare and remove the dumps
|
|
|
|
during stage3, repeating the compilation that already took place in
|
|
|
|
stage2, whose dumps were not saved.
|
|
|
|
|
|
|
|
@item @samp{bootstrap-debug-lib}
|
|
|
|
This option tests executable code invariance over debug information
|
|
|
|
generation on target libraries, just like @code{bootstrap-debug-lean}
|
|
|
|
tests it on host programs. It builds stage3 libraries with
|
|
|
|
@option{-fcompare-debug}, and it can be used along with any of the
|
|
|
|
@code{bootstrap-debug} options above.
|
|
|
|
|
|
|
|
There aren't @code{-lean} or @code{-big} counterparts to this option
|
|
|
|
because most libraries are only build in stage3, so bootstrap compares
|
|
|
|
would not get significant coverage. Moreover, the few libraries built
|
|
|
|
in stage2 are used in stage3 host programs, so we wouldn't want to
|
|
|
|
compile stage2 libraries with different options for comparison purposes.
|
|
|
|
|
|
|
|
@item @samp{bootstrap-debug-ckovw}
|
|
|
|
Arranges for error messages to be issued if the compiler built on any
|
|
|
|
stage is run without the option @option{-fcompare-debug}. This is
|
|
|
|
useful to verify the full @option{-fcompare-debug} testing coverage. It
|
|
|
|
must be used along with @code{bootstrap-debug-lean} and
|
|
|
|
@code{bootstrap-debug-lib}.
|
|
|
|
|
|
|
|
@item @samp{bootstrap-time}
|
|
|
|
Arranges for the run time of each program started by the GCC driver,
|
|
|
|
built in any stage, to be logged to @file{time.log}, in the top level of
|
|
|
|
the build tree.
|
re PR target/37137 (unrecognized command line option "-minterlink-mips16")
ChangeLog:
PR target/37137
* Makefile.def (flags_to_pass): Remove redundant and incomplete
STAGE1_CFLAGS, STAGE2_CFLAGS, STAGE3_CFLAGS, and STAGE4_CFLAGS.
Add FLAGS_FOR_TARGET and BUILD_CONFIG.
(bootstrap_stage): Remove bootstrap-debug custom stages. Turn
stage_configureflags, stage_cflags and stage_libcflags into
explicit Makefile macros.
* Makefile.tpl (HOST_EXPORTS, EXTRA_HOST_FLAGS): Pass GCJ and
GFORTRAN.
(POSTSTAGE1_HOST_EXPORTS): Add XGCC_FLAGS_FOR_TARGET and TFLAGS to
CC. Set CC_FOR_BUILD from CC.
(BASE_TARGET_EXPORTS, RAW_CXX_TARGET_EXPORTS,
NORMAL_TARGET_EXPORTS): Move SYSROOT_CFLAGS_FOR_TARGET and
DEBUG_PREFIX_CFLAGS_FOR_TARGET from CFLAGS and CXXFLAGS to
XGCC_FLAGS_FOR_TARGET. Add it along with TFLAGS to CC, CXX, GCJ,
and GFORTRAN.
(TFLAGS, STAGE_CFLAGS, STAGE_TFLAGS, STAGE_CONFIGURE_FLAGS): New.
(_LIBCFLAGS): Renamed to _TFLAGS.
(do-compare-debug, do-compare3-debug): Drop.
(CC, GCC_FOR_TARGET, CXX_FOR_TARGET, RAW_CXX_FOR_TARGET,
GCJ_FOR_TARGET, GFORTRAN_FOR_TARGET): Remove FLAGS_FOR_TARGET.
(FLAGS_FOR_TARGET, SYSROOT_CFLAGS_FOR_TARGET,
DEBUG_PREFIX_CFLAGS_FOR_TARGET): Move down.
(XGCC_FLAGS_FOR_TARGET): New.
(BASE_FLAGS_TO_PASS): Pass STAGEid_CFLAGS, STAGEid_TFLAGS and TFLAGS.
(EXTRA_HOST_FLAGS): Pass GCJ and GFORTRAN.
(POSTSTAGE1_FLAGS_TO_PASS): Move SYSROOT_CFLAGS_FOR_TARGET and
DEBUG_PREFIX_CFLAGS_FOR_TARGET from CFLAGS, CXXFLAGS, LIBCFLAGS,
LIBCXXFLAGS to XGCC_FLAGS_FOR_TARGET. Add it along with TFLAGS
to CC, CXX, GCJ, and GFORTRAN. Pass XGCC_FLAGS_FOR_TARGET and
TFLAGS.
(BUILD_CONFIG): Include if requested.
(all): Set TFLAGS on bootstrap.
(configure-stageid-prefixmodule): Pass TFLAGS, adjust FLAGS.
(all-stageid-prefixmodule): Likewise.
(do-clean, distclean-stageid): Set TFLAGS.
(restrap): Fix whitespace.
* Makefile.in: Rebuilt.
config/ChangeLog:
* multi.m4: Save CXX, GFORTRAN and GCJ in config.status.
* mt-gnu (CXXFLAGS_FOR_TARGET): Adjust.
* bootstrap-O1.mk: New.
* bootstrap-O3.mk: New.
* bootstrap-debug.mk: New.
gcc/ChangeLog:
PR target/37137
* doc/install.texi (STAGE1_TFLAGS, BUILD_CONFIG): Document.
gcc/java/ChangeLog:
* Make-lang.in (GCJ): Renamed to...
(XGCJ): ... this.
libjava/ChangeLog:
* configure.ac: Insert libgcjdir in the GCJ passed in the
environment, rather than overriding completely.
* configure: Rebuilt.
From-SVN: r147415
2009-05-12 07:49:28 +02:00
|
|
|
|
|
|
|
@end table
|
re PR bootstrap/25670 (build fail with 'make all-gcc')
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25670
* Makefile.tpl ([+compare-target+]): Print explanation messages.
* Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES): New flags_to_pass.
* Makefile.tpl (BASE_FLAGS_TO_PASS): Support optional flags_to_pass.
(EXTRA_GCC_FLAGS): Remove ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES,
BUILD_PREFIX, BUILD_PREFIX_1.
* configure.in: (BUILD_PREFIX, BUILD_PREFIX_1): Don't substitute.
* Makefile.def (bootstrap stage 1): Pass LIBCFLAGS too.
* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Override LIBCFLAGS too.
* Makefile.tpl (configure-stage[+id+]-[+prefix+][+module+],
all-stage[+id+]-[+prefix+][+module+], : Use $(current_stage) instead
of `cat stage_current`. Always provide the `r' and `s' variables.
(clean-stage[+id+]-[+prefix+][+module+]): Likewise, and make it into
a single shell execution.
(configure-[+prefix+][+module+], all-[+prefix+][+module+]): For
bootstrapped modules, make the stage1 module if the build was not
started yet, else build the current stage.
(all-host, all-target): Omit bootstrapped modules (if bootstrapping).
(all-build, all-host, all-target, [+make_target+]-host,
[+make_target+]-target): Do not use \-continued lines.
(target modules): Depend on stage_last, not all-gcc, if bootstrapping.
(current_stage, restrap, stage_last): New.
* Makefile.in: Regenerate.
* configure: Regenerate.
gcc:
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25476
* Makefile.in (LDFLAGS): Define from autoconf substitution.
* Makefile.in (BOOTSTRAPPING): New.
(quickstrap): New definition if BOOTSTRAPPING=yes.
* Makefile.in (CONFIG_LANGUAGES): Substitute all_selected_languages.
* configure.ac: Substitute all_selected_languages with the languages
that were configured. For all the other variables except
lang_specs_files, include all the languages in the tree.
* configure: Regenerate.
* Makefile.in (stmp-fixinc): Copy includes from the prev-gcc directory,
if there is one. Run the commands to run fixincludes in the same
subshell.
* doc/makefile.texi: Document new makefile targets from toplevel bootstrap.
* doc/install.texi: Document exact conventions for searching target tools.
Document --with-build-time-tools. Document toplevel bootstrap. Document
something more about building an Ada cross-compiler. Don't list GNU Make
requirements which affect all platforms.
From-SVN: r111295
2006-02-20 09:29:17 +01:00
|
|
|
|
2001-05-12 00:10:54 +02:00
|
|
|
@section Building a cross compiler
|
|
|
|
|
|
|
|
When building a cross compiler, it is not generally possible to do a
|
|
|
|
3-stage bootstrap of the compiler. This makes for an interesting problem
|
c-tree.texi, [...]: Replace . at end of sentences preceded by a capital letter with @..
* doc/c-tree.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppinternals.texi, doc/extend.texi, doc/gcc.texi,
doc/gcov.texi, doc/install-old.texi, doc/install.texi,
doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi: Replace
. at end of sentences preceded by a capital letter with @..
From-SVN: r43611
2001-06-27 17:04:16 +02:00
|
|
|
as parts of GCC can only be built with GCC@.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2009-09-30 02:47:38 +02:00
|
|
|
To build a cross compiler, we recommend first building and installing a
|
2001-05-12 00:10:54 +02:00
|
|
|
native compiler. You can then use the native GCC compiler to build the
|
2001-12-04 09:19:41 +01:00
|
|
|
cross compiler. The installed native compiler needs to be GCC version
|
|
|
|
2.95 or later.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2007-05-22 06:06:06 +02:00
|
|
|
If the cross compiler is to be built with support for the Java
|
|
|
|
programming language and the ability to compile .java source files is
|
|
|
|
desired, the installed native compiler used to build the cross
|
|
|
|
compiler needs to be the same GCC version as the cross compiler. In
|
|
|
|
addition the cross compiler needs to be configured with
|
|
|
|
@option{--with-ecj-jar=@dots{}}.
|
|
|
|
|
2001-05-12 00:10:54 +02:00
|
|
|
Assuming you have already installed a native copy of GCC and configured
|
2001-06-13 15:07:28 +02:00
|
|
|
your cross compiler, issue the command @command{make}, which performs the
|
2001-05-12 00:10:54 +02:00
|
|
|
following steps:
|
|
|
|
|
|
|
|
@itemize @bullet
|
|
|
|
@item
|
2006-04-05 07:21:32 +02:00
|
|
|
Build host tools necessary to build the compiler.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
|
|
|
@item
|
|
|
|
Build target tools for use by the compiler such as binutils (bfd,
|
|
|
|
binutils, gas, gprof, ld, and opcodes)
|
|
|
|
if they have been individually linked or moved into the top level GCC source
|
|
|
|
tree before configuring.
|
|
|
|
|
|
|
|
@item
|
|
|
|
Build the compiler (single stage only).
|
|
|
|
|
|
|
|
@item
|
|
|
|
Build runtime libraries using the compiler from the previous step.
|
|
|
|
@end itemize
|
|
|
|
|
|
|
|
Note that if an error occurs in any step the make process will exit.
|
|
|
|
|
2003-11-05 23:26:58 +01:00
|
|
|
If you are not building GNU binutils in the same source tree as GCC,
|
|
|
|
you will need a cross-assembler and cross-linker installed before
|
|
|
|
configuring GCC@. Put them in the directory
|
|
|
|
@file{@var{prefix}/@var{target}/bin}. Here is a table of the tools
|
|
|
|
you should put in this directory:
|
|
|
|
|
|
|
|
@table @file
|
|
|
|
@item as
|
|
|
|
This should be the cross-assembler.
|
|
|
|
|
|
|
|
@item ld
|
|
|
|
This should be the cross-linker.
|
|
|
|
|
|
|
|
@item ar
|
|
|
|
This should be the cross-archiver: a program which can manipulate
|
|
|
|
archive files (linker libraries) in the target machine's format.
|
|
|
|
|
|
|
|
@item ranlib
|
|
|
|
This should be a program to construct a symbol table in an archive file.
|
|
|
|
@end table
|
|
|
|
|
|
|
|
The installation of GCC will find these programs in that directory,
|
|
|
|
and copy or link them to the proper place to for the cross-compiler to
|
|
|
|
find them when run later.
|
|
|
|
|
|
|
|
The easiest way to provide these files is to build the Binutils package.
|
|
|
|
Configure it with the same @option{--host} and @option{--target}
|
|
|
|
options that you use for configuring GCC, then build and install
|
|
|
|
them. They install their executables automatically into the proper
|
|
|
|
directory. Alas, they do not support all the targets that GCC
|
|
|
|
supports.
|
|
|
|
|
|
|
|
If you are not building a C library in the same source tree as GCC,
|
|
|
|
you should also provide the target libraries and headers before
|
|
|
|
configuring GCC, specifying the directories with
|
|
|
|
@option{--with-sysroot} or @option{--with-headers} and
|
|
|
|
@option{--with-libs}. Many targets also require ``start files'' such
|
|
|
|
as @file{crt0.o} and
|
|
|
|
@file{crtn.o} which are linked into each executable. There may be several
|
|
|
|
alternatives for @file{crt0.o}, for use with profiling or other
|
|
|
|
compilation options. Check your target's definition of
|
|
|
|
@code{STARTFILE_SPEC} to find out what start files it uses.
|
|
|
|
|
2001-05-12 00:10:54 +02:00
|
|
|
@section Building in parallel
|
|
|
|
|
2009-09-30 02:47:38 +02:00
|
|
|
GNU Make 3.80 and above, which is necessary to build GCC, support
|
2006-02-22 14:36:31 +01:00
|
|
|
building in parallel. To activate this, you can use @samp{make -j 2}
|
2011-05-05 01:34:37 +02:00
|
|
|
instead of @samp{make}. You can also specify a bigger number, and
|
re PR bootstrap/25670 (build fail with 'make all-gcc')
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25670
* Makefile.tpl ([+compare-target+]): Print explanation messages.
* Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES): New flags_to_pass.
* Makefile.tpl (BASE_FLAGS_TO_PASS): Support optional flags_to_pass.
(EXTRA_GCC_FLAGS): Remove ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES,
BUILD_PREFIX, BUILD_PREFIX_1.
* configure.in: (BUILD_PREFIX, BUILD_PREFIX_1): Don't substitute.
* Makefile.def (bootstrap stage 1): Pass LIBCFLAGS too.
* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Override LIBCFLAGS too.
* Makefile.tpl (configure-stage[+id+]-[+prefix+][+module+],
all-stage[+id+]-[+prefix+][+module+], : Use $(current_stage) instead
of `cat stage_current`. Always provide the `r' and `s' variables.
(clean-stage[+id+]-[+prefix+][+module+]): Likewise, and make it into
a single shell execution.
(configure-[+prefix+][+module+], all-[+prefix+][+module+]): For
bootstrapped modules, make the stage1 module if the build was not
started yet, else build the current stage.
(all-host, all-target): Omit bootstrapped modules (if bootstrapping).
(all-build, all-host, all-target, [+make_target+]-host,
[+make_target+]-target): Do not use \-continued lines.
(target modules): Depend on stage_last, not all-gcc, if bootstrapping.
(current_stage, restrap, stage_last): New.
* Makefile.in: Regenerate.
* configure: Regenerate.
gcc:
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25476
* Makefile.in (LDFLAGS): Define from autoconf substitution.
* Makefile.in (BOOTSTRAPPING): New.
(quickstrap): New definition if BOOTSTRAPPING=yes.
* Makefile.in (CONFIG_LANGUAGES): Substitute all_selected_languages.
* configure.ac: Substitute all_selected_languages with the languages
that were configured. For all the other variables except
lang_specs_files, include all the languages in the tree.
* configure: Regenerate.
* Makefile.in (stmp-fixinc): Copy includes from the prev-gcc directory,
if there is one. Run the commands to run fixincludes in the same
subshell.
* doc/makefile.texi: Document new makefile targets from toplevel bootstrap.
* doc/install.texi: Document exact conventions for searching target tools.
Document --with-build-time-tools. Document toplevel bootstrap. Document
something more about building an Ada cross-compiler. Don't list GNU Make
requirements which affect all platforms.
From-SVN: r111295
2006-02-20 09:29:17 +01:00
|
|
|
in most cases using a value greater than the number of processors in
|
|
|
|
your machine will result in fewer and shorter I/O latency hits, thus
|
|
|
|
improving overall throughput; this is especially true for slow drives
|
|
|
|
and network filesystems.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2001-10-25 00:31:17 +02:00
|
|
|
@section Building the Ada compiler
|
|
|
|
|
|
|
|
In order to build GNAT, the Ada compiler, you need a working GNAT
|
2010-06-23 09:08:46 +02:00
|
|
|
compiler (GCC version 4.0 or later).
|
re PR bootstrap/25670 (build fail with 'make all-gcc')
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25670
* Makefile.tpl ([+compare-target+]): Print explanation messages.
* Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES): New flags_to_pass.
* Makefile.tpl (BASE_FLAGS_TO_PASS): Support optional flags_to_pass.
(EXTRA_GCC_FLAGS): Remove ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES,
BUILD_PREFIX, BUILD_PREFIX_1.
* configure.in: (BUILD_PREFIX, BUILD_PREFIX_1): Don't substitute.
* Makefile.def (bootstrap stage 1): Pass LIBCFLAGS too.
* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Override LIBCFLAGS too.
* Makefile.tpl (configure-stage[+id+]-[+prefix+][+module+],
all-stage[+id+]-[+prefix+][+module+], : Use $(current_stage) instead
of `cat stage_current`. Always provide the `r' and `s' variables.
(clean-stage[+id+]-[+prefix+][+module+]): Likewise, and make it into
a single shell execution.
(configure-[+prefix+][+module+], all-[+prefix+][+module+]): For
bootstrapped modules, make the stage1 module if the build was not
started yet, else build the current stage.
(all-host, all-target): Omit bootstrapped modules (if bootstrapping).
(all-build, all-host, all-target, [+make_target+]-host,
[+make_target+]-target): Do not use \-continued lines.
(target modules): Depend on stage_last, not all-gcc, if bootstrapping.
(current_stage, restrap, stage_last): New.
* Makefile.in: Regenerate.
* configure: Regenerate.
gcc:
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25476
* Makefile.in (LDFLAGS): Define from autoconf substitution.
* Makefile.in (BOOTSTRAPPING): New.
(quickstrap): New definition if BOOTSTRAPPING=yes.
* Makefile.in (CONFIG_LANGUAGES): Substitute all_selected_languages.
* configure.ac: Substitute all_selected_languages with the languages
that were configured. For all the other variables except
lang_specs_files, include all the languages in the tree.
* configure: Regenerate.
* Makefile.in (stmp-fixinc): Copy includes from the prev-gcc directory,
if there is one. Run the commands to run fixincludes in the same
subshell.
* doc/makefile.texi: Document new makefile targets from toplevel bootstrap.
* doc/install.texi: Document exact conventions for searching target tools.
Document --with-build-time-tools. Document toplevel bootstrap. Document
something more about building an Ada cross-compiler. Don't list GNU Make
requirements which affect all platforms.
From-SVN: r111295
2006-02-20 09:29:17 +01:00
|
|
|
This includes GNAT tools such as @command{gnatmake} and
|
|
|
|
@command{gnatlink}, since the Ada front end is written in Ada and
|
|
|
|
uses some GNAT-specific extensions.
|
|
|
|
|
|
|
|
In order to build a cross compiler, it is suggested to install
|
|
|
|
the new compiler as native first, and then use it to build the cross
|
|
|
|
compiler.
|
2001-10-25 00:31:17 +02:00
|
|
|
|
2002-05-02 10:59:10 +02:00
|
|
|
@command{configure} does not test whether the GNAT installation works
|
|
|
|
and has a sufficiently recent version; if too old a GNAT version is
|
|
|
|
installed, the build will fail unless @option{--enable-languages} is
|
|
|
|
used to disable building the Ada front end.
|
2001-10-25 00:31:17 +02:00
|
|
|
|
2007-12-07 15:31:48 +01:00
|
|
|
@env{ADA_INCLUDE_PATH} and @env{ADA_OBJECT_PATH} environment variables
|
|
|
|
must not be set when building the Ada compiler, the Ada tools, or the
|
|
|
|
Ada runtime libraries. You can check that your build environment is clean
|
|
|
|
by verifying that @samp{gnatls -v} lists only one explicit path in each
|
|
|
|
section.
|
|
|
|
|
2003-06-05 18:36:12 +02:00
|
|
|
@section Building with profile feedback
|
|
|
|
|
|
|
|
It is possible to use profile feedback to optimize the compiler itself. This
|
|
|
|
should result in a faster compiler binary. Experiments done on x86 using gcc
|
|
|
|
3.3 showed approximately 7 percent speedup on compiling C programs. To
|
re PR bootstrap/25670 (build fail with 'make all-gcc')
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25670
* Makefile.tpl ([+compare-target+]): Print explanation messages.
* Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES): New flags_to_pass.
* Makefile.tpl (BASE_FLAGS_TO_PASS): Support optional flags_to_pass.
(EXTRA_GCC_FLAGS): Remove ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES,
BUILD_PREFIX, BUILD_PREFIX_1.
* configure.in: (BUILD_PREFIX, BUILD_PREFIX_1): Don't substitute.
* Makefile.def (bootstrap stage 1): Pass LIBCFLAGS too.
* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Override LIBCFLAGS too.
* Makefile.tpl (configure-stage[+id+]-[+prefix+][+module+],
all-stage[+id+]-[+prefix+][+module+], : Use $(current_stage) instead
of `cat stage_current`. Always provide the `r' and `s' variables.
(clean-stage[+id+]-[+prefix+][+module+]): Likewise, and make it into
a single shell execution.
(configure-[+prefix+][+module+], all-[+prefix+][+module+]): For
bootstrapped modules, make the stage1 module if the build was not
started yet, else build the current stage.
(all-host, all-target): Omit bootstrapped modules (if bootstrapping).
(all-build, all-host, all-target, [+make_target+]-host,
[+make_target+]-target): Do not use \-continued lines.
(target modules): Depend on stage_last, not all-gcc, if bootstrapping.
(current_stage, restrap, stage_last): New.
* Makefile.in: Regenerate.
* configure: Regenerate.
gcc:
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25476
* Makefile.in (LDFLAGS): Define from autoconf substitution.
* Makefile.in (BOOTSTRAPPING): New.
(quickstrap): New definition if BOOTSTRAPPING=yes.
* Makefile.in (CONFIG_LANGUAGES): Substitute all_selected_languages.
* configure.ac: Substitute all_selected_languages with the languages
that were configured. For all the other variables except
lang_specs_files, include all the languages in the tree.
* configure: Regenerate.
* Makefile.in (stmp-fixinc): Copy includes from the prev-gcc directory,
if there is one. Run the commands to run fixincludes in the same
subshell.
* doc/makefile.texi: Document new makefile targets from toplevel bootstrap.
* doc/install.texi: Document exact conventions for searching target tools.
Document --with-build-time-tools. Document toplevel bootstrap. Document
something more about building an Ada cross-compiler. Don't list GNU Make
requirements which affect all platforms.
From-SVN: r111295
2006-02-20 09:29:17 +01:00
|
|
|
bootstrap the compiler with profile feedback, use @code{make profiledbootstrap}.
|
2003-06-05 18:36:12 +02:00
|
|
|
|
|
|
|
When @samp{make profiledbootstrap} is run, it will first build a @code{stage1}
|
|
|
|
compiler. This compiler is used to build a @code{stageprofile} compiler
|
|
|
|
instrumented to collect execution counts of instruction and branch
|
|
|
|
probabilities. Then runtime libraries are compiled with profile collected.
|
|
|
|
Finally a @code{stagefeedback} compiler is built using the information collected.
|
|
|
|
|
re PR bootstrap/25670 (build fail with 'make all-gcc')
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25670
* Makefile.tpl ([+compare-target+]): Print explanation messages.
* Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES): New flags_to_pass.
* Makefile.tpl (BASE_FLAGS_TO_PASS): Support optional flags_to_pass.
(EXTRA_GCC_FLAGS): Remove ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES,
BUILD_PREFIX, BUILD_PREFIX_1.
* configure.in: (BUILD_PREFIX, BUILD_PREFIX_1): Don't substitute.
* Makefile.def (bootstrap stage 1): Pass LIBCFLAGS too.
* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Override LIBCFLAGS too.
* Makefile.tpl (configure-stage[+id+]-[+prefix+][+module+],
all-stage[+id+]-[+prefix+][+module+], : Use $(current_stage) instead
of `cat stage_current`. Always provide the `r' and `s' variables.
(clean-stage[+id+]-[+prefix+][+module+]): Likewise, and make it into
a single shell execution.
(configure-[+prefix+][+module+], all-[+prefix+][+module+]): For
bootstrapped modules, make the stage1 module if the build was not
started yet, else build the current stage.
(all-host, all-target): Omit bootstrapped modules (if bootstrapping).
(all-build, all-host, all-target, [+make_target+]-host,
[+make_target+]-target): Do not use \-continued lines.
(target modules): Depend on stage_last, not all-gcc, if bootstrapping.
(current_stage, restrap, stage_last): New.
* Makefile.in: Regenerate.
* configure: Regenerate.
gcc:
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25476
* Makefile.in (LDFLAGS): Define from autoconf substitution.
* Makefile.in (BOOTSTRAPPING): New.
(quickstrap): New definition if BOOTSTRAPPING=yes.
* Makefile.in (CONFIG_LANGUAGES): Substitute all_selected_languages.
* configure.ac: Substitute all_selected_languages with the languages
that were configured. For all the other variables except
lang_specs_files, include all the languages in the tree.
* configure: Regenerate.
* Makefile.in (stmp-fixinc): Copy includes from the prev-gcc directory,
if there is one. Run the commands to run fixincludes in the same
subshell.
* doc/makefile.texi: Document new makefile targets from toplevel bootstrap.
* doc/install.texi: Document exact conventions for searching target tools.
Document --with-build-time-tools. Document toplevel bootstrap. Document
something more about building an Ada cross-compiler. Don't list GNU Make
requirements which affect all platforms.
From-SVN: r111295
2006-02-20 09:29:17 +01:00
|
|
|
Unlike standard bootstrap, several additional restrictions apply. The
|
2003-06-05 18:36:12 +02:00
|
|
|
compiler used to build @code{stage1} needs to support a 64-bit integral type.
|
|
|
|
It is recommended to only use GCC for this. Also parallel make is currently
|
|
|
|
not supported since collisions in profile collecting may occur.
|
|
|
|
|
2001-05-12 00:10:54 +02:00
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-05-12 00:10:54 +02:00
|
|
|
<p>
|
|
|
|
@end html
|
|
|
|
@ifhtml
|
|
|
|
@uref{./index.html,,Return to the GCC Installation page}
|
|
|
|
@end ifhtml
|
|
|
|
@end ifset
|
|
|
|
|
|
|
|
@c ***Testing*****************************************************************
|
2001-06-13 15:07:28 +02:00
|
|
|
@ifnothtml
|
2001-05-12 00:10:54 +02:00
|
|
|
@comment node-name, next, previous, up
|
|
|
|
@node Testing, Final install, Building, Installing GCC
|
2001-06-13 15:07:28 +02:00
|
|
|
@end ifnothtml
|
2001-05-12 00:10:54 +02:00
|
|
|
@ifset testhtml
|
|
|
|
@ifnothtml
|
|
|
|
@chapter Installing GCC: Testing
|
|
|
|
@end ifnothtml
|
|
|
|
@cindex Testing
|
|
|
|
@cindex Installing GCC: Testing
|
|
|
|
@cindex Testsuite
|
|
|
|
|
2002-04-29 22:27:28 +02:00
|
|
|
Before you install GCC, we encourage you to run the testsuites and to
|
|
|
|
compare your results with results from a similar configuration that have
|
|
|
|
been submitted to the
|
|
|
|
@uref{http://gcc.gnu.org/ml/gcc-testresults/,,gcc-testresults mailing list}.
|
2003-03-24 19:27:26 +01:00
|
|
|
Some of these archived results are linked from the build status lists
|
|
|
|
at @uref{http://gcc.gnu.org/buildstat.html}, although not everyone who
|
|
|
|
reports a successful build runs the testsuites and submits the results.
|
2002-04-29 22:27:28 +02:00
|
|
|
This step is optional and may require you to download additional software,
|
|
|
|
but it can give you confidence in your new GCC installation or point out
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
problems before you install and start using your new GCC@.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2001-06-27 01:23:32 +02:00
|
|
|
First, you must have @uref{download.html,,downloaded the testsuites}.
|
2002-04-29 22:27:28 +02:00
|
|
|
These are part of the full distribution, but if you downloaded the
|
|
|
|
``core'' compiler plus any front ends, you must download the testsuites
|
|
|
|
separately.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2002-04-29 22:27:28 +02:00
|
|
|
Second, you must have the testing tools installed. This includes
|
2006-04-05 07:21:32 +02:00
|
|
|
@uref{http://www.gnu.org/software/dejagnu/,,DejaGnu}, Tcl, and Expect;
|
|
|
|
the DejaGnu site has links to these.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2003-02-02 02:52:15 +01:00
|
|
|
If the directories where @command{runtest} and @command{expect} were
|
|
|
|
installed are not in the @env{PATH}, you may need to set the following
|
|
|
|
environment variables appropriately, as in the following example (which
|
|
|
|
assumes that DejaGnu has been installed under @file{/usr/local}):
|
2001-05-12 00:10:54 +02:00
|
|
|
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@smallexample
|
2010-12-20 08:25:51 +01:00
|
|
|
TCL_LIBRARY = /usr/local/share/tcl8.0
|
|
|
|
DEJAGNULIBS = /usr/local/share/dejagnu
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@end smallexample
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2003-02-02 02:52:15 +01:00
|
|
|
(On systems such as Cygwin, these paths are required to be actual
|
2001-05-12 00:10:54 +02:00
|
|
|
paths, not mounts or links; presumably this is due to some lack of
|
2003-02-02 02:52:15 +01:00
|
|
|
portability in the DejaGnu code.)
|
2001-06-11 09:26:33 +02:00
|
|
|
|
2001-05-12 00:10:54 +02:00
|
|
|
|
|
|
|
Finally, you can run the testsuite (which may take a long time):
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@smallexample
|
2010-12-20 08:25:51 +01:00
|
|
|
cd @var{objdir}; make -k check
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@end smallexample
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2003-02-09 14:04:01 +01:00
|
|
|
This will test various components of GCC, such as compiler
|
|
|
|
front ends and runtime libraries. While running the testsuite, DejaGnu
|
|
|
|
might emit some harmless messages resembling
|
c-tree.texi, [...]: Remove trailing whitespace.
* doc/c-tree.texi, doc/cpp.texi, doc/extend.texi,
doc/frontends.texi, doc/gcov.texi, doc/gty.texi, doc/install.texi,
doc/invoke.texi, doc/libgcc.texi, doc/md.texi, doc/rtl.texi,
doc/sourcebuild.texi, doc/standards.texi, doc/tm.texi,
doc/trouble.texi: Remove trailing whitespace.
From-SVN: r76098
2004-01-18 12:57:17 +01:00
|
|
|
@samp{WARNING: Couldn't find the global config file.} or
|
2003-02-09 14:04:01 +01:00
|
|
|
@samp{WARNING: Couldn't find tool init file} that can be ignored.
|
2002-05-17 12:43:03 +02:00
|
|
|
|
2007-08-22 20:31:53 +02:00
|
|
|
If you are testing a cross-compiler, you may want to run the testsuite
|
|
|
|
on a simulator as described at @uref{http://gcc.gnu.org/simtest-howto.html}.
|
|
|
|
|
bugreport.texi, [...]: Avoid some first-person references and patronizing comments.
* doc/bugreport.texi, doc/configterms.texi, doc/contrib.texi,
doc/contribute.texi, doc/cpp.texi, doc/cppinternals.texi,
doc/extend.texi, doc/install.texi, doc/invoke.texi, doc/md.texi,
doc/portability.texi, doc/tree-ssa.texi, doc/trouble.texi: Avoid
some first-person references and patronizing comments. Based on
printed manual.
* doc/invoke.texi: Don't reference fortran@gnu.org.
* doc/trouble.texi (Warning when a non-void function value is
ignored): Rewrite. From Russ Allbery and Chris Devers.
From-SVN: r84034
2004-07-03 01:57:12 +02:00
|
|
|
@section How can you run the testsuite on selected tests?
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2003-02-09 14:04:01 +01:00
|
|
|
In order to run sets of tests selectively, there are targets
|
2012-02-28 18:30:26 +01:00
|
|
|
@samp{make check-gcc} and language specific @samp{make check-c},
|
|
|
|
@samp{make check-c++}, @samp{make check-fortran}, @samp{make check-java},
|
|
|
|
@samp{make check-ada}, @samp{make check-objc}, @samp{make check-obj-c++},
|
|
|
|
@samp{make check-lto}
|
2003-02-09 14:04:01 +01:00
|
|
|
in the @file{gcc} subdirectory of the object directory. You can also
|
|
|
|
just run @samp{make check} in a subdirectory of the object directory.
|
|
|
|
|
|
|
|
|
|
|
|
A more selective way to just run all @command{gcc} execute tests in the
|
|
|
|
testsuite is to use
|
2001-05-12 00:10:54 +02:00
|
|
|
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@smallexample
|
2010-12-20 08:25:51 +01:00
|
|
|
make check-gcc RUNTESTFLAGS="execute.exp @var{other-options}"
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@end smallexample
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2003-02-09 14:04:01 +01:00
|
|
|
Likewise, in order to run only the @command{g++} ``old-deja'' tests in
|
|
|
|
the testsuite with filenames matching @samp{9805*}, you would use
|
2001-05-12 00:10:54 +02:00
|
|
|
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@smallexample
|
2010-12-20 08:25:51 +01:00
|
|
|
make check-g++ RUNTESTFLAGS="old-deja.exp=9805* @var{other-options}"
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@end smallexample
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2001-06-13 15:07:28 +02:00
|
|
|
The @file{*.exp} files are located in the testsuite directories of the GCC
|
|
|
|
source, the most important ones being @file{compile.exp},
|
|
|
|
@file{execute.exp}, @file{dg.exp} and @file{old-deja.exp}.
|
|
|
|
To get a list of the possible @file{*.exp} files, pipe the
|
2001-06-01 20:08:19 +02:00
|
|
|
output of @samp{make check} into a file and look at the
|
2001-06-13 15:07:28 +02:00
|
|
|
@samp{Running @dots{} .exp} lines.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2003-09-19 19:50:26 +02:00
|
|
|
@section Passing options and running multiple testsuites
|
|
|
|
|
|
|
|
You can pass multiple options to the testsuite using the
|
|
|
|
@samp{--target_board} option of DejaGNU, either passed as part of
|
|
|
|
@samp{RUNTESTFLAGS}, or directly to @command{runtest} if you prefer to
|
|
|
|
work outside the makefiles. For example,
|
|
|
|
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@smallexample
|
2010-12-20 08:25:51 +01:00
|
|
|
make check-g++ RUNTESTFLAGS="--target_board=unix/-O3/-fmerge-constants"
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@end smallexample
|
2003-09-19 19:50:26 +02:00
|
|
|
|
|
|
|
will run the standard @command{g++} testsuites (``unix'' is the target name
|
|
|
|
for a standard native testsuite situation), passing
|
2006-12-29 02:39:32 +01:00
|
|
|
@samp{-O3 -fmerge-constants} to the compiler on every test, i.e.,
|
2003-09-19 19:50:26 +02:00
|
|
|
slashes separate options.
|
|
|
|
|
|
|
|
You can run the testsuites multiple times using combinations of options
|
|
|
|
with a syntax similar to the brace expansion of popular shells:
|
|
|
|
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@smallexample
|
2010-12-20 08:25:51 +01:00
|
|
|
@dots{}"--target_board=arm-sim\@{-mhard-float,-msoft-float\@}\@{-O1,-O2,-O3,\@}"
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@end smallexample
|
2003-09-19 19:50:26 +02:00
|
|
|
|
|
|
|
(Note the empty option caused by the trailing comma in the final group.)
|
|
|
|
The following will run each testsuite eight times using the @samp{arm-sim}
|
|
|
|
target, as if you had specified all possible combinations yourself:
|
|
|
|
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@smallexample
|
2010-12-20 08:25:51 +01:00
|
|
|
--target_board=arm-sim/-mhard-float/-O1
|
|
|
|
--target_board=arm-sim/-mhard-float/-O2
|
|
|
|
--target_board=arm-sim/-mhard-float/-O3
|
|
|
|
--target_board=arm-sim/-mhard-float
|
|
|
|
--target_board=arm-sim/-msoft-float/-O1
|
|
|
|
--target_board=arm-sim/-msoft-float/-O2
|
|
|
|
--target_board=arm-sim/-msoft-float/-O3
|
|
|
|
--target_board=arm-sim/-msoft-float
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@end smallexample
|
2003-09-19 19:50:26 +02:00
|
|
|
|
|
|
|
They can be combined as many times as you wish, in arbitrary ways. This
|
|
|
|
list:
|
|
|
|
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@smallexample
|
2010-12-20 08:25:51 +01:00
|
|
|
@dots{}"--target_board=unix/-Wextra\@{-O3,-fno-strength\@}\@{-fomit-frame,\@}"
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@end smallexample
|
2003-09-19 19:50:26 +02:00
|
|
|
|
|
|
|
will generate four combinations, all involving @samp{-Wextra}.
|
|
|
|
|
|
|
|
The disadvantage to this method is that the testsuites are run in serial,
|
|
|
|
which is a waste on multiprocessor systems. For users with GNU Make and
|
|
|
|
a shell which performs brace expansion, you can run the testsuites in
|
|
|
|
parallel by having the shell perform the combinations and @command{make}
|
|
|
|
do the parallel runs. Instead of using @samp{--target_board}, use a
|
|
|
|
special makefile target:
|
|
|
|
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@smallexample
|
2010-12-20 08:25:51 +01:00
|
|
|
make -j@var{N} check-@var{testsuite}//@var{test-target}/@var{option1}/@var{option2}/@dots{}
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@end smallexample
|
2003-09-19 19:50:26 +02:00
|
|
|
|
|
|
|
For example,
|
|
|
|
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@smallexample
|
2010-12-20 08:25:51 +01:00
|
|
|
make -j3 check-gcc//sh-hms-sim/@{-m1,-m2,-m3,-m3e,-m4@}/@{,-nofpu@}
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@end smallexample
|
2003-09-19 19:50:26 +02:00
|
|
|
|
|
|
|
will run three concurrent ``make-gcc'' testsuites, eventually testing all
|
|
|
|
ten combinations as described above. Note that this is currently only
|
|
|
|
supported in the @file{gcc} subdirectory. (To see how this works, try
|
|
|
|
typing @command{echo} before the example given here.)
|
|
|
|
|
|
|
|
|
|
|
|
@section Additional testing for Java Class Libraries
|
|
|
|
|
2003-06-17 23:28:05 +02:00
|
|
|
The Java runtime tests can be executed via @samp{make check}
|
|
|
|
in the @file{@var{target}/libjava/testsuite} directory in
|
|
|
|
the build tree.
|
2002-11-13 21:55:02 +01:00
|
|
|
|
2007-01-17 21:10:57 +01:00
|
|
|
The @uref{http://sourceware.org/mauve/,,Mauve Project} provides
|
2002-11-13 21:55:02 +01:00
|
|
|
a suite of tests for the Java Class Libraries. This suite can be run
|
|
|
|
as part of libgcj testing by placing the Mauve tree within the libjava
|
|
|
|
testsuite at @file{libjava/testsuite/libjava.mauve/mauve}, or by
|
|
|
|
specifying the location of that tree when invoking @samp{make}, as in
|
|
|
|
@samp{make MAUVEDIR=~/mauve check}.
|
|
|
|
|
2001-05-12 00:10:54 +02:00
|
|
|
@section How to interpret test results
|
|
|
|
|
2003-02-09 14:04:01 +01:00
|
|
|
The result of running the testsuite are various @file{*.sum} and @file{*.log}
|
2001-06-27 00:47:11 +02:00
|
|
|
files in the testsuite subdirectories. The @file{*.log} files contain a
|
2001-05-12 00:10:54 +02:00
|
|
|
detailed log of the compiler invocations and the corresponding
|
c-tree.texi, [...]: Remove trailing whitespace.
* doc/c-tree.texi, doc/cpp.texi, doc/extend.texi,
doc/frontends.texi, doc/gcov.texi, doc/gty.texi, doc/install.texi,
doc/invoke.texi, doc/libgcc.texi, doc/md.texi, doc/rtl.texi,
doc/sourcebuild.texi, doc/standards.texi, doc/tm.texi,
doc/trouble.texi: Remove trailing whitespace.
From-SVN: r76098
2004-01-18 12:57:17 +01:00
|
|
|
results, the @file{*.sum} files summarize the results. These summaries
|
|
|
|
contain status codes for all tests:
|
2001-05-12 00:10:54 +02:00
|
|
|
|
|
|
|
@itemize @bullet
|
|
|
|
@item
|
|
|
|
PASS: the test passed as expected
|
|
|
|
@item
|
|
|
|
XPASS: the test unexpectedly passed
|
|
|
|
@item
|
|
|
|
FAIL: the test unexpectedly failed
|
|
|
|
@item
|
|
|
|
XFAIL: the test failed as expected
|
|
|
|
@item
|
|
|
|
UNSUPPORTED: the test is not supported on this platform
|
|
|
|
@item
|
|
|
|
ERROR: the testsuite detected an error
|
|
|
|
@item
|
|
|
|
WARNING: the testsuite detected a possible problem
|
|
|
|
@end itemize
|
|
|
|
|
2001-06-01 20:08:19 +02:00
|
|
|
It is normal for some tests to report unexpected failures. At the
|
bugreport.texi, [...]: Avoid some first-person references and patronizing comments.
* doc/bugreport.texi, doc/configterms.texi, doc/contrib.texi,
doc/contribute.texi, doc/cpp.texi, doc/cppinternals.texi,
doc/extend.texi, doc/install.texi, doc/invoke.texi, doc/md.texi,
doc/portability.texi, doc/tree-ssa.texi, doc/trouble.texi: Avoid
some first-person references and patronizing comments. Based on
printed manual.
* doc/invoke.texi: Don't reference fortran@gnu.org.
* doc/trouble.texi (Warning when a non-void function value is
ignored): Rewrite. From Russ Allbery and Chris Devers.
From-SVN: r84034
2004-07-03 01:57:12 +02:00
|
|
|
current time the testing harness does not allow fine grained control
|
|
|
|
over whether or not a test is expected to fail. This problem should
|
|
|
|
be fixed in future releases.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
|
|
|
|
|
|
|
@section Submitting test results
|
|
|
|
|
|
|
|
If you want to report the results to the GCC project, use the
|
2001-06-27 00:47:11 +02:00
|
|
|
@file{contrib/test_summary} shell script. Start it in the @var{objdir} with
|
2001-05-12 00:10:54 +02:00
|
|
|
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@smallexample
|
2010-12-20 08:25:51 +01:00
|
|
|
@var{srcdir}/contrib/test_summary -p your_commentary.txt \
|
|
|
|
-m gcc-testresults@@gcc.gnu.org |sh
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@end smallexample
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2001-06-13 15:07:28 +02:00
|
|
|
This script uses the @command{Mail} program to send the results, so
|
2001-06-27 00:47:11 +02:00
|
|
|
make sure it is in your @env{PATH}. The file @file{your_commentary.txt} is
|
2001-05-12 00:10:54 +02:00
|
|
|
prepended to the testsuite summary and should contain any special
|
2001-06-27 00:47:11 +02:00
|
|
|
remarks you have on your results or your build environment. Please
|
2001-05-12 00:10:54 +02:00
|
|
|
do not edit the testsuite result block or the subject line, as these
|
2003-02-01 00:58:30 +01:00
|
|
|
messages may be automatically processed.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2001-12-04 10:21:56 +01:00
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-12-04 10:21:56 +01:00
|
|
|
<p>
|
|
|
|
@end html
|
|
|
|
@ifhtml
|
|
|
|
@uref{./index.html,,Return to the GCC Installation page}
|
|
|
|
@end ifhtml
|
2001-05-12 00:10:54 +02:00
|
|
|
@end ifset
|
|
|
|
|
|
|
|
@c ***Final install***********************************************************
|
2001-06-13 15:07:28 +02:00
|
|
|
@ifnothtml
|
2001-05-12 00:10:54 +02:00
|
|
|
@comment node-name, next, previous, up
|
|
|
|
@node Final install, , Testing, Installing GCC
|
2001-06-13 15:07:28 +02:00
|
|
|
@end ifnothtml
|
2001-05-12 00:10:54 +02:00
|
|
|
@ifset finalinstallhtml
|
|
|
|
@ifnothtml
|
|
|
|
@chapter Installing GCC: Final installation
|
|
|
|
@end ifnothtml
|
|
|
|
|
2001-07-02 20:08:42 +02:00
|
|
|
Now that GCC has been built (and optionally tested), you can install it with
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@smallexample
|
PR other/46202: implement install-strip.
/:
PR other/46202
* configure.ac: Fix just-built in-tree STRIP name to be
binutils/strip-new.
* configure: Regenerate.
* Makefile.def (install-strip-gcc, install-strip-binutils)
(install-strip-opcodes, install-strip-ld, install-strip-itcl)
(install-strip-sid): Mirror dependencies on non-strip variants
of these targets on the respective -strip prerequisites.
* Makefile.tpl (install-strip, install-strip-host)
(install-strip-target): New targets.
(install-strip-[+module+], install-strip-target-[+module+]):
New targets.
* Makefile.in: Regenerate.
gcc/:
PR other/46202
* Makefile.in (install_sh, INSTALL_STRIP_PROGRAM): New
variables.
(AR_FOR_TARGET, RANLIB_FOR_TARGET, STRIP_FOR_TARGET): Fix
shell quoting.
(STRIP_FOR_TARGET): Look for in-tree strip under name strip-new.
(install-strip): New target.
(STRIPPROG): New variable, exported if STRIP is set.
* doc/install.texi (Final install): Minor markup and code style
fixes. Document install-strip target.
fixincludes/:
PR other/46202
* Makefile.in (install-strip): New phony target.
(all, check, install): Also mark as phony.
libgcc/:
PR other/46202
* Makefile.in (install-strip): New phony target.
libiberty/:
PR other/46202
* Makefile.in (install-strip): New phony target.
(install): Also mark as phony.
gnattools/:
PR other/46202
* Makefile.in (install-strip): New phony target.
(check, installcheck, info, dvi, pdf, html, install)
(install-info, install-pdf, install-html, mostlyclean)
(clean, distclean, maintainer-clean): Mark phony.
libada/:
PR other/46202
* Makefile.in (install-strip): New phony target.
(check, installcheck, info, dvi, pdf, html, install)
(install-info, install-pdf, install-html, mostlyclean)
(clean, distclean, maintainer-clean): Mark phony.
From-SVN: r166980
2010-11-20 20:37:08 +01:00
|
|
|
cd @var{objdir} && make install
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@end smallexample
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2002-05-17 12:43:03 +02:00
|
|
|
We strongly recommend to install into a target directory where there is
|
2007-01-05 15:40:05 +01:00
|
|
|
no previous version of GCC present. Also, the GNAT runtime should not
|
|
|
|
be stripped, as this would break certain features of the debugger that
|
|
|
|
depend on this debugging information (catching Ada exceptions for
|
|
|
|
instance).
|
2002-05-17 12:43:03 +02:00
|
|
|
|
2001-05-12 00:10:54 +02:00
|
|
|
That step completes the installation of GCC; user level binaries can
|
2003-08-01 23:53:22 +02:00
|
|
|
be found in @file{@var{prefix}/bin} where @var{prefix} is the value
|
|
|
|
you specified with the @option{--prefix} to configure (or
|
|
|
|
@file{/usr/local} by default). (If you specified @option{--bindir},
|
|
|
|
that directory will be used instead; otherwise, if you specified
|
|
|
|
@option{--exec-prefix}, @file{@var{exec-prefix}/bin} will be used.)
|
|
|
|
Headers for the C++ and Java libraries are installed in
|
|
|
|
@file{@var{prefix}/include}; libraries in @file{@var{libdir}}
|
|
|
|
(normally @file{@var{prefix}/lib}); internal parts of the compiler in
|
|
|
|
@file{@var{libdir}/gcc} and @file{@var{libexecdir}/gcc}; documentation
|
|
|
|
in info format in @file{@var{infodir}} (normally
|
|
|
|
@file{@var{prefix}/info}).
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2003-01-29 00:15:16 +01:00
|
|
|
When installing cross-compilers, GCC's executables
|
|
|
|
are not only installed into @file{@var{bindir}}, that
|
|
|
|
is, @file{@var{exec-prefix}/bin}, but additionally into
|
|
|
|
@file{@var{exec-prefix}/@var{target-alias}/bin}, if that directory
|
|
|
|
exists. Typically, such @dfn{tooldirs} hold target-specific
|
|
|
|
binutils, including assembler and linker.
|
|
|
|
|
|
|
|
Installation into a temporary staging area or into a @command{chroot}
|
|
|
|
jail can be achieved with the command
|
|
|
|
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@smallexample
|
2003-01-29 00:15:16 +01:00
|
|
|
make DESTDIR=@var{path-to-rootdir} install
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@end smallexample
|
2003-01-29 00:15:16 +01:00
|
|
|
|
PR other/46202: implement install-strip.
/:
PR other/46202
* configure.ac: Fix just-built in-tree STRIP name to be
binutils/strip-new.
* configure: Regenerate.
* Makefile.def (install-strip-gcc, install-strip-binutils)
(install-strip-opcodes, install-strip-ld, install-strip-itcl)
(install-strip-sid): Mirror dependencies on non-strip variants
of these targets on the respective -strip prerequisites.
* Makefile.tpl (install-strip, install-strip-host)
(install-strip-target): New targets.
(install-strip-[+module+], install-strip-target-[+module+]):
New targets.
* Makefile.in: Regenerate.
gcc/:
PR other/46202
* Makefile.in (install_sh, INSTALL_STRIP_PROGRAM): New
variables.
(AR_FOR_TARGET, RANLIB_FOR_TARGET, STRIP_FOR_TARGET): Fix
shell quoting.
(STRIP_FOR_TARGET): Look for in-tree strip under name strip-new.
(install-strip): New target.
(STRIPPROG): New variable, exported if STRIP is set.
* doc/install.texi (Final install): Minor markup and code style
fixes. Document install-strip target.
fixincludes/:
PR other/46202
* Makefile.in (install-strip): New phony target.
(all, check, install): Also mark as phony.
libgcc/:
PR other/46202
* Makefile.in (install-strip): New phony target.
libiberty/:
PR other/46202
* Makefile.in (install-strip): New phony target.
(install): Also mark as phony.
gnattools/:
PR other/46202
* Makefile.in (install-strip): New phony target.
(check, installcheck, info, dvi, pdf, html, install)
(install-info, install-pdf, install-html, mostlyclean)
(clean, distclean, maintainer-clean): Mark phony.
libada/:
PR other/46202
* Makefile.in (install-strip): New phony target.
(check, installcheck, info, dvi, pdf, html, install)
(install-info, install-pdf, install-html, mostlyclean)
(clean, distclean, maintainer-clean): Mark phony.
From-SVN: r166980
2010-11-20 20:37:08 +01:00
|
|
|
@noindent
|
|
|
|
where @var{path-to-rootdir} is the absolute path of
|
2003-01-29 00:15:16 +01:00
|
|
|
a directory relative to which all installation paths will be
|
|
|
|
interpreted. Note that the directory specified by @code{DESTDIR}
|
|
|
|
need not exist yet; it will be created if necessary.
|
|
|
|
|
|
|
|
There is a subtle point with tooldirs and @code{DESTDIR}:
|
|
|
|
If you relocate a cross-compiler installation with
|
|
|
|
e.g.@: @samp{DESTDIR=@var{rootdir}}, then the directory
|
|
|
|
@file{@var{rootdir}/@var{exec-prefix}/@var{target-alias}/bin} will
|
|
|
|
be filled with duplicated GCC executables only if it already exists,
|
|
|
|
it will not be created otherwise. This is regarded as a feature,
|
|
|
|
not as a bug, because it gives slightly more control to the packagers
|
|
|
|
using the @code{DESTDIR} feature.
|
|
|
|
|
PR other/46202: implement install-strip.
/:
PR other/46202
* configure.ac: Fix just-built in-tree STRIP name to be
binutils/strip-new.
* configure: Regenerate.
* Makefile.def (install-strip-gcc, install-strip-binutils)
(install-strip-opcodes, install-strip-ld, install-strip-itcl)
(install-strip-sid): Mirror dependencies on non-strip variants
of these targets on the respective -strip prerequisites.
* Makefile.tpl (install-strip, install-strip-host)
(install-strip-target): New targets.
(install-strip-[+module+], install-strip-target-[+module+]):
New targets.
* Makefile.in: Regenerate.
gcc/:
PR other/46202
* Makefile.in (install_sh, INSTALL_STRIP_PROGRAM): New
variables.
(AR_FOR_TARGET, RANLIB_FOR_TARGET, STRIP_FOR_TARGET): Fix
shell quoting.
(STRIP_FOR_TARGET): Look for in-tree strip under name strip-new.
(install-strip): New target.
(STRIPPROG): New variable, exported if STRIP is set.
* doc/install.texi (Final install): Minor markup and code style
fixes. Document install-strip target.
fixincludes/:
PR other/46202
* Makefile.in (install-strip): New phony target.
(all, check, install): Also mark as phony.
libgcc/:
PR other/46202
* Makefile.in (install-strip): New phony target.
libiberty/:
PR other/46202
* Makefile.in (install-strip): New phony target.
(install): Also mark as phony.
gnattools/:
PR other/46202
* Makefile.in (install-strip): New phony target.
(check, installcheck, info, dvi, pdf, html, install)
(install-info, install-pdf, install-html, mostlyclean)
(clean, distclean, maintainer-clean): Mark phony.
libada/:
PR other/46202
* Makefile.in (install-strip): New phony target.
(check, installcheck, info, dvi, pdf, html, install)
(install-info, install-pdf, install-html, mostlyclean)
(clean, distclean, maintainer-clean): Mark phony.
From-SVN: r166980
2010-11-20 20:37:08 +01:00
|
|
|
You can install stripped programs and libraries with
|
|
|
|
|
|
|
|
@smallexample
|
|
|
|
make install-strip
|
|
|
|
@end smallexample
|
|
|
|
|
re PR bootstrap/25670 (build fail with 'make all-gcc')
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25670
* Makefile.tpl ([+compare-target+]): Print explanation messages.
* Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES): New flags_to_pass.
* Makefile.tpl (BASE_FLAGS_TO_PASS): Support optional flags_to_pass.
(EXTRA_GCC_FLAGS): Remove ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES,
BUILD_PREFIX, BUILD_PREFIX_1.
* configure.in: (BUILD_PREFIX, BUILD_PREFIX_1): Don't substitute.
* Makefile.def (bootstrap stage 1): Pass LIBCFLAGS too.
* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Override LIBCFLAGS too.
* Makefile.tpl (configure-stage[+id+]-[+prefix+][+module+],
all-stage[+id+]-[+prefix+][+module+], : Use $(current_stage) instead
of `cat stage_current`. Always provide the `r' and `s' variables.
(clean-stage[+id+]-[+prefix+][+module+]): Likewise, and make it into
a single shell execution.
(configure-[+prefix+][+module+], all-[+prefix+][+module+]): For
bootstrapped modules, make the stage1 module if the build was not
started yet, else build the current stage.
(all-host, all-target): Omit bootstrapped modules (if bootstrapping).
(all-build, all-host, all-target, [+make_target+]-host,
[+make_target+]-target): Do not use \-continued lines.
(target modules): Depend on stage_last, not all-gcc, if bootstrapping.
(current_stage, restrap, stage_last): New.
* Makefile.in: Regenerate.
* configure: Regenerate.
gcc:
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25476
* Makefile.in (LDFLAGS): Define from autoconf substitution.
* Makefile.in (BOOTSTRAPPING): New.
(quickstrap): New definition if BOOTSTRAPPING=yes.
* Makefile.in (CONFIG_LANGUAGES): Substitute all_selected_languages.
* configure.ac: Substitute all_selected_languages with the languages
that were configured. For all the other variables except
lang_specs_files, include all the languages in the tree.
* configure: Regenerate.
* Makefile.in (stmp-fixinc): Copy includes from the prev-gcc directory,
if there is one. Run the commands to run fixincludes in the same
subshell.
* doc/makefile.texi: Document new makefile targets from toplevel bootstrap.
* doc/install.texi: Document exact conventions for searching target tools.
Document --with-build-time-tools. Document toplevel bootstrap. Document
something more about building an Ada cross-compiler. Don't list GNU Make
requirements which affect all platforms.
From-SVN: r111295
2006-02-20 09:29:17 +01:00
|
|
|
If you are bootstrapping a released version of GCC then please
|
2002-08-16 23:27:31 +02:00
|
|
|
quickly review the build status page for your release, available from
|
|
|
|
@uref{http://gcc.gnu.org/buildstat.html}.
|
2001-12-10 22:35:29 +01:00
|
|
|
If your system is not listed for the version of GCC that you built,
|
|
|
|
send a note to
|
2001-07-02 20:08:42 +02:00
|
|
|
@email{gcc@@gcc.gnu.org} indicating
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
that you successfully built and installed GCC@.
|
2001-12-10 22:35:29 +01:00
|
|
|
Include the following information:
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2001-12-10 22:35:29 +01:00
|
|
|
@itemize @bullet
|
|
|
|
@item
|
bugreport.texi, [...]: Avoid some first-person references and patronizing comments.
* doc/bugreport.texi, doc/configterms.texi, doc/contrib.texi,
doc/contribute.texi, doc/cpp.texi, doc/cppinternals.texi,
doc/extend.texi, doc/install.texi, doc/invoke.texi, doc/md.texi,
doc/portability.texi, doc/tree-ssa.texi, doc/trouble.texi: Avoid
some first-person references and patronizing comments. Based on
printed manual.
* doc/invoke.texi: Don't reference fortran@gnu.org.
* doc/trouble.texi (Warning when a non-void function value is
ignored): Rewrite. From Russ Allbery and Chris Devers.
From-SVN: r84034
2004-07-03 01:57:12 +02:00
|
|
|
Output from running @file{@var{srcdir}/config.guess}. Do not send
|
2001-12-10 22:35:29 +01:00
|
|
|
that file itself, just the one-line output from running it.
|
|
|
|
|
|
|
|
@item
|
contrib.texi, [...]: Capitalize "gcc", "g++" and "g77" or mark up with appropriate markup.
* doc/contrib.texi, doc/extend.texi, doc/gcov.texi,
doc/install.texi, doc/invoke.texi, doc/makefile.texi,
doc/sourcebuild.texi, doc/tm.texi, doc/trouble.texi: Capitalize
"gcc", "g++" and "g77" or mark up with appropriate markup. Adjust
wording and grammar.
From-SVN: r79482
2004-03-14 23:29:38 +01:00
|
|
|
The output of @samp{gcc -v} for your newly installed @command{gcc}.
|
2001-12-10 22:35:29 +01:00
|
|
|
This tells us which version of GCC you built and the options you passed to
|
|
|
|
configure.
|
|
|
|
|
2002-04-30 20:04:42 +02:00
|
|
|
@item
|
|
|
|
Whether you enabled all languages or a subset of them. If you used a
|
|
|
|
full distribution then this information is part of the configure
|
|
|
|
options in the output of @samp{gcc -v}, but if you downloaded the
|
|
|
|
``core'' compiler plus additional front ends then it isn't apparent
|
|
|
|
which ones you built unless you tell us about it.
|
|
|
|
|
2001-12-10 22:35:29 +01:00
|
|
|
@item
|
|
|
|
If the build was for GNU/Linux, also include:
|
|
|
|
@itemize @bullet
|
|
|
|
@item
|
|
|
|
The distribution name and version (e.g., Red Hat 7.1 or Debian 2.2.3);
|
|
|
|
this information should be available from @file{/etc/issue}.
|
|
|
|
|
|
|
|
@item
|
|
|
|
The version of the Linux kernel, available from @samp{uname --version}
|
|
|
|
or @samp{uname -a}.
|
|
|
|
|
|
|
|
@item
|
|
|
|
The version of glibc you used; for RPM-based systems like Red Hat,
|
2001-09-24 19:29:37 +02:00
|
|
|
Mandrake, and SuSE type @samp{rpm -q glibc} to get the glibc version,
|
|
|
|
and on systems like Debian and Progeny use @samp{dpkg -l libc6}.
|
2001-12-10 22:35:29 +01:00
|
|
|
@end itemize
|
|
|
|
For other systems, you can include similar information if you think it is
|
|
|
|
relevant.
|
|
|
|
|
|
|
|
@item
|
|
|
|
Any other information that you think would be useful to people building
|
|
|
|
GCC on the same configuration. The new entry in the build status list
|
|
|
|
will include a link to the archived copy of your message.
|
|
|
|
@end itemize
|
2001-08-18 00:21:49 +02:00
|
|
|
|
|
|
|
We'd also like to know if the
|
|
|
|
@ifnothtml
|
|
|
|
@ref{Specific, host/target specific installation notes}
|
|
|
|
@end ifnothtml
|
|
|
|
@ifhtml
|
|
|
|
@uref{specific.html,,host/target specific installation notes}
|
|
|
|
@end ifhtml
|
|
|
|
didn't include your host/target information or if that information is
|
|
|
|
incomplete or out of date. Send a note to
|
bugreport.texi, [...]: Avoid some first-person references and patronizing comments.
* doc/bugreport.texi, doc/configterms.texi, doc/contrib.texi,
doc/contribute.texi, doc/cpp.texi, doc/cppinternals.texi,
doc/extend.texi, doc/install.texi, doc/invoke.texi, doc/md.texi,
doc/portability.texi, doc/tree-ssa.texi, doc/trouble.texi: Avoid
some first-person references and patronizing comments. Based on
printed manual.
* doc/invoke.texi: Don't reference fortran@gnu.org.
* doc/trouble.texi (Warning when a non-void function value is
ignored): Rewrite. From Russ Allbery and Chris Devers.
From-SVN: r84034
2004-07-03 01:57:12 +02:00
|
|
|
@email{gcc@@gcc.gnu.org} detailing how the information should be changed.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
bugreport.texi, [...]: Avoid some first-person references and patronizing comments.
* doc/bugreport.texi, doc/configterms.texi, doc/contrib.texi,
doc/contribute.texi, doc/cpp.texi, doc/cppinternals.texi,
doc/extend.texi, doc/install.texi, doc/invoke.texi, doc/md.texi,
doc/portability.texi, doc/tree-ssa.texi, doc/trouble.texi: Avoid
some first-person references and patronizing comments. Based on
printed manual.
* doc/invoke.texi: Don't reference fortran@gnu.org.
* doc/trouble.texi (Warning when a non-void function value is
ignored): Rewrite. From Russ Allbery and Chris Devers.
From-SVN: r84034
2004-07-03 01:57:12 +02:00
|
|
|
If you find a bug, please report it following the
|
2009-10-10 22:46:10 +02:00
|
|
|
@uref{../bugs/,,bug reporting guidelines}.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2001-06-12 21:36:53 +02:00
|
|
|
If you want to print the GCC manuals, do @samp{cd @var{objdir}; make
|
2008-07-24 00:50:42 +02:00
|
|
|
dvi}. You will need to have @command{texi2dvi} (version at least 4.7)
|
2001-06-12 21:36:53 +02:00
|
|
|
and @TeX{} installed. This creates a number of @file{.dvi} files in
|
|
|
|
subdirectories of @file{@var{objdir}}; these may be converted for
|
2006-10-16 21:51:55 +02:00
|
|
|
printing with programs such as @command{dvips}. Alternately, by using
|
|
|
|
@samp{make pdf} in place of @samp{make dvi}, you can create documentation
|
|
|
|
in the form of @file{.pdf} files; this requires @command{texi2pdf}, which
|
|
|
|
is included with Texinfo version 4.8 and later. You can also
|
2009-08-31 00:32:40 +02:00
|
|
|
@uref{http://shop.fsf.org/,,buy printed manuals from the
|
2001-06-12 21:36:53 +02:00
|
|
|
Free Software Foundation}, though such manuals may not be for the most
|
c-tree.texi, [...]: Replace . at end of sentences preceded by a capital letter with @..
* doc/c-tree.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppinternals.texi, doc/extend.texi, doc/gcc.texi,
doc/gcov.texi, doc/install-old.texi, doc/install.texi,
doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi: Replace
. at end of sentences preceded by a capital letter with @..
From-SVN: r43611
2001-06-27 17:04:16 +02:00
|
|
|
recent version of GCC@.
|
2001-06-12 21:36:53 +02:00
|
|
|
|
2004-11-13 08:35:55 +01:00
|
|
|
If you would like to generate online HTML documentation, do @samp{cd
|
2005-04-29 00:53:21 +02:00
|
|
|
@var{objdir}; make html} and HTML will be generated for the gcc manuals in
|
|
|
|
@file{@var{objdir}/gcc/HTML}.
|
2004-11-13 08:35:55 +01:00
|
|
|
|
2001-05-12 00:10:54 +02:00
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-05-12 00:10:54 +02:00
|
|
|
<p>
|
|
|
|
@end html
|
|
|
|
@ifhtml
|
|
|
|
@uref{./index.html,,Return to the GCC Installation page}
|
|
|
|
@end ifhtml
|
|
|
|
@end ifset
|
|
|
|
|
|
|
|
@c ***Binaries****************************************************************
|
2001-06-13 15:07:28 +02:00
|
|
|
@ifnothtml
|
2001-05-12 00:10:54 +02:00
|
|
|
@comment node-name, next, previous, up
|
|
|
|
@node Binaries, Specific, Installing GCC, Top
|
2001-06-13 15:07:28 +02:00
|
|
|
@end ifnothtml
|
2001-05-12 00:10:54 +02:00
|
|
|
@ifset binarieshtml
|
|
|
|
@ifnothtml
|
|
|
|
@chapter Installing GCC: Binaries
|
|
|
|
@end ifnothtml
|
|
|
|
@cindex Binaries
|
|
|
|
@cindex Installing GCC: Binaries
|
|
|
|
|
c-tree.texi, [...]: Replace . at end of sentences preceded by a capital letter with @..
* doc/c-tree.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppinternals.texi, doc/extend.texi, doc/gcc.texi,
doc/gcov.texi, doc/install-old.texi, doc/install.texi,
doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi: Replace
. at end of sentences preceded by a capital letter with @..
From-SVN: r43611
2001-06-27 17:04:16 +02:00
|
|
|
We are often asked about pre-compiled versions of GCC@. While we cannot
|
2001-05-12 00:10:54 +02:00
|
|
|
provide these for all platforms, below you'll find links to binaries for
|
|
|
|
various platforms where creating them by yourself is not easy due to various
|
|
|
|
reasons.
|
|
|
|
|
|
|
|
Please note that we did not create these binaries, nor do we
|
|
|
|
support them. If you have any problems installing them, please
|
|
|
|
contact their makers.
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
@item
|
2001-05-16 16:57:06 +02:00
|
|
|
AIX:
|
|
|
|
@itemize
|
|
|
|
@item
|
2002-08-06 17:08:07 +02:00
|
|
|
@uref{http://www.bullfreeware.com,,Bull's Freeware and Shareware Archive for AIX};
|
2001-05-16 16:57:06 +02:00
|
|
|
|
|
|
|
@item
|
2008-08-11 01:37:04 +02:00
|
|
|
@uref{http://pware.hvcc.edu,,Hudson Valley Community College Open Source Software for IBM System p};
|
2008-03-14 16:24:12 +01:00
|
|
|
|
|
|
|
@item
|
2009-09-12 18:55:00 +02:00
|
|
|
@uref{http://www.perzl.org/aix/,,AIX 5L and 6 Open Source Packages}.
|
2001-05-16 16:57:06 +02:00
|
|
|
@end itemize
|
2001-05-12 00:10:54 +02:00
|
|
|
|
|
|
|
@item
|
2002-06-27 21:08:52 +02:00
|
|
|
DOS---@uref{http://www.delorie.com/djgpp/,,DJGPP}.
|
|
|
|
|
|
|
|
@item
|
2003-06-17 19:03:00 +02:00
|
|
|
Renesas H8/300[HS]---@uref{http://h8300-hms.sourceforge.net/,,GNU
|
|
|
|
Development Tools for the Renesas H8/300[HS] Series}.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2001-09-13 14:33:05 +02:00
|
|
|
@item
|
|
|
|
HP-UX:
|
|
|
|
@itemize
|
2001-05-12 00:10:54 +02:00
|
|
|
@item
|
2010-09-30 06:43:42 +02:00
|
|
|
@uref{http://hpux.connect.org.uk/,,HP-UX Porting Center};
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2001-09-13 14:33:05 +02:00
|
|
|
@item
|
|
|
|
@uref{ftp://sunsite.informatik.rwth-aachen.de/pub/packages/gcc_hpux/,,Binaries for HP-UX 11.00 at Aachen University of Technology}.
|
|
|
|
@end itemize
|
|
|
|
|
2001-05-12 00:10:54 +02:00
|
|
|
@item
|
2001-06-01 20:08:19 +02:00
|
|
|
@uref{http://www.sco.com/skunkware/devtools/index.html#gcc,,SCO
|
2002-06-27 21:08:52 +02:00
|
|
|
OpenServer/Unixware}.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2002-06-27 21:08:52 +02:00
|
|
|
@item
|
2010-09-30 06:43:42 +02:00
|
|
|
Solaris 2 (SPARC, Intel):
|
|
|
|
@itemize
|
|
|
|
@item
|
|
|
|
@uref{http://www.sunfreeware.com/,,Sunfreeware}
|
|
|
|
|
|
|
|
@item
|
|
|
|
@uref{http://www.blastwave.org/,,Blastwave}
|
|
|
|
|
|
|
|
@item
|
|
|
|
@uref{http://www.opencsw.org/,,OpenCSW}
|
|
|
|
|
|
|
|
@item
|
|
|
|
@uref{http://jupiterrise.com/tgcware/,,TGCware}
|
|
|
|
@end itemize
|
2001-05-12 00:10:54 +02:00
|
|
|
|
|
|
|
@item
|
2003-02-01 00:58:30 +01:00
|
|
|
Microsoft Windows:
|
2001-05-12 00:10:54 +02:00
|
|
|
@itemize
|
|
|
|
@item
|
2007-01-17 21:10:57 +01:00
|
|
|
The @uref{http://sourceware.org/cygwin/,,Cygwin} project;
|
2001-05-12 00:10:54 +02:00
|
|
|
@item
|
2002-05-28 23:11:45 +02:00
|
|
|
The @uref{http://www.mingw.org/,,MinGW} project.
|
2001-05-12 00:10:54 +02:00
|
|
|
@end itemize
|
|
|
|
|
|
|
|
@item
|
2003-04-17 16:12:33 +02:00
|
|
|
@uref{ftp://ftp.thewrittenword.com/packages/by-name/,,The
|
|
|
|
Written Word} offers binaries for
|
2008-03-14 16:24:12 +01:00
|
|
|
AIX 4.3.3, 5.1 and 5.2,
|
2003-04-17 16:12:33 +02:00
|
|
|
GNU/Linux (i386),
|
|
|
|
HP-UX 10.20, 11.00, and 11.11, and
|
2008-03-14 16:24:12 +01:00
|
|
|
Solaris/SPARC 2.5.1, 2.6, 7, 8, 9 and 10.
|
2004-07-09 20:06:16 +02:00
|
|
|
|
|
|
|
@item
|
|
|
|
@uref{http://www.openpkg.org/,,OpenPKG} offers binaries for quite a
|
|
|
|
number of platforms.
|
2005-07-29 20:04:34 +02:00
|
|
|
|
|
|
|
@item
|
|
|
|
The @uref{http://gcc.gnu.org/wiki/GFortranBinaries,,GFortran Wiki} has
|
2006-10-16 22:00:56 +02:00
|
|
|
links to GNU Fortran binaries for several platforms.
|
2001-05-12 00:10:54 +02:00
|
|
|
@end itemize
|
|
|
|
|
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-05-12 00:10:54 +02:00
|
|
|
<p>
|
|
|
|
@end html
|
|
|
|
@ifhtml
|
|
|
|
@uref{./index.html,,Return to the GCC Installation page}
|
|
|
|
@end ifhtml
|
|
|
|
@end ifset
|
|
|
|
|
|
|
|
@c ***Specific****************************************************************
|
2001-06-13 15:07:28 +02:00
|
|
|
@ifnothtml
|
2001-05-12 00:10:54 +02:00
|
|
|
@comment node-name, next, previous, up
|
2001-12-07 17:57:28 +01:00
|
|
|
@node Specific, Old, Binaries, Top
|
2001-06-13 15:07:28 +02:00
|
|
|
@end ifnothtml
|
2001-05-12 00:10:54 +02:00
|
|
|
@ifset specifichtml
|
|
|
|
@ifnothtml
|
|
|
|
@chapter Host/target specific installation notes for GCC
|
|
|
|
@end ifnothtml
|
|
|
|
@cindex Specific
|
|
|
|
@cindex Specific installation notes
|
|
|
|
@cindex Target specific installation
|
|
|
|
@cindex Host specific installation
|
|
|
|
@cindex Target specific installation notes
|
|
|
|
|
|
|
|
Please read this document carefully @emph{before} installing the
|
|
|
|
GNU Compiler Collection on your machine.
|
|
|
|
|
2006-04-26 00:08:53 +02:00
|
|
|
Note that this list of install notes is @emph{not} a list of supported
|
|
|
|
hosts or targets. Not all supported hosts and targets are listed
|
|
|
|
here, only the ones that require host-specific or target-specific
|
|
|
|
information are.
|
|
|
|
|
2001-06-02 20:21:37 +02:00
|
|
|
@ifhtml
|
2001-05-12 00:10:54 +02:00
|
|
|
@itemize
|
|
|
|
@item
|
2005-04-16 13:04:30 +02:00
|
|
|
@uref{#alpha-x-x,,alpha*-*-*}
|
2001-05-12 00:10:54 +02:00
|
|
|
@item
|
2010-04-12 20:36:30 +02:00
|
|
|
@uref{#alpha-dec-osf51,,alpha*-dec-osf5.1}
|
2001-05-12 00:10:54 +02:00
|
|
|
@item
|
2011-07-07 11:24:16 +02:00
|
|
|
@uref{#amd64-x-solaris210,,amd64-*-solaris2.10}
|
|
|
|
@item
|
2012-03-02 10:37:30 +01:00
|
|
|
@uref{#arm-x-eabi,,arm-*-eabi}
|
2001-06-03 00:33:30 +02:00
|
|
|
@item
|
2001-05-12 00:10:54 +02:00
|
|
|
@uref{#avr,,avr}
|
|
|
|
@item
|
2005-04-05 13:26:48 +02:00
|
|
|
@uref{#bfin,,Blackfin}
|
|
|
|
@item
|
2001-05-12 00:10:54 +02:00
|
|
|
@uref{#dos,,DOS}
|
|
|
|
@item
|
2005-04-16 13:04:30 +02:00
|
|
|
@uref{#x-x-freebsd,,*-*-freebsd*}
|
install.texi (Specific): Markup, spelling and typo fixes.
* doc/install.texi (Specific): Markup, spelling and typo fixes.
Fixed sorting.
Consistently require binutils 2.11.2, not prereleases.
(Specific, decstation-*): Canonicalize as mips-dec-*.
(Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
always necessary.
(Specific, m68k-altos): Removed reference to README.altos, deleted.
(Specific, mips-*): Reword MIPS C compiler requirements.
(Specific, powerpc*-*-*): New, mention --with-cpu once.
(Specific, sunv5): Removed, obsolete.
From-SVN: r43779
2001-07-05 15:10:59 +02:00
|
|
|
@item
|
2001-05-12 00:10:54 +02:00
|
|
|
@uref{#h8300-hms,,h8300-hms}
|
|
|
|
@item
|
2005-04-16 13:04:30 +02:00
|
|
|
@uref{#hppa-hp-hpux,,hppa*-hp-hpux*}
|
2001-05-12 00:10:54 +02:00
|
|
|
@item
|
2005-04-16 13:04:30 +02:00
|
|
|
@uref{#hppa-hp-hpux10,,hppa*-hp-hpux10}
|
2001-05-12 00:10:54 +02:00
|
|
|
@item
|
2005-04-16 13:04:30 +02:00
|
|
|
@uref{#hppa-hp-hpux11,,hppa*-hp-hpux11}
|
2001-05-12 00:10:54 +02:00
|
|
|
@item
|
2005-04-16 13:04:30 +02:00
|
|
|
@uref{#x-x-linux-gnu,,*-*-linux-gnu}
|
2001-05-12 00:10:54 +02:00
|
|
|
@item
|
2005-04-16 13:04:30 +02:00
|
|
|
@uref{#ix86-x-linux,,i?86-*-linux*}
|
2001-05-12 00:10:54 +02:00
|
|
|
@item
|
2012-03-14 18:08:03 +01:00
|
|
|
@uref{#ix86-x-solaris289,,i?86-*-solaris2.9}
|
2010-07-12 13:32:42 +02:00
|
|
|
@item
|
2005-05-01 15:39:37 +02:00
|
|
|
@uref{#ix86-x-solaris210,,i?86-*-solaris2.10}
|
2005-04-25 16:30:21 +02:00
|
|
|
@item
|
2005-04-16 13:04:30 +02:00
|
|
|
@uref{#ia64-x-linux,,ia64-*-linux}
|
2001-06-03 00:33:30 +02:00
|
|
|
@item
|
2005-04-16 13:04:30 +02:00
|
|
|
@uref{#ia64-x-hpux,,ia64-*-hpux*}
|
2001-09-25 23:17:34 +02:00
|
|
|
@item
|
2005-04-16 13:04:30 +02:00
|
|
|
@uref{#x-ibm-aix,,*-ibm-aix*}
|
2003-07-11 06:59:35 +02:00
|
|
|
@item
|
2005-04-16 13:04:30 +02:00
|
|
|
@uref{#iq2000-x-elf,,iq2000-*-elf}
|
2002-06-30 21:27:48 +02:00
|
|
|
@item
|
2009-11-11 17:43:06 +01:00
|
|
|
@uref{#lm32-x-elf,,lm32-*-elf}
|
|
|
|
@item
|
|
|
|
@uref{#lm32-x-uclinux,,lm32-*-uclinux}
|
|
|
|
@item
|
2005-07-21 01:27:02 +02:00
|
|
|
@uref{#m32c-x-elf,,m32c-*-elf}
|
|
|
|
@item
|
2005-04-16 13:04:30 +02:00
|
|
|
@uref{#m32r-x-elf,,m32r-*-elf}
|
2001-06-03 00:33:30 +02:00
|
|
|
@item
|
2007-01-12 10:56:36 +01:00
|
|
|
@uref{#m68k-x-x,,m68k-*-*}
|
|
|
|
@item
|
2007-01-18 19:33:28 +01:00
|
|
|
@uref{#m68k-uclinux,,m68k-uclinux}
|
|
|
|
@item
|
2009-06-30 01:21:49 +02:00
|
|
|
@uref{#mep-x-elf,,mep-*-elf}
|
|
|
|
@item
|
2010-09-30 20:21:57 +02:00
|
|
|
@uref{#microblaze-x-elf,,microblaze-*-elf}
|
|
|
|
@item
|
2005-04-16 13:04:30 +02:00
|
|
|
@uref{#mips-x-x,,mips-*-*}
|
2001-06-03 00:33:30 +02:00
|
|
|
@item
|
2001-08-03 13:45:39 +02:00
|
|
|
@uref{#mips-sgi-irix5,,mips-sgi-irix5}
|
2001-05-12 00:10:54 +02:00
|
|
|
@item
|
2001-08-03 13:45:39 +02:00
|
|
|
@uref{#mips-sgi-irix6,,mips-sgi-irix6}
|
2001-05-12 00:10:54 +02:00
|
|
|
@item
|
MAINTAINERS (mt port): Remove.
* MAINTAINERS (mt port): Remove.
(sco5, unixware, sco udk): Remove.
(Kean Johnston): Add to Write After Approval.
fixincludes:
* inclhack.def (AAB_svr4_replace_byteorder,
AAB_ultrix_ansi_compat, AAB_ultrix_limits, AAB_ultrix_memory,
libc1_G_va_list, libc1_ifdefd_memx, nested_motorola,
ptx_sys_mc_param_h, sco_regset, sco_static_func, sco_utime,
solaris_mutex_init_1, solaris_socket, solaris_unistd,
solaris_widec, svr4_krnl, ultrix_atexit_param, ultrix_atof_param,
ultrix_const3, ultrix_fix_fixproto, ultrix_ifdef, ultrix_locale,
ultrix_math_ifdef, ultrix_nested_ioctl, ultrix_nested_svc,
ultrix_stat, ultrix_static, ultrix_stdlib, ultrix_strings,
ultrix_strings2, ultrix_sys_time, ultrix_unistd,
unicosmk_restrict, uw7_byteorder_fix, windiss_math1,
windiss_math2, windiss_valist): Remove.
* fixincl.x: Regenerate.
* mkfixinc.sh: (arm-semi-aof, hppa1.1-*-osf*, hppa1.1-*-bsd*,
i370-*-openedition, i?86-*-moss*, i?86-*-uwin*,
powerpc-*-eabiaix*): Remove.
* tests/base/math.h: Update.
* tests/base/pthread.h: Update.
* tests/base/stdio.h: Update.
* tests/base/stdlib.h: Update.
* tests/base/string.h: Update.
* tests/base/strings.h: Update.
* tests/base/sys/file.h: Update.
* tests/base/sys/limits.h: Update.
* tests/base/sys/socket.h: Update.
* tests/base/sys/stat.h: Update.
* tests/base/sys/time.h: Update.
* tests/base/testing.h: Update.
* tests/base/unistd.h: Update.
* tests/base/_G_config.h: Remove.
* tests/base/arpa: Remove directory.
* tests/base/fs: Remove directory.
* tests/base/locale.h: Remove.
* tests/base/machine: Remove directory.
* tests/base/rpc/svc.h: Remove.
* tests/base/sys/ioctl.h: Remove.
* tests/base/sys/regset.h: Remove.
* tests/base/sys/times.h: Remove.
* tests/base/sys/utsname.h: Remove.
* tests/base/widec.h: Remove.
gcc:
* config.gcc (Obsolete configurations): Remove list of
configurations.
(Unsupported targets list): Add *-*-linux*aout*, *-*-linux*libc1*,
*-*-solaris2.[0-6], *-*-solaris2.[0-6].*, *-*-sysv*. Remove other
targets matched by those patterns.
(strongarm*-*-*, ep9312*-*-*, xscale-*-*, parisc*-*-*,
m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
vax-*-ultrix*, xscale-*-elf, xscale-*-coff,
i[34567]86-*-linux*aout*, i[34567]86-*-linux*libc1): Remove.
Make code for Solaris 7 and greater unconditional for Solaris.
(ep9312-*-*, parisc1*, m680[012]0-*-*, parisc*-*-*, mt-*-*):
Remove --with-* handling.
* config/rs6000/sysv4.h (-mwindiss): Remove from all specs.
(LIB_WINDISS_SPEC, CPP_OS_WINDISS_SPEC, STARTFILE_WINDISS_SPEC,
ENDFILE_WINDISS_SPEC, LINK_START_WINDISS_SPEC,
LINK_OS_WINDISS_SPEC): Remove.
* config/rs6000/sysv4.opt (mwindiss): Remove.
* configure.ac (strongarm*-*-*, xscale*-*-*): Remove.
* configure: Regenerate.
* doc/cpp.texi: Don't mention BeOS.
* doc/extend.texi (interrupt): Don't mention MS1.
* doc/install.texi: (i386-@var{any}-sysv, m68k-bull-sysv,
m68k-hp-hpux, m68000-hp-hpux, m68000-att-sysv,
alphaev5-cray-unicosmk*, xscale-*-*, i?86-*-linux*aout,
i?86-*-sco3.2v5*, i?86-*-udk, m68k-hp-hpux, powerpc-*-sysv4,
powerpc-*-sysv4, powerpcle-*-sysv4, *-*-sysv*, vax-dec-ultrix):
Remove.
* doc/invoke.texi (MT Options): Remove.
(-mwindiss): Remove.
(CRIS Options): Remove cris-axis-aout references.
(HPPA Options): Don't mention hppa1.1-*-pro.
* doc/md.texi: (MorphoTech family): Remove.
* libgcc2.c: Don't handle UWIN.
* config/alpha/t-unicosmk: Remove.
* config/alpha/unicosmk.h: Remove.
* config/arm/kaos-arm.h: Remove.
* config/arm/kaos-strongarm.h: Remove.
* config/arm/strongarm-coff.h: Remove.
* config/arm/strongarm-elf.h: Remove.
* config/arm/strongarm-pe.h: Remove.
* config/arm/t-strongarm-pe: Remove.
* config/arm/t-xscale-coff: Remove.
* config/arm/t-xscale-elf: Remove.
* config/arm/xscale-coff.h: Remove.
* config/arm/xscale-elf.h: Remove.
* config/chorus.h: Remove.
* config/cris/aout.h: Remove.
* config/cris/aout.opt: Remove.
* config/cris/t-aout: Remove.
* config/i386/beos-elf.h: Remove.
* config/i386/kaos-i386.h: Remove.
* config/i386/ptx4-i.h: Remove.
* config/i386/sco5.h: Remove.
* config/i386/sco5.opt: Remove.
* config/i386/sysv4-cpp.h: Remove.
* config/i386/sysv5.h: Remove.
* config/i386/t-beos: Remove.
* config/i386/t-sco5: Remove.
* config/i386/t-uwin: Remove.
* config/i386/uwin.asm: Remove.
* config/i386/uwin.h: Remove.
* config/kaos.h: Remove.
* config/mips/windiss.h: Remove.
* config/mt: Remove directory.
* config/pa/pa-osf.h: Remove.
* config/pa/pa-pro-end.h: Remove.
* config/pa/t-pro: Remove.
* config/ptx4.h: Remove.
* config/rs6000/beos.h: Remove.
* config/rs6000/kaos-ppc.h: Remove.
* config/rs6000/t-beos: Remove.
* config/rs6000/windiss.h: Remove.
* config/sh/kaos-sh.h: Remove.
* config/sol2-6.h: Remove.
* config/sparc/sol26-sld.h: Remove.
* config/sparc/sysv4-only.h: Remove.
* config/vax/bsd.h: Remove.
* config/vax/t-memfuncs: Remove.
* config/vax/ultrix.h: Remove.
* config/vax/vaxv.h: Remove.
* config/windiss.h: Remove.
gcc/testsuite:
* g++.dg/abi/arm_cxa_vec1.C: Don't handle xscale*-*-*.
* g++.dg/eh/spbp.C: Don't handle *-*-solaris2.[56]*.
* g++.dg/warn/miss-format-1.C: Don't handle Solaris before Solaris
7.
* gcc.c-torture/compile/981006-1.c: Don't handle xscale*-*-*,
strongarm*-*-* and cris-*-aout*.
* gcc.c-torture/execute/941014-1.x: Don't handle xscale*-*-* and
strongarm*-*-*.
* gcc.dg/20030909-1.c: Don't handle xscale*-*-* and
strongarm*-*-*.
* gcc.dg/20031108-1.c: Don't handle xscale*-*-* and
strongarm*-*-*.
* gcc.dg/20040813-1.c: Don't handle *-*-sysv5*.
* gcc.dg/arm-asm.c: Don't handle strongarm*-*-* and xscale*-*-*.
* gcc.dg/arm-scd42-1.c: Use target arm*-*-*.
* gcc.dg/arm-scd42-3.c: Use target arm*-*-*.
* gcc.dg/cpp/assert4.c: Don't handle BeOS.
* gcc.dg/debug/pr35154.c: Don't handle *-*-sysv5*.
* gcc.dg/intmax_t-1.c: Don't handle *-*-solaris2.5.1 and
xscale*-*-elf*.
* gcc.dg/pragma-align.c: Don't handle i?86-*-sco3.2v5*.
* gcc.dg/pthread-init-2.c: Don't handle *-*-solaris2.5.1.
* gcc.misc-tests/arm-isr.exp: Use target arm*-*-*.
* gcc.target/powerpc/ppc-sdata-1.c: Don't handle powerpc-*-sysv*.
* gcc.target/powerpc/ppc-sdata-2.c: Don't handle powerpc-*-sysv*.
* gcc.target/powerpc/ppc-stackalign-1.c: Don't handle
powerpc-*-sysv*.
* gfortran.dg/debug/pr35154-stabs.f: Don't handle *-*-sysv5*.
* lib/target-supports.exp: Don't handle strongarm*-*-elf,
xscale*-*-elf and *-*-windiss.
* obj-c++.dg/dwarf-2.mm: Don't handle *-*-solaris2.[56]*.
* objc.dg/dwarf-1.m: Don't handle *-*-solaris2.[56]*.
* objc.dg/dwarf-2.m: Don't handle *-*-solaris2.[56]*.
* gcc.dg/mt-loopi1.c: Remove.
gnattools:
* configure.ac (xscale*-wrs-vx*, xscale*-wrs-coff): Remove.
* configure: Regenerate.
libcpp:
* configure.ac (parisc*64*-*-*): Remove.
* configure: Regenerate.
libffi:
* configure.ac (parisc*-*-linux*, powerpc-*-sysv*,
powerpc-*-beos*): Remove.
* configure: Regenerate.
libgcc:
* config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
libjava:
* configure.host (strongarm*-elf, xscale*-elf): Remove.
libstdc++-v3:
* configure.host (xscale, ep9312, m680[246]0, solaris2.5,
solaris2.5.[0-9], solaris2.6, windiss*): Remove.
* crossconfig.m4 (*-solaris2.5, *-solaris2.6, *-windiss*): Remove.
* configure: Regenerate.
* config/os/solaris/solaris2.5: Remove directory.
* config/os/solaris/solaris2.6: Remove directory.
* config/os/windiss: Remove directory.
From-SVN: r136534
2008-06-07 20:00:15 +02:00
|
|
|
@uref{#powerpc-x-x,,powerpc*-*-*}
|
2001-08-06 17:58:46 +02:00
|
|
|
@item
|
2005-04-16 13:04:30 +02:00
|
|
|
@uref{#powerpc-x-darwin,,powerpc-*-darwin*}
|
2001-06-03 00:33:30 +02:00
|
|
|
@item
|
MAINTAINERS (mt port): Remove.
* MAINTAINERS (mt port): Remove.
(sco5, unixware, sco udk): Remove.
(Kean Johnston): Add to Write After Approval.
fixincludes:
* inclhack.def (AAB_svr4_replace_byteorder,
AAB_ultrix_ansi_compat, AAB_ultrix_limits, AAB_ultrix_memory,
libc1_G_va_list, libc1_ifdefd_memx, nested_motorola,
ptx_sys_mc_param_h, sco_regset, sco_static_func, sco_utime,
solaris_mutex_init_1, solaris_socket, solaris_unistd,
solaris_widec, svr4_krnl, ultrix_atexit_param, ultrix_atof_param,
ultrix_const3, ultrix_fix_fixproto, ultrix_ifdef, ultrix_locale,
ultrix_math_ifdef, ultrix_nested_ioctl, ultrix_nested_svc,
ultrix_stat, ultrix_static, ultrix_stdlib, ultrix_strings,
ultrix_strings2, ultrix_sys_time, ultrix_unistd,
unicosmk_restrict, uw7_byteorder_fix, windiss_math1,
windiss_math2, windiss_valist): Remove.
* fixincl.x: Regenerate.
* mkfixinc.sh: (arm-semi-aof, hppa1.1-*-osf*, hppa1.1-*-bsd*,
i370-*-openedition, i?86-*-moss*, i?86-*-uwin*,
powerpc-*-eabiaix*): Remove.
* tests/base/math.h: Update.
* tests/base/pthread.h: Update.
* tests/base/stdio.h: Update.
* tests/base/stdlib.h: Update.
* tests/base/string.h: Update.
* tests/base/strings.h: Update.
* tests/base/sys/file.h: Update.
* tests/base/sys/limits.h: Update.
* tests/base/sys/socket.h: Update.
* tests/base/sys/stat.h: Update.
* tests/base/sys/time.h: Update.
* tests/base/testing.h: Update.
* tests/base/unistd.h: Update.
* tests/base/_G_config.h: Remove.
* tests/base/arpa: Remove directory.
* tests/base/fs: Remove directory.
* tests/base/locale.h: Remove.
* tests/base/machine: Remove directory.
* tests/base/rpc/svc.h: Remove.
* tests/base/sys/ioctl.h: Remove.
* tests/base/sys/regset.h: Remove.
* tests/base/sys/times.h: Remove.
* tests/base/sys/utsname.h: Remove.
* tests/base/widec.h: Remove.
gcc:
* config.gcc (Obsolete configurations): Remove list of
configurations.
(Unsupported targets list): Add *-*-linux*aout*, *-*-linux*libc1*,
*-*-solaris2.[0-6], *-*-solaris2.[0-6].*, *-*-sysv*. Remove other
targets matched by those patterns.
(strongarm*-*-*, ep9312*-*-*, xscale-*-*, parisc*-*-*,
m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
vax-*-ultrix*, xscale-*-elf, xscale-*-coff,
i[34567]86-*-linux*aout*, i[34567]86-*-linux*libc1): Remove.
Make code for Solaris 7 and greater unconditional for Solaris.
(ep9312-*-*, parisc1*, m680[012]0-*-*, parisc*-*-*, mt-*-*):
Remove --with-* handling.
* config/rs6000/sysv4.h (-mwindiss): Remove from all specs.
(LIB_WINDISS_SPEC, CPP_OS_WINDISS_SPEC, STARTFILE_WINDISS_SPEC,
ENDFILE_WINDISS_SPEC, LINK_START_WINDISS_SPEC,
LINK_OS_WINDISS_SPEC): Remove.
* config/rs6000/sysv4.opt (mwindiss): Remove.
* configure.ac (strongarm*-*-*, xscale*-*-*): Remove.
* configure: Regenerate.
* doc/cpp.texi: Don't mention BeOS.
* doc/extend.texi (interrupt): Don't mention MS1.
* doc/install.texi: (i386-@var{any}-sysv, m68k-bull-sysv,
m68k-hp-hpux, m68000-hp-hpux, m68000-att-sysv,
alphaev5-cray-unicosmk*, xscale-*-*, i?86-*-linux*aout,
i?86-*-sco3.2v5*, i?86-*-udk, m68k-hp-hpux, powerpc-*-sysv4,
powerpc-*-sysv4, powerpcle-*-sysv4, *-*-sysv*, vax-dec-ultrix):
Remove.
* doc/invoke.texi (MT Options): Remove.
(-mwindiss): Remove.
(CRIS Options): Remove cris-axis-aout references.
(HPPA Options): Don't mention hppa1.1-*-pro.
* doc/md.texi: (MorphoTech family): Remove.
* libgcc2.c: Don't handle UWIN.
* config/alpha/t-unicosmk: Remove.
* config/alpha/unicosmk.h: Remove.
* config/arm/kaos-arm.h: Remove.
* config/arm/kaos-strongarm.h: Remove.
* config/arm/strongarm-coff.h: Remove.
* config/arm/strongarm-elf.h: Remove.
* config/arm/strongarm-pe.h: Remove.
* config/arm/t-strongarm-pe: Remove.
* config/arm/t-xscale-coff: Remove.
* config/arm/t-xscale-elf: Remove.
* config/arm/xscale-coff.h: Remove.
* config/arm/xscale-elf.h: Remove.
* config/chorus.h: Remove.
* config/cris/aout.h: Remove.
* config/cris/aout.opt: Remove.
* config/cris/t-aout: Remove.
* config/i386/beos-elf.h: Remove.
* config/i386/kaos-i386.h: Remove.
* config/i386/ptx4-i.h: Remove.
* config/i386/sco5.h: Remove.
* config/i386/sco5.opt: Remove.
* config/i386/sysv4-cpp.h: Remove.
* config/i386/sysv5.h: Remove.
* config/i386/t-beos: Remove.
* config/i386/t-sco5: Remove.
* config/i386/t-uwin: Remove.
* config/i386/uwin.asm: Remove.
* config/i386/uwin.h: Remove.
* config/kaos.h: Remove.
* config/mips/windiss.h: Remove.
* config/mt: Remove directory.
* config/pa/pa-osf.h: Remove.
* config/pa/pa-pro-end.h: Remove.
* config/pa/t-pro: Remove.
* config/ptx4.h: Remove.
* config/rs6000/beos.h: Remove.
* config/rs6000/kaos-ppc.h: Remove.
* config/rs6000/t-beos: Remove.
* config/rs6000/windiss.h: Remove.
* config/sh/kaos-sh.h: Remove.
* config/sol2-6.h: Remove.
* config/sparc/sol26-sld.h: Remove.
* config/sparc/sysv4-only.h: Remove.
* config/vax/bsd.h: Remove.
* config/vax/t-memfuncs: Remove.
* config/vax/ultrix.h: Remove.
* config/vax/vaxv.h: Remove.
* config/windiss.h: Remove.
gcc/testsuite:
* g++.dg/abi/arm_cxa_vec1.C: Don't handle xscale*-*-*.
* g++.dg/eh/spbp.C: Don't handle *-*-solaris2.[56]*.
* g++.dg/warn/miss-format-1.C: Don't handle Solaris before Solaris
7.
* gcc.c-torture/compile/981006-1.c: Don't handle xscale*-*-*,
strongarm*-*-* and cris-*-aout*.
* gcc.c-torture/execute/941014-1.x: Don't handle xscale*-*-* and
strongarm*-*-*.
* gcc.dg/20030909-1.c: Don't handle xscale*-*-* and
strongarm*-*-*.
* gcc.dg/20031108-1.c: Don't handle xscale*-*-* and
strongarm*-*-*.
* gcc.dg/20040813-1.c: Don't handle *-*-sysv5*.
* gcc.dg/arm-asm.c: Don't handle strongarm*-*-* and xscale*-*-*.
* gcc.dg/arm-scd42-1.c: Use target arm*-*-*.
* gcc.dg/arm-scd42-3.c: Use target arm*-*-*.
* gcc.dg/cpp/assert4.c: Don't handle BeOS.
* gcc.dg/debug/pr35154.c: Don't handle *-*-sysv5*.
* gcc.dg/intmax_t-1.c: Don't handle *-*-solaris2.5.1 and
xscale*-*-elf*.
* gcc.dg/pragma-align.c: Don't handle i?86-*-sco3.2v5*.
* gcc.dg/pthread-init-2.c: Don't handle *-*-solaris2.5.1.
* gcc.misc-tests/arm-isr.exp: Use target arm*-*-*.
* gcc.target/powerpc/ppc-sdata-1.c: Don't handle powerpc-*-sysv*.
* gcc.target/powerpc/ppc-sdata-2.c: Don't handle powerpc-*-sysv*.
* gcc.target/powerpc/ppc-stackalign-1.c: Don't handle
powerpc-*-sysv*.
* gfortran.dg/debug/pr35154-stabs.f: Don't handle *-*-sysv5*.
* lib/target-supports.exp: Don't handle strongarm*-*-elf,
xscale*-*-elf and *-*-windiss.
* obj-c++.dg/dwarf-2.mm: Don't handle *-*-solaris2.[56]*.
* objc.dg/dwarf-1.m: Don't handle *-*-solaris2.[56]*.
* objc.dg/dwarf-2.m: Don't handle *-*-solaris2.[56]*.
* gcc.dg/mt-loopi1.c: Remove.
gnattools:
* configure.ac (xscale*-wrs-vx*, xscale*-wrs-coff): Remove.
* configure: Regenerate.
libcpp:
* configure.ac (parisc*64*-*-*): Remove.
* configure: Regenerate.
libffi:
* configure.ac (parisc*-*-linux*, powerpc-*-sysv*,
powerpc-*-beos*): Remove.
* configure: Regenerate.
libgcc:
* config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
libjava:
* configure.host (strongarm*-elf, xscale*-elf): Remove.
libstdc++-v3:
* configure.host (xscale, ep9312, m680[246]0, solaris2.5,
solaris2.5.[0-9], solaris2.6, windiss*): Remove.
* crossconfig.m4 (*-solaris2.5, *-solaris2.6, *-windiss*): Remove.
* configure: Regenerate.
* config/os/solaris/solaris2.5: Remove directory.
* config/os/solaris/solaris2.6: Remove directory.
* config/os/windiss: Remove directory.
From-SVN: r136534
2008-06-07 20:00:15 +02:00
|
|
|
@uref{#powerpc-x-elf,,powerpc-*-elf}
|
2001-05-12 00:10:54 +02:00
|
|
|
@item
|
2005-04-16 13:04:30 +02:00
|
|
|
@uref{#powerpc-x-linux-gnu,,powerpc*-*-linux-gnu*}
|
config.gcc: Recognize powerpc-*-netbsd*.
* config.gcc: Recognize powerpc-*-netbsd*.
* doc/install.texi (Host/target specific installation notes for
GCC): Mention powerpc-*-netbsd*.
* config/rs6000/netbsd.h: New file.
(STANDARD_STARTFILE_PREFIX, LINK_SHLIB_SPEC): Redefine.
(LIB_DEFAULT_SPEC, STARTFILE_DEFAULT_SPEC): Redefine.
(ENDFILE_DEFAULT_SPEC, LINK_START_DEFAULT_SPEC): Redefine.
(LINK_OS_DEFAULT_SPEC, CPP_OS_DEFAULT_SPEC): Redefine.
(TARGET_VERSION): Redefine.
* config/rs6000/t-ppccomm (MULTILIB_MATCHES_SYSV): Recognize
mcall-netbsd as a match for mcall-sysv.
(EXTRA_MULTILIB_PARTS): Add ncrti$(objext) and ncrtn$(objext).
(ncrti.S, ncrtn.S): New targets.
($(T)ncrti$(objext), $(T)ncrtn$(objext)): New targets.
* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Recognize
"netbsd' as a V4 ABI.
(ASM_SPEC): Check for -mcall-netbsd.
(CC1_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC): Ditto.
(CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC): Ditto.
(LIB_SPEC, ENDFILE_SPEC): Ditto.
(LIB_NETBSD_SPEC, STARTFILE_NETBSD_SPEC): Define.
(ENDFILE_NETBSD_SPEC, LINK_START_NETBSD_SPEC): Define.
(LINK_OS_NETBSD_SPEC, CPP_OS_NETBSD_SPEC): Define.
(SUBTARGET_EXTRA_SPECS): Add NetBSD specs.
* doc/invoke.texi (Option Summary): Add -mcall-netbsd.
(RS/6000 and PowerPC Options): Mention -mcall-netbsd.
From-SVN: r44552
2001-08-01 21:25:18 +02:00
|
|
|
@item
|
2005-04-16 13:04:30 +02:00
|
|
|
@uref{#powerpc-x-netbsd,,powerpc-*-netbsd*}
|
2001-06-03 00:33:30 +02:00
|
|
|
@item
|
2005-04-16 13:04:30 +02:00
|
|
|
@uref{#powerpc-x-eabisim,,powerpc-*-eabisim}
|
2001-06-03 00:33:30 +02:00
|
|
|
@item
|
2005-04-16 13:04:30 +02:00
|
|
|
@uref{#powerpc-x-eabi,,powerpc-*-eabi}
|
2001-06-03 00:33:30 +02:00
|
|
|
@item
|
MAINTAINERS (mt port): Remove.
* MAINTAINERS (mt port): Remove.
(sco5, unixware, sco udk): Remove.
(Kean Johnston): Add to Write After Approval.
fixincludes:
* inclhack.def (AAB_svr4_replace_byteorder,
AAB_ultrix_ansi_compat, AAB_ultrix_limits, AAB_ultrix_memory,
libc1_G_va_list, libc1_ifdefd_memx, nested_motorola,
ptx_sys_mc_param_h, sco_regset, sco_static_func, sco_utime,
solaris_mutex_init_1, solaris_socket, solaris_unistd,
solaris_widec, svr4_krnl, ultrix_atexit_param, ultrix_atof_param,
ultrix_const3, ultrix_fix_fixproto, ultrix_ifdef, ultrix_locale,
ultrix_math_ifdef, ultrix_nested_ioctl, ultrix_nested_svc,
ultrix_stat, ultrix_static, ultrix_stdlib, ultrix_strings,
ultrix_strings2, ultrix_sys_time, ultrix_unistd,
unicosmk_restrict, uw7_byteorder_fix, windiss_math1,
windiss_math2, windiss_valist): Remove.
* fixincl.x: Regenerate.
* mkfixinc.sh: (arm-semi-aof, hppa1.1-*-osf*, hppa1.1-*-bsd*,
i370-*-openedition, i?86-*-moss*, i?86-*-uwin*,
powerpc-*-eabiaix*): Remove.
* tests/base/math.h: Update.
* tests/base/pthread.h: Update.
* tests/base/stdio.h: Update.
* tests/base/stdlib.h: Update.
* tests/base/string.h: Update.
* tests/base/strings.h: Update.
* tests/base/sys/file.h: Update.
* tests/base/sys/limits.h: Update.
* tests/base/sys/socket.h: Update.
* tests/base/sys/stat.h: Update.
* tests/base/sys/time.h: Update.
* tests/base/testing.h: Update.
* tests/base/unistd.h: Update.
* tests/base/_G_config.h: Remove.
* tests/base/arpa: Remove directory.
* tests/base/fs: Remove directory.
* tests/base/locale.h: Remove.
* tests/base/machine: Remove directory.
* tests/base/rpc/svc.h: Remove.
* tests/base/sys/ioctl.h: Remove.
* tests/base/sys/regset.h: Remove.
* tests/base/sys/times.h: Remove.
* tests/base/sys/utsname.h: Remove.
* tests/base/widec.h: Remove.
gcc:
* config.gcc (Obsolete configurations): Remove list of
configurations.
(Unsupported targets list): Add *-*-linux*aout*, *-*-linux*libc1*,
*-*-solaris2.[0-6], *-*-solaris2.[0-6].*, *-*-sysv*. Remove other
targets matched by those patterns.
(strongarm*-*-*, ep9312*-*-*, xscale-*-*, parisc*-*-*,
m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
vax-*-ultrix*, xscale-*-elf, xscale-*-coff,
i[34567]86-*-linux*aout*, i[34567]86-*-linux*libc1): Remove.
Make code for Solaris 7 and greater unconditional for Solaris.
(ep9312-*-*, parisc1*, m680[012]0-*-*, parisc*-*-*, mt-*-*):
Remove --with-* handling.
* config/rs6000/sysv4.h (-mwindiss): Remove from all specs.
(LIB_WINDISS_SPEC, CPP_OS_WINDISS_SPEC, STARTFILE_WINDISS_SPEC,
ENDFILE_WINDISS_SPEC, LINK_START_WINDISS_SPEC,
LINK_OS_WINDISS_SPEC): Remove.
* config/rs6000/sysv4.opt (mwindiss): Remove.
* configure.ac (strongarm*-*-*, xscale*-*-*): Remove.
* configure: Regenerate.
* doc/cpp.texi: Don't mention BeOS.
* doc/extend.texi (interrupt): Don't mention MS1.
* doc/install.texi: (i386-@var{any}-sysv, m68k-bull-sysv,
m68k-hp-hpux, m68000-hp-hpux, m68000-att-sysv,
alphaev5-cray-unicosmk*, xscale-*-*, i?86-*-linux*aout,
i?86-*-sco3.2v5*, i?86-*-udk, m68k-hp-hpux, powerpc-*-sysv4,
powerpc-*-sysv4, powerpcle-*-sysv4, *-*-sysv*, vax-dec-ultrix):
Remove.
* doc/invoke.texi (MT Options): Remove.
(-mwindiss): Remove.
(CRIS Options): Remove cris-axis-aout references.
(HPPA Options): Don't mention hppa1.1-*-pro.
* doc/md.texi: (MorphoTech family): Remove.
* libgcc2.c: Don't handle UWIN.
* config/alpha/t-unicosmk: Remove.
* config/alpha/unicosmk.h: Remove.
* config/arm/kaos-arm.h: Remove.
* config/arm/kaos-strongarm.h: Remove.
* config/arm/strongarm-coff.h: Remove.
* config/arm/strongarm-elf.h: Remove.
* config/arm/strongarm-pe.h: Remove.
* config/arm/t-strongarm-pe: Remove.
* config/arm/t-xscale-coff: Remove.
* config/arm/t-xscale-elf: Remove.
* config/arm/xscale-coff.h: Remove.
* config/arm/xscale-elf.h: Remove.
* config/chorus.h: Remove.
* config/cris/aout.h: Remove.
* config/cris/aout.opt: Remove.
* config/cris/t-aout: Remove.
* config/i386/beos-elf.h: Remove.
* config/i386/kaos-i386.h: Remove.
* config/i386/ptx4-i.h: Remove.
* config/i386/sco5.h: Remove.
* config/i386/sco5.opt: Remove.
* config/i386/sysv4-cpp.h: Remove.
* config/i386/sysv5.h: Remove.
* config/i386/t-beos: Remove.
* config/i386/t-sco5: Remove.
* config/i386/t-uwin: Remove.
* config/i386/uwin.asm: Remove.
* config/i386/uwin.h: Remove.
* config/kaos.h: Remove.
* config/mips/windiss.h: Remove.
* config/mt: Remove directory.
* config/pa/pa-osf.h: Remove.
* config/pa/pa-pro-end.h: Remove.
* config/pa/t-pro: Remove.
* config/ptx4.h: Remove.
* config/rs6000/beos.h: Remove.
* config/rs6000/kaos-ppc.h: Remove.
* config/rs6000/t-beos: Remove.
* config/rs6000/windiss.h: Remove.
* config/sh/kaos-sh.h: Remove.
* config/sol2-6.h: Remove.
* config/sparc/sol26-sld.h: Remove.
* config/sparc/sysv4-only.h: Remove.
* config/vax/bsd.h: Remove.
* config/vax/t-memfuncs: Remove.
* config/vax/ultrix.h: Remove.
* config/vax/vaxv.h: Remove.
* config/windiss.h: Remove.
gcc/testsuite:
* g++.dg/abi/arm_cxa_vec1.C: Don't handle xscale*-*-*.
* g++.dg/eh/spbp.C: Don't handle *-*-solaris2.[56]*.
* g++.dg/warn/miss-format-1.C: Don't handle Solaris before Solaris
7.
* gcc.c-torture/compile/981006-1.c: Don't handle xscale*-*-*,
strongarm*-*-* and cris-*-aout*.
* gcc.c-torture/execute/941014-1.x: Don't handle xscale*-*-* and
strongarm*-*-*.
* gcc.dg/20030909-1.c: Don't handle xscale*-*-* and
strongarm*-*-*.
* gcc.dg/20031108-1.c: Don't handle xscale*-*-* and
strongarm*-*-*.
* gcc.dg/20040813-1.c: Don't handle *-*-sysv5*.
* gcc.dg/arm-asm.c: Don't handle strongarm*-*-* and xscale*-*-*.
* gcc.dg/arm-scd42-1.c: Use target arm*-*-*.
* gcc.dg/arm-scd42-3.c: Use target arm*-*-*.
* gcc.dg/cpp/assert4.c: Don't handle BeOS.
* gcc.dg/debug/pr35154.c: Don't handle *-*-sysv5*.
* gcc.dg/intmax_t-1.c: Don't handle *-*-solaris2.5.1 and
xscale*-*-elf*.
* gcc.dg/pragma-align.c: Don't handle i?86-*-sco3.2v5*.
* gcc.dg/pthread-init-2.c: Don't handle *-*-solaris2.5.1.
* gcc.misc-tests/arm-isr.exp: Use target arm*-*-*.
* gcc.target/powerpc/ppc-sdata-1.c: Don't handle powerpc-*-sysv*.
* gcc.target/powerpc/ppc-sdata-2.c: Don't handle powerpc-*-sysv*.
* gcc.target/powerpc/ppc-stackalign-1.c: Don't handle
powerpc-*-sysv*.
* gfortran.dg/debug/pr35154-stabs.f: Don't handle *-*-sysv5*.
* lib/target-supports.exp: Don't handle strongarm*-*-elf,
xscale*-*-elf and *-*-windiss.
* obj-c++.dg/dwarf-2.mm: Don't handle *-*-solaris2.[56]*.
* objc.dg/dwarf-1.m: Don't handle *-*-solaris2.[56]*.
* objc.dg/dwarf-2.m: Don't handle *-*-solaris2.[56]*.
* gcc.dg/mt-loopi1.c: Remove.
gnattools:
* configure.ac (xscale*-wrs-vx*, xscale*-wrs-coff): Remove.
* configure: Regenerate.
libcpp:
* configure.ac (parisc*64*-*-*): Remove.
* configure: Regenerate.
libffi:
* configure.ac (parisc*-*-linux*, powerpc-*-sysv*,
powerpc-*-beos*): Remove.
* configure: Regenerate.
libgcc:
* config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
libjava:
* configure.host (strongarm*-elf, xscale*-elf): Remove.
libstdc++-v3:
* configure.host (xscale, ep9312, m680[246]0, solaris2.5,
solaris2.5.[0-9], solaris2.6, windiss*): Remove.
* crossconfig.m4 (*-solaris2.5, *-solaris2.6, *-windiss*): Remove.
* configure: Regenerate.
* config/os/solaris/solaris2.5: Remove directory.
* config/os/solaris/solaris2.6: Remove directory.
* config/os/windiss: Remove directory.
From-SVN: r136534
2008-06-07 20:00:15 +02:00
|
|
|
@uref{#powerpcle-x-elf,,powerpcle-*-elf}
|
2001-06-03 00:33:30 +02:00
|
|
|
@item
|
2005-04-16 13:04:30 +02:00
|
|
|
@uref{#powerpcle-x-eabisim,,powerpcle-*-eabisim}
|
2001-06-03 00:33:30 +02:00
|
|
|
@item
|
2005-04-16 13:04:30 +02:00
|
|
|
@uref{#powerpcle-x-eabi,,powerpcle-*-eabi}
|
2001-06-03 00:33:30 +02:00
|
|
|
@item
|
2005-04-16 13:04:30 +02:00
|
|
|
@uref{#s390-x-linux,,s390-*-linux*}
|
2001-07-31 08:38:29 +02:00
|
|
|
@item
|
2005-04-16 13:04:30 +02:00
|
|
|
@uref{#s390x-x-linux,,s390x-*-linux*}
|
2001-07-31 08:38:29 +02:00
|
|
|
@item
|
2005-04-16 13:04:30 +02:00
|
|
|
@uref{#s390x-ibm-tpf,,s390x-ibm-tpf*}
|
2003-10-15 19:12:01 +02:00
|
|
|
@item
|
2005-04-16 13:04:30 +02:00
|
|
|
@uref{#x-x-solaris2,,*-*-solaris2*}
|
2001-05-12 00:10:54 +02:00
|
|
|
@item
|
2010-09-14 12:26:40 +02:00
|
|
|
@uref{#sparc-x-x,,sparc*-*-*}
|
|
|
|
@item
|
2005-04-16 13:04:30 +02:00
|
|
|
@uref{#sparc-sun-solaris2,,sparc-sun-solaris2*}
|
2001-05-12 00:10:54 +02:00
|
|
|
@item
|
2010-02-01 14:35:10 +01:00
|
|
|
@uref{#sparc-sun-solaris210,,sparc-sun-solaris2.10}
|
|
|
|
@item
|
2005-04-16 13:04:30 +02:00
|
|
|
@uref{#sparc-x-linux,,sparc-*-linux*}
|
2001-11-14 04:31:47 +01:00
|
|
|
@item
|
2005-04-16 13:04:30 +02:00
|
|
|
@uref{#sparc64-x-solaris2,,sparc64-*-solaris2*}
|
2001-05-12 00:10:54 +02:00
|
|
|
@item
|
2005-04-16 13:04:30 +02:00
|
|
|
@uref{#sparcv9-x-solaris2,,sparcv9-*-solaris2*}
|
2002-01-06 16:14:30 +01:00
|
|
|
@item
|
2011-07-15 11:36:40 +02:00
|
|
|
@uref{#c6x-x-x,,c6x-*-*}
|
|
|
|
@item
|
2012-02-14 11:02:21 +01:00
|
|
|
@uref{#tilegx-x-linux,,tilegx-*-linux*}
|
|
|
|
@item
|
|
|
|
@uref{#tilepro-x-linux,,tilepro-*-linux*}
|
|
|
|
@item
|
2005-04-16 13:04:30 +02:00
|
|
|
@uref{#x-x-vxworks,,*-*-vxworks*}
|
2002-12-16 19:23:00 +01:00
|
|
|
@item
|
2005-05-01 15:39:37 +02:00
|
|
|
@uref{#x86-64-x-x,,x86_64-*-*, amd64-*-*}
|
2004-01-02 10:42:10 +01:00
|
|
|
@item
|
2011-07-07 11:24:16 +02:00
|
|
|
@uref{#x86-64-x-solaris210,,x86_64-*-solaris2.1[0-9]*}
|
|
|
|
@item
|
2008-08-06 18:02:16 +02:00
|
|
|
@uref{#xtensa-x-elf,,xtensa*-*-elf}
|
2002-01-25 18:10:46 +01:00
|
|
|
@item
|
2008-08-06 18:02:16 +02:00
|
|
|
@uref{#xtensa-x-linux,,xtensa*-*-linux*}
|
2002-01-25 18:10:46 +01:00
|
|
|
@item
|
2001-05-12 00:10:54 +02:00
|
|
|
@uref{#windows,,Microsoft Windows}
|
|
|
|
@item
|
2008-06-30 14:21:19 +02:00
|
|
|
@uref{#x-x-cygwin,,*-*-cygwin}
|
|
|
|
@item
|
|
|
|
@uref{#x-x-interix,,*-*-interix}
|
|
|
|
@item
|
2009-04-06 21:38:39 +02:00
|
|
|
@uref{#x-x-mingw32,,*-*-mingw32}
|
2008-06-30 14:21:19 +02:00
|
|
|
@item
|
2001-05-12 00:10:54 +02:00
|
|
|
@uref{#os2,,OS/2}
|
|
|
|
@item
|
|
|
|
@uref{#older,,Older systems}
|
|
|
|
@end itemize
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
@item
|
2005-05-01 15:39:37 +02:00
|
|
|
@uref{#elf,,all ELF targets} (SVR4, Solaris 2, etc.)
|
2001-05-12 00:10:54 +02:00
|
|
|
@end itemize
|
2001-06-02 20:21:37 +02:00
|
|
|
@end ifhtml
|
2001-05-12 00:10:54 +02:00
|
|
|
|
|
|
|
|
|
|
|
@html
|
|
|
|
<!-- -------- host/target specific issues start here ---------------- -->
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-05-12 00:10:54 +02:00
|
|
|
@end html
|
2005-04-16 13:04:30 +02:00
|
|
|
@heading @anchor{alpha-x-x}alpha*-*-*
|
2001-06-05 00:56:53 +02:00
|
|
|
|
|
|
|
This section contains general configuration information for all
|
|
|
|
alpha-based platforms using ELF (in particular, ignore this section for
|
c-tree.texi, [...]: Replace . at end of sentences preceded by a capital letter with @..
* doc/c-tree.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppinternals.texi, doc/extend.texi, doc/gcc.texi,
doc/gcov.texi, doc/install-old.texi, doc/install.texi,
doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi: Replace
. at end of sentences preceded by a capital letter with @..
From-SVN: r43611
2001-06-27 17:04:16 +02:00
|
|
|
DEC OSF/1, Digital UNIX and Tru64 UNIX)@. In addition to reading this
|
2001-06-15 19:35:48 +02:00
|
|
|
section, please read all other sections that match your target.
|
2001-06-05 00:56:53 +02:00
|
|
|
|
install.texi (Specific): Markup, spelling and typo fixes.
* doc/install.texi (Specific): Markup, spelling and typo fixes.
Fixed sorting.
Consistently require binutils 2.11.2, not prereleases.
(Specific, decstation-*): Canonicalize as mips-dec-*.
(Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
always necessary.
(Specific, m68k-altos): Removed reference to README.altos, deleted.
(Specific, mips-*): Reword MIPS C compiler requirements.
(Specific, powerpc*-*-*): New, mention --with-cpu once.
(Specific, sunv5): Removed, obsolete.
From-SVN: r43779
2001-07-05 15:10:59 +02:00
|
|
|
We require binutils 2.11.2 or newer.
|
|
|
|
Previous binutils releases had a number of problems with DWARF 2
|
2001-06-05 00:56:53 +02:00
|
|
|
debugging information, not the least of which is incorrect linking of
|
|
|
|
shared libraries.
|
|
|
|
|
2001-06-03 00:33:30 +02:00
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-06-03 00:33:30 +02:00
|
|
|
@end html
|
2010-04-12 20:36:30 +02:00
|
|
|
@heading @anchor{alpha-dec-osf51}alpha*-dec-osf5.1
|
2001-06-03 00:33:30 +02:00
|
|
|
Systems using processors that implement the DEC Alpha architecture and
|
2010-04-01 09:58:25 +02:00
|
|
|
are running the DEC/Compaq/HP Unix (DEC OSF/1, Digital UNIX, or Compaq/HP
|
2001-06-15 19:35:48 +02:00
|
|
|
Tru64 UNIX) operating system, for example the DEC Alpha AXP systems.
|
|
|
|
|
Remove obsolete Tru64 UNIX V5.1B support
libstdc++-v3:
* configure.host: Remove osf* handling.
* config/os/osf: Remove.
* doc/xml/manual/using.xml: Remove OSF reference.
* testsuite/18_support/pthread_guard.cc: Remove alpha*-*-osf*
handling.
* testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
Likewise.
* testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc:
Likewise.
* testsuite/21_strings/basic_string/pthread18185.cc: Likewise.
* testsuite/21_strings/basic_string/pthread4.cc: Likewise.
* testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise.
* testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
* testsuite/23_containers/list/pthread1.cc: Likewise.
* testsuite/23_containers/list/pthread5.cc: Likewise.
* testsuite/23_containers/map/pthread6.cc: Likewise.
* testsuite/23_containers/vector/debug/multithreaded_swap.cc:
Likewise.
* testsuite/27_io/basic_ofstream/pthread2.cc: Likewise.
* testsuite/27_io/basic_ostringstream/pthread3.cc: Likewise.
* testsuite/30_threads/async/42819.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/async/49668.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/async/any.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/async/async.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/async/launch.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/async/sync.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/call_once/39909.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/call_once/49668.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/call_once/call_once1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/condition_variable/cons/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/condition_variable/members/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/condition_variable/members/2.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/condition_variable/native_handle/typesizes.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/condition_variable_any/50862.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/condition_variable_any/cons/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/condition_variable_any/members/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/condition_variable_any/members/2.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/future/cons/move.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/future/members/45133.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/future/members/get.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/future/members/get2.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/future/members/share.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/future/members/valid.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/future/members/wait.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/future/members/wait_for.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/future/members/wait_until.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/lock/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/lock/2.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/lock/3.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/lock/4.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/lock_guard/cons/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/mutex/cons/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/mutex/dest/destructor_locked.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/mutex/lock/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/mutex/native_handle/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/mutex/native_handle/typesizes.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/mutex/unlock/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/packaged_task/49668.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/packaged_task/cons/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/packaged_task/cons/2.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/packaged_task/cons/3.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/packaged_task/cons/move.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/packaged_task/cons/move_assign.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/packaged_task/members/get_future.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/packaged_task/members/get_future2.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke2.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke3.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke4.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke5.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/packaged_task/members/reset.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/packaged_task/members/reset2.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/packaged_task/members/swap.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/packaged_task/members/valid.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/promise/cons/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/promise/cons/alloc.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/promise/cons/move.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/promise/cons/move_assign.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/promise/members/get_future.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/promise/members/get_future2.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/promise/members/set_exception.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/promise/members/set_exception2.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/promise/members/set_value.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/promise/members/set_value2.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/promise/members/set_value3.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/promise/members/swap.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_mutex/lock/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_mutex/native_handle/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_mutex/try_lock/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_mutex/try_lock/2.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_mutex/unlock/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/cons/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/lock/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/lock/2.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/native_handle/typesizes.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/unlock/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/shared_future/cons/move.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/shared_future/members/45133.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/shared_future/members/get.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/shared_future/members/get2.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/shared_future/members/valid.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/shared_future/members/wait.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/shared_future/members/wait_for.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/shared_future/members/wait_until.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/this_thread/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/this_thread/2.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/this_thread/3.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/this_thread/4.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/thread/cons/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/thread/cons/2.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/thread/cons/3.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/thread/cons/4.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/thread/cons/49668.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/thread/cons/5.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/thread/cons/6.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/thread/cons/7.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/thread/cons/8.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/thread/cons/9.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/thread/cons/moveable.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/thread/members/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/thread/members/2.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/thread/members/3.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/thread/members/4.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/thread/members/5.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/thread/members/hardware_concurrency.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/thread/swap/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/timed_mutex/cons/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/timed_mutex/dest/destructor_locked.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/timed_mutex/lock/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/timed_mutex/native_handle/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/timed_mutex/native_handle/typesizes.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_for/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_for/2.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_for/3.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_until/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_until/2.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/try_lock/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/try_lock/2.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/try_lock/3.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/try_lock/4.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/unique_lock/cons/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/unique_lock/cons/2.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/unique_lock/cons/3.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/unique_lock/cons/4.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/unique_lock/locking/1.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
* libstdc++-v3/testsuite/30_threads/unique_lock/modifiers/1.cc:
Likewise.
* libstdc++-v3/testsuite/30_threads/unique_lock/modifiers/2.cc:
Likewise.
* libstdc++-v3/testsuite/ext/rope/pthread7-rope.cc: Likewise.
* libstdc++-v3/testsuite/tr1/2_general_utilities/shared_ptr/thread/default_weaktoshared.cc:
Likewise.
* libstdc++-v3/testsuite/tr1/2_general_utilities/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.
libobjc:
* configure.ac (enable_objc_gc): Remove alpha*-dec-osf* handling.
* configure: Regenerate.
* thr.c (_XOPEN_SOURCE): Define unconditionally.
libjava:
* configure.ac (alpha*-dec-osf*): Remove.
* configure: Regenerate.
* configure.host (alpha*-dec-osf*): Remove.
* gnu/java/net/natPlainDatagramSocketImplPosix.cc (setOption): Use
IPV6_MULTICAST_IF unconditionally.
* gnu/java/net/natPlainDatagramSocketImplWin32.cc (setOption):
Likewise.
* gnu/java/net/natPlainSocketImplPosix.cc
(gnu::java::net::PlainSocketImpl::accept): Use ::accept instead of
_Jv_accept.
* include/posix-signal.h [__alpha__ && __osf__]: Remove.
* include/posix.h (_POSIX_PII_SOCKET): Don't define.
(_Jv_accept): Remove.
* java/io/File.java (File._access): Rename to access.
Change callers.
(File._stat): Likewise.
* java/io/File.h: Regenerate.
* classpath/lib/java/io/File.class: Regenerate.
* java/io/natFilePosix.cc (java::io::File::_access): Rename to
access.
(java::io::File::_stat): Rename to stat.
* java/io/natFileWin32.cc: Likewise.
* testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
Remove alpha*-dec-osf* handling.
* testsuite/libjava.jvmti/jvmti-interp.exp
(gcj_jni_compile_c_to_so): Likewise.
* testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_compile_cxx_to_o):
Likewise.
libitm:
* configure.tgt (*-*-osf*): Remove.
* configure: Regenerate.
libgomp:
* configure.tgt (alpha*-dec-osf*): Remove.
* config/osf/sem.h: Remove.
* config/posix/lock.c (_XOPEN_SOURCE): Define unconditionally.
libgfortran:
* configure.ac: Remove Tru64 reference.
* acinclude.m4 (LIBGFOR_GTHREAD_WEAK): Remove alpha*-dec-osf*
handling.
* configure: Regenerate.
* intrinsics/c99_functions.c [__osf__]: Remove.
libgcc:
* config.host: Remove alpha*-dec-osf5.1* handling.
* config/alpha/gthr-posix.c: Remove.
* config/alpha/libgcc-osf5.ver: Remove.
* config/alpha/osf5-unwind.h: Remove.
* config/alpha/t-osf-pthread: Remove.
* config/alpha/t-slibgcc-osf: Remove.
* config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
* gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
[__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
* mkmap-flat.awk: Remove osf_export handling.
gnattools:
* configure.ac: Remove alpha*-dec-osf* handling.
* configure: Regenerate.
gcc/testsuite:
* g++.dg/abi/rtti3.C: Remove alpha*-dec-osf* handling.
* g++.dg/abi/thunk4.C: Likewise.
* g++.dg/cdce3.C: Don't skip on*-dec-osf5*.
Adapt line numbers.
* g++.dg/compat/struct-layout-1_generate.c: Remove alpha*-dec-osf*
handling.
* g++.dg/cpp0x/constexpr-rom.C: Likewise.
* g++.dg/eh/spbp.C: Likewise.
* g++.dg/ext/label13.C: Likewise.
* g++.dg/guality/guality.exp: Likewise.
* g++.dg/other/anon5.C: Likewise.
* g++.dg/other/pragma-ep-1.C: Remove.
* g++.dg/warn/miss-format-1.C: Remove alpha*-dec-osf* handling.
* g++.dg/warn/pr31246.C: Likewise.
* g++.dg/warn/weak1.C: Likewise.
* g++.old-deja/g++.eh/badalloc1.C: Likewise.
* g++.old-deja/g++.ext/attrib5.C: Likewise.
* gcc.c-torture/compile/limits-declparen.c: Likewise.
* gcc.c-torture/compile/limits-pointer.c: Likewise.
* gcc.c-torture/execute/20001229-1.c: Remove __osf__ handling.
* gcc.dg/attr-weakref-1.c: Remove alpha*-dec-osf* handling.
* gcc.dg/c99-stdint-6.c: Remove alpha*-dec-osf5* handling.
* gcc.dg/c99-tgmath-1.c: Likewise.
* gcc.dg/c99-tgmath-2.c: Likewise.
* gcc.dg/c99-tgmath-3.c: Likewise.
* gcc.dg/c99-tgmath-4.c: Likewise.
* gcc.dg/compat/struct-layout-1_generate.c: Remove alpha*-dec-osf*
handling.
* gcc.dg/debug/pr49032.c: Likewise.
* gcc.dg/guality/guality.exp: Likewise.
* gcc.dg/intmax_t-1.c: Likewise.
* gcc.dg/pr48616.c: Likewise.
* gcc.dg/pragma-ep-1.c: Remove.
* gcc.dg/pragma-ep-2.c: Remove.
* gcc.dg/pragma-ep-3.c: Remove.
* gcc.dg/torture/pr47917.c: Remove alpha*-dec-osf5* handling.
* gcc.dg/tree-ssa/pr42585.c: Remove alpha*-dec-osf* handling.
* gcc.misc-tests/gcov-14.c: Likewise.
* gfortran.dg/guality/guality.exp: Likewise.
* lib/target-supports.exp (check_weak_available): Likewise.
(add_options_for_tls): Likewise.
(check_ascii_locale_available): Likewise.
* obj-c++.dg/dwarf-2.mm: Likewise.
* objc.dg/dwarf-1.m: Likewise.
* objc.dg/dwarf-2.m: Likewise.
gcc/c-family:
* c-cppbuiltin.c (c_cpp_builtins): Remove #pragma extern_prefix
handling.
* c-pragma.c (handle_pragma_extern_prefix): Remove.
(init_pragma): Don't register extern_prefix.
gcc/po:
* EXCLUDES (mips-tdump.c, mips-tfile.c): Remove.
gcc:
* config.gcc (alpha*-dec-osf5.1*): Remove.
* config.host (alpha*-dec-osf*): Remove.
* configure.ac (*-*-osf*): Remove.
(alpha*-dec-osf*): Remove.
* configure: Regenerate.
* config/alpha/host-osf.c, config/alpha/osf5.h,
config/alpha/osf5.opt, config/alpha/va_list.h, config/alpha/x-osf:
Remove.
* config/alpha/alpha.h (TARGET_LD_BUGGY_LDGP): Remove.
* config/alpha/alpha.c (struct machine_function): Update comment.
(alpha_start_function): Remove Tru64 UNIX as handling for
max_frame_size.
* config/alpha/alpha.md ("exception_receiver"): Remove
TARGET_LD_BUGGY_LDGP.
("*exception_receiver_2"): Likewise.
* except.c (finish_eh_generation): Remove Tru64 reference.
* ginclude/stdarg.h [_HIDDEN_VA_LIST]: Don't undef _VA_LIST.
* system.h (TARGET_HANDLE_PRAGMA_EXTERN_PREFIX): Poison.
* target.def (handle_pragma_extern_prefix): Remove.
* Makefile.in (mips-tfile.o-warn): Remove.
(ALL_HOST_BACKEND_OBJS): Remove mips-tfile.o, mips-tdump.o.
(mips-tfile, mips-tfile.o, mips-tdump, mips-tdump.o): Remove.
* mips-tdump.c, mips-tfile.c: Remove.
* doc/extend.texi (Symbol-Renaming Pragmas): Remove #pragma
extern_prefix.
* doc/install.texi (Binaries): Remove Tru64 UNIX reference.
(Specific, alpha*-dec-osf5.1): Note removal.
* doc/tm.texi.in (Misc, TARGET_HANDLE_PRAGMA_EXTERN_PREFIX):
Remove.
* doc/tm.texi: Regenerate.
* doc/trouble.texi (Cross-Compiler Problems): Remove.
gcc/ada:
* gcc-interface/Makefile.in (alpha*-dec-osf*): Remove.
* a-intnam-tru64.ads, mlib-tgt-specific-tru64.adb,
s-mastop-tru64.adb, s-osinte-tru64.adb, s-osinte-tru64.ads,
s-taprop-tru64.adb, s-tasinf-tru64.ads, s-taspri-tru64.ads,
system-tru64.ads: Remove.
* adaint.c (__gnat_number_of_cpus) [__alpha__ && __osf__]:
Remove.
[IS_CROSS] [!(__alpha__ && __osf__)]: Remove.
* env.c [__alpha__ && __osf__]: Remove.
* gsocket.h (_OSF_SOURCE): Remove.
(HAVE_THREAD_SAFE_GETxxxBYyyy) [__osf__]: Remove.
* init.c [__alpha__ && __osf__]: Remove.
* link.c [__osf__]: Remove.
* s-oscons-tmplt.c [__alpha__ && __osf__]: Remove.
[__osf__ && !_SS_MAXSIZE]: Remove.
* sysdep.c [__osf__]: Remove.
* terminals.c [__alpha__ && __osf__]: Remove.
[OSF1]: Remove.
* g-traceb.ads: Remove Tru64 reference.
* g-trasym.ads: Likewise.
* gnat_ugn.texi (Linking a Mixed C++ & Ada Program): Likewise.
(Summary of Run-Time Configurations): Likewise.
* memtrack.adb: Likewise.
fixincludes:
* inclhack.def (alpha___extern_prefix): Remove.
(alpha___extern_prefix_standards): Remove.
(alpha___extern_prefix_sys_stat): Remove.
(alpha_bad_lval): Remove.
(alpha_pthread): Remove.
(alpha_pthread_gcc): Remove.
(alpha_pthread_init): Remove.
* fixincl.x: Regenerate.
* tests/base/pthread.h [ALPHA_PTHREAD_CHECK]: Remove.
[ALPHA_PTHREAD_GCC_CHECK]: Remove.
[ALPHA_PTHREAD_INIT_CHECK]: Remove.
* tests/base/standards.h: Remove.
* tests/base/sys/stat.h [ALPHA___EXTERN_PREFIX_SYS_STAT_CHECK]:
Remove.
* tests/base/testing.h [ALPHA___EXTERN_PREFIX_CHECK]: Remove.
[ALPHA_BAD_LVAL_CHECK]: Remove.
contrib:
* config-list.mk (LIST): Remove alpha-dec-osf5.1.
config:
* weakref.m4 (GCC_CHECK_ELF_STYLE_WEAKREF): Remove
alpha*-dec-osf*.
toplevel:
* MAINTAINERS (OS Port Maintainers): Remove osf.
* configure.ac (enable_libgomp): Remove *-*-osf*.
(with_stabs): Remove alpha*-*-osf*.
* configure: Regenerate.
From-SVN: r185240
2012-03-12 16:35:56 +01:00
|
|
|
Support for Tru64 UNIX V5.1 has been removed in GCC 4.8. As of GCC 4.6,
|
|
|
|
support for Tru64 UNIX V4.0 and V5.0 has been removed. As of GCC 3.2,
|
|
|
|
versions before @code{alpha*-dec-osf4} are no longer supported. (These
|
|
|
|
are the versions which identify themselves as DEC OSF/1.)
|
2010-04-01 09:58:25 +02:00
|
|
|
|
2011-07-07 11:24:16 +02:00
|
|
|
@html
|
|
|
|
<hr />
|
|
|
|
@end html
|
|
|
|
@heading @anchor{amd64-x-solaris210}amd64-*-solaris2.1[0-9]*
|
|
|
|
|
|
|
|
This is a synonym for @samp{x86_64-*-solaris2.1[0-9]*}.
|
|
|
|
|
2001-06-03 00:33:30 +02:00
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-06-03 00:33:30 +02:00
|
|
|
@end html
|
2012-03-02 10:37:30 +01:00
|
|
|
@heading @anchor{arm-x-eabi}arm-*-eabi
|
2003-06-14 13:15:49 +02:00
|
|
|
ARM-family processors. Subtargets that use the ELF object format
|
|
|
|
require GNU binutils 2.13 or newer. Such subtargets include:
|
2012-03-02 10:37:30 +01:00
|
|
|
@code{arm-*-netbsdelf}, @code{arm-*-*linux-gnueabi}
|
|
|
|
and @code{arm-*-rtemseabi}.
|
2003-06-14 13:15:49 +02:00
|
|
|
|
2001-05-12 00:10:54 +02:00
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-05-12 00:10:54 +02:00
|
|
|
@end html
|
2001-06-02 20:21:37 +02:00
|
|
|
@heading @anchor{avr}avr
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2001-06-03 00:33:30 +02:00
|
|
|
ATMEL AVR-family micro controllers. These are used in embedded
|
2001-08-10 09:20:28 +02:00
|
|
|
applications. There are no standard Unix configurations.
|
|
|
|
@ifnothtml
|
configure.ac: Add --enable-secureplt.
* configure.ac: Add --enable-secureplt.
(HAVE_AS_REL16): Test for R_PPC_REL16 relocs.
* config.in: Regenerate.
* configure: Regenerate.
* config.gcc (powerpc64-*-linux*, powerpc-*-linux*): Add
rs6000/secureplt.h to tm_file when enable_secureplt.
* doc/invoke.texi (msecure-plt, mbss-plt): Document.
* doc/install.texi: Document --enable-targets and --enable-secureplt.
Correct xrefs to "Using the GNU Compiler Collection (GCC)".
* config/rs6000/secureplt.h: New file.
* config/rs6000/sysv4.h (TARGET_SECURE_PLT): Define.
(SUBTARGET_OVERRIDE_OPTIONS): Error if -msecure-plt given without
assembler support.
(CC1_SECURE_PLT_DEFAULT_SPEC): Define.
(CC1_SPEC): Delete duplicate mno-sdata. Invoke cc1_secure_plt_default.
(SUBTARGET_EXTRA_SPECS): Add cc1_secure_plt_default.
* config/rs6000/sysv4.opt (msecure-plt, bss-plt): Add options.
* config/rs6000/rs6000.h (TARGET_SECURE_PLT): Define.
* config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Handle
TARGET_SECURE_PLT got register load sequence.
(rs6000_emit_prologue): Call rs6000_emit_load_toc_table when
TARGET_SECURE_PLT.
(rs6000_elf_declare_function_name): Don't emit toc address offset
word when TARGET_SECURE_PLT.
* config/rs6000/rs6000.md (elf_high, elf_low): Move past load_toc_*.
(load_toc_v4_PIC_1) Enable for TARGET_SECURE_PLT.
(load_toc_v4_PIC_3b, load_toc_v4_PIC_3c): New insns.
(call, call_value): Mark pic_offset_table_rtx used for sysv pic and
TARGET_SECURE_PLT.
(call_nonlocal_sysv, call_value_nonlocal_sysv, sibcall_nonlocal_sysv,
sibcall_value_nonlocal_sysv): Add 32768 offset when TARGET_SECURE_PLT
and -fPIC.
* config/rs6000/tramp.asm (trampoline_initial): Use "bcl 20,31".
(__trampoline_setup): Likewise. Init r30 before plt call.
From-SVN: r100415
2005-06-01 02:30:26 +02:00
|
|
|
@xref{AVR Options,, AVR Options, gcc, Using the GNU Compiler
|
2001-08-10 09:20:28 +02:00
|
|
|
Collection (GCC)},
|
|
|
|
@end ifnothtml
|
2001-08-14 22:18:14 +02:00
|
|
|
@ifhtml
|
2001-08-10 09:20:28 +02:00
|
|
|
See ``AVR Options'' in the main manual
|
2001-08-14 22:18:14 +02:00
|
|
|
@end ifhtml
|
2001-08-10 09:20:28 +02:00
|
|
|
for the list of supported MCU types.
|
2001-06-03 00:33:30 +02:00
|
|
|
|
c-tree.texi, [...]: Replace . at end of sentences preceded by a capital letter with @..
* doc/c-tree.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppinternals.texi, doc/extend.texi, doc/gcc.texi,
doc/gcov.texi, doc/install-old.texi, doc/install.texi,
doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi: Replace
. at end of sentences preceded by a capital letter with @..
From-SVN: r43611
2001-06-27 17:04:16 +02:00
|
|
|
Use @samp{configure --target=avr --enable-languages="c"} to configure GCC@.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
|
|
|
Further installation notes and other useful information about AVR tools
|
|
|
|
can also be obtained from:
|
|
|
|
|
|
|
|
@itemize @bullet
|
|
|
|
@item
|
2005-08-03 11:29:16 +02:00
|
|
|
@uref{http://www.nongnu.org/avr/,,http://www.nongnu.org/avr/}
|
2002-10-24 22:32:28 +02:00
|
|
|
@item
|
2003-02-12 16:06:40 +01:00
|
|
|
@uref{http://www.amelek.gda.pl/avr/,,http://www.amelek.gda.pl/avr/}
|
2001-05-12 00:10:54 +02:00
|
|
|
@end itemize
|
|
|
|
|
2002-10-24 22:32:28 +02:00
|
|
|
We @emph{strongly} recommend using binutils 2.13 or newer.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
|
|
|
The following error:
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@smallexample
|
2010-12-20 08:25:51 +01:00
|
|
|
Error: register required
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@end smallexample
|
2001-05-12 00:10:54 +02:00
|
|
|
|
|
|
|
indicates that you should upgrade to a newer version of the binutils.
|
|
|
|
|
2005-04-05 13:26:48 +02:00
|
|
|
@html
|
|
|
|
<hr />
|
|
|
|
@end html
|
|
|
|
@heading @anchor{bfin}Blackfin
|
|
|
|
|
|
|
|
The Blackfin processor, an Analog Devices DSP.
|
|
|
|
@ifnothtml
|
configure.ac: Add --enable-secureplt.
* configure.ac: Add --enable-secureplt.
(HAVE_AS_REL16): Test for R_PPC_REL16 relocs.
* config.in: Regenerate.
* configure: Regenerate.
* config.gcc (powerpc64-*-linux*, powerpc-*-linux*): Add
rs6000/secureplt.h to tm_file when enable_secureplt.
* doc/invoke.texi (msecure-plt, mbss-plt): Document.
* doc/install.texi: Document --enable-targets and --enable-secureplt.
Correct xrefs to "Using the GNU Compiler Collection (GCC)".
* config/rs6000/secureplt.h: New file.
* config/rs6000/sysv4.h (TARGET_SECURE_PLT): Define.
(SUBTARGET_OVERRIDE_OPTIONS): Error if -msecure-plt given without
assembler support.
(CC1_SECURE_PLT_DEFAULT_SPEC): Define.
(CC1_SPEC): Delete duplicate mno-sdata. Invoke cc1_secure_plt_default.
(SUBTARGET_EXTRA_SPECS): Add cc1_secure_plt_default.
* config/rs6000/sysv4.opt (msecure-plt, bss-plt): Add options.
* config/rs6000/rs6000.h (TARGET_SECURE_PLT): Define.
* config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Handle
TARGET_SECURE_PLT got register load sequence.
(rs6000_emit_prologue): Call rs6000_emit_load_toc_table when
TARGET_SECURE_PLT.
(rs6000_elf_declare_function_name): Don't emit toc address offset
word when TARGET_SECURE_PLT.
* config/rs6000/rs6000.md (elf_high, elf_low): Move past load_toc_*.
(load_toc_v4_PIC_1) Enable for TARGET_SECURE_PLT.
(load_toc_v4_PIC_3b, load_toc_v4_PIC_3c): New insns.
(call, call_value): Mark pic_offset_table_rtx used for sysv pic and
TARGET_SECURE_PLT.
(call_nonlocal_sysv, call_value_nonlocal_sysv, sibcall_nonlocal_sysv,
sibcall_value_nonlocal_sysv): Add 32768 offset when TARGET_SECURE_PLT
and -fPIC.
* config/rs6000/tramp.asm (trampoline_initial): Use "bcl 20,31".
(__trampoline_setup): Likewise. Init r30 before plt call.
From-SVN: r100415
2005-06-01 02:30:26 +02:00
|
|
|
@xref{Blackfin Options,, Blackfin Options, gcc, Using the GNU Compiler
|
|
|
|
Collection (GCC)},
|
2005-04-05 13:26:48 +02:00
|
|
|
@end ifnothtml
|
|
|
|
@ifhtml
|
|
|
|
See ``Blackfin Options'' in the main manual
|
|
|
|
@end ifhtml
|
|
|
|
|
|
|
|
More information, and a version of binutils with support for this processor,
|
|
|
|
is available at @uref{http://blackfin.uclinux.org}
|
|
|
|
|
2012-02-02 11:20:32 +01:00
|
|
|
@html
|
|
|
|
<hr />
|
|
|
|
@end html
|
|
|
|
@heading @anchor{cr16}CR16
|
|
|
|
|
|
|
|
The CR16 CompactRISC architecture is a 16-bit architecture. This architecture is
|
|
|
|
used in embedded applications.
|
|
|
|
|
|
|
|
@ifnothtml
|
|
|
|
@xref{CR16 Options,, CR16 Options, gcc, Using and Porting the GNU Compiler
|
|
|
|
Collection (GCC)},
|
|
|
|
@end ifnothtml
|
|
|
|
|
|
|
|
@ifhtml
|
|
|
|
See ``CR16 Options'' in the main manual for a list of CR16-specific options.
|
|
|
|
@end ifhtml
|
|
|
|
|
|
|
|
Use @samp{configure --target=cr16-elf --enable-languages=c,c++} to configure
|
|
|
|
GCC@ for building a CR16 elf cross-compiler.
|
|
|
|
|
|
|
|
Use @samp{configure --target=cr16-uclinux --enable-languages=c,c++} to configure
|
|
|
|
GCC@ for building a CR16 uclinux cross-compiler.
|
|
|
|
|
2001-10-11 19:02:36 +02:00
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-10-11 19:02:36 +02:00
|
|
|
@end html
|
|
|
|
@heading @anchor{cris}CRIS
|
|
|
|
|
|
|
|
CRIS is the CPU architecture in Axis Communications ETRAX system-on-a-chip
|
|
|
|
series. These are used in embedded applications.
|
|
|
|
|
|
|
|
@ifnothtml
|
configure.ac: Add --enable-secureplt.
* configure.ac: Add --enable-secureplt.
(HAVE_AS_REL16): Test for R_PPC_REL16 relocs.
* config.in: Regenerate.
* configure: Regenerate.
* config.gcc (powerpc64-*-linux*, powerpc-*-linux*): Add
rs6000/secureplt.h to tm_file when enable_secureplt.
* doc/invoke.texi (msecure-plt, mbss-plt): Document.
* doc/install.texi: Document --enable-targets and --enable-secureplt.
Correct xrefs to "Using the GNU Compiler Collection (GCC)".
* config/rs6000/secureplt.h: New file.
* config/rs6000/sysv4.h (TARGET_SECURE_PLT): Define.
(SUBTARGET_OVERRIDE_OPTIONS): Error if -msecure-plt given without
assembler support.
(CC1_SECURE_PLT_DEFAULT_SPEC): Define.
(CC1_SPEC): Delete duplicate mno-sdata. Invoke cc1_secure_plt_default.
(SUBTARGET_EXTRA_SPECS): Add cc1_secure_plt_default.
* config/rs6000/sysv4.opt (msecure-plt, bss-plt): Add options.
* config/rs6000/rs6000.h (TARGET_SECURE_PLT): Define.
* config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Handle
TARGET_SECURE_PLT got register load sequence.
(rs6000_emit_prologue): Call rs6000_emit_load_toc_table when
TARGET_SECURE_PLT.
(rs6000_elf_declare_function_name): Don't emit toc address offset
word when TARGET_SECURE_PLT.
* config/rs6000/rs6000.md (elf_high, elf_low): Move past load_toc_*.
(load_toc_v4_PIC_1) Enable for TARGET_SECURE_PLT.
(load_toc_v4_PIC_3b, load_toc_v4_PIC_3c): New insns.
(call, call_value): Mark pic_offset_table_rtx used for sysv pic and
TARGET_SECURE_PLT.
(call_nonlocal_sysv, call_value_nonlocal_sysv, sibcall_nonlocal_sysv,
sibcall_value_nonlocal_sysv): Add 32768 offset when TARGET_SECURE_PLT
and -fPIC.
* config/rs6000/tramp.asm (trampoline_initial): Use "bcl 20,31".
(__trampoline_setup): Likewise. Init r30 before plt call.
From-SVN: r100415
2005-06-01 02:30:26 +02:00
|
|
|
@xref{CRIS Options,, CRIS Options, gcc, Using the GNU Compiler
|
2001-10-11 19:02:36 +02:00
|
|
|
Collection (GCC)},
|
|
|
|
@end ifnothtml
|
|
|
|
@ifhtml
|
|
|
|
See ``CRIS Options'' in the main manual
|
|
|
|
@end ifhtml
|
|
|
|
for a list of CRIS-specific options.
|
|
|
|
|
|
|
|
There are a few different CRIS targets:
|
|
|
|
@table @code
|
|
|
|
@item cris-axis-elf
|
|
|
|
Mainly for monolithic embedded systems. Includes a multilib for the
|
|
|
|
@samp{v10} core used in @samp{ETRAX 100 LX}.
|
|
|
|
@item cris-axis-linux-gnu
|
|
|
|
A GNU/Linux port for the CRIS architecture, currently targeting
|
|
|
|
@samp{ETRAX 100 LX} by default.
|
|
|
|
@end table
|
|
|
|
|
MAINTAINERS (mt port): Remove.
* MAINTAINERS (mt port): Remove.
(sco5, unixware, sco udk): Remove.
(Kean Johnston): Add to Write After Approval.
fixincludes:
* inclhack.def (AAB_svr4_replace_byteorder,
AAB_ultrix_ansi_compat, AAB_ultrix_limits, AAB_ultrix_memory,
libc1_G_va_list, libc1_ifdefd_memx, nested_motorola,
ptx_sys_mc_param_h, sco_regset, sco_static_func, sco_utime,
solaris_mutex_init_1, solaris_socket, solaris_unistd,
solaris_widec, svr4_krnl, ultrix_atexit_param, ultrix_atof_param,
ultrix_const3, ultrix_fix_fixproto, ultrix_ifdef, ultrix_locale,
ultrix_math_ifdef, ultrix_nested_ioctl, ultrix_nested_svc,
ultrix_stat, ultrix_static, ultrix_stdlib, ultrix_strings,
ultrix_strings2, ultrix_sys_time, ultrix_unistd,
unicosmk_restrict, uw7_byteorder_fix, windiss_math1,
windiss_math2, windiss_valist): Remove.
* fixincl.x: Regenerate.
* mkfixinc.sh: (arm-semi-aof, hppa1.1-*-osf*, hppa1.1-*-bsd*,
i370-*-openedition, i?86-*-moss*, i?86-*-uwin*,
powerpc-*-eabiaix*): Remove.
* tests/base/math.h: Update.
* tests/base/pthread.h: Update.
* tests/base/stdio.h: Update.
* tests/base/stdlib.h: Update.
* tests/base/string.h: Update.
* tests/base/strings.h: Update.
* tests/base/sys/file.h: Update.
* tests/base/sys/limits.h: Update.
* tests/base/sys/socket.h: Update.
* tests/base/sys/stat.h: Update.
* tests/base/sys/time.h: Update.
* tests/base/testing.h: Update.
* tests/base/unistd.h: Update.
* tests/base/_G_config.h: Remove.
* tests/base/arpa: Remove directory.
* tests/base/fs: Remove directory.
* tests/base/locale.h: Remove.
* tests/base/machine: Remove directory.
* tests/base/rpc/svc.h: Remove.
* tests/base/sys/ioctl.h: Remove.
* tests/base/sys/regset.h: Remove.
* tests/base/sys/times.h: Remove.
* tests/base/sys/utsname.h: Remove.
* tests/base/widec.h: Remove.
gcc:
* config.gcc (Obsolete configurations): Remove list of
configurations.
(Unsupported targets list): Add *-*-linux*aout*, *-*-linux*libc1*,
*-*-solaris2.[0-6], *-*-solaris2.[0-6].*, *-*-sysv*. Remove other
targets matched by those patterns.
(strongarm*-*-*, ep9312*-*-*, xscale-*-*, parisc*-*-*,
m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
vax-*-ultrix*, xscale-*-elf, xscale-*-coff,
i[34567]86-*-linux*aout*, i[34567]86-*-linux*libc1): Remove.
Make code for Solaris 7 and greater unconditional for Solaris.
(ep9312-*-*, parisc1*, m680[012]0-*-*, parisc*-*-*, mt-*-*):
Remove --with-* handling.
* config/rs6000/sysv4.h (-mwindiss): Remove from all specs.
(LIB_WINDISS_SPEC, CPP_OS_WINDISS_SPEC, STARTFILE_WINDISS_SPEC,
ENDFILE_WINDISS_SPEC, LINK_START_WINDISS_SPEC,
LINK_OS_WINDISS_SPEC): Remove.
* config/rs6000/sysv4.opt (mwindiss): Remove.
* configure.ac (strongarm*-*-*, xscale*-*-*): Remove.
* configure: Regenerate.
* doc/cpp.texi: Don't mention BeOS.
* doc/extend.texi (interrupt): Don't mention MS1.
* doc/install.texi: (i386-@var{any}-sysv, m68k-bull-sysv,
m68k-hp-hpux, m68000-hp-hpux, m68000-att-sysv,
alphaev5-cray-unicosmk*, xscale-*-*, i?86-*-linux*aout,
i?86-*-sco3.2v5*, i?86-*-udk, m68k-hp-hpux, powerpc-*-sysv4,
powerpc-*-sysv4, powerpcle-*-sysv4, *-*-sysv*, vax-dec-ultrix):
Remove.
* doc/invoke.texi (MT Options): Remove.
(-mwindiss): Remove.
(CRIS Options): Remove cris-axis-aout references.
(HPPA Options): Don't mention hppa1.1-*-pro.
* doc/md.texi: (MorphoTech family): Remove.
* libgcc2.c: Don't handle UWIN.
* config/alpha/t-unicosmk: Remove.
* config/alpha/unicosmk.h: Remove.
* config/arm/kaos-arm.h: Remove.
* config/arm/kaos-strongarm.h: Remove.
* config/arm/strongarm-coff.h: Remove.
* config/arm/strongarm-elf.h: Remove.
* config/arm/strongarm-pe.h: Remove.
* config/arm/t-strongarm-pe: Remove.
* config/arm/t-xscale-coff: Remove.
* config/arm/t-xscale-elf: Remove.
* config/arm/xscale-coff.h: Remove.
* config/arm/xscale-elf.h: Remove.
* config/chorus.h: Remove.
* config/cris/aout.h: Remove.
* config/cris/aout.opt: Remove.
* config/cris/t-aout: Remove.
* config/i386/beos-elf.h: Remove.
* config/i386/kaos-i386.h: Remove.
* config/i386/ptx4-i.h: Remove.
* config/i386/sco5.h: Remove.
* config/i386/sco5.opt: Remove.
* config/i386/sysv4-cpp.h: Remove.
* config/i386/sysv5.h: Remove.
* config/i386/t-beos: Remove.
* config/i386/t-sco5: Remove.
* config/i386/t-uwin: Remove.
* config/i386/uwin.asm: Remove.
* config/i386/uwin.h: Remove.
* config/kaos.h: Remove.
* config/mips/windiss.h: Remove.
* config/mt: Remove directory.
* config/pa/pa-osf.h: Remove.
* config/pa/pa-pro-end.h: Remove.
* config/pa/t-pro: Remove.
* config/ptx4.h: Remove.
* config/rs6000/beos.h: Remove.
* config/rs6000/kaos-ppc.h: Remove.
* config/rs6000/t-beos: Remove.
* config/rs6000/windiss.h: Remove.
* config/sh/kaos-sh.h: Remove.
* config/sol2-6.h: Remove.
* config/sparc/sol26-sld.h: Remove.
* config/sparc/sysv4-only.h: Remove.
* config/vax/bsd.h: Remove.
* config/vax/t-memfuncs: Remove.
* config/vax/ultrix.h: Remove.
* config/vax/vaxv.h: Remove.
* config/windiss.h: Remove.
gcc/testsuite:
* g++.dg/abi/arm_cxa_vec1.C: Don't handle xscale*-*-*.
* g++.dg/eh/spbp.C: Don't handle *-*-solaris2.[56]*.
* g++.dg/warn/miss-format-1.C: Don't handle Solaris before Solaris
7.
* gcc.c-torture/compile/981006-1.c: Don't handle xscale*-*-*,
strongarm*-*-* and cris-*-aout*.
* gcc.c-torture/execute/941014-1.x: Don't handle xscale*-*-* and
strongarm*-*-*.
* gcc.dg/20030909-1.c: Don't handle xscale*-*-* and
strongarm*-*-*.
* gcc.dg/20031108-1.c: Don't handle xscale*-*-* and
strongarm*-*-*.
* gcc.dg/20040813-1.c: Don't handle *-*-sysv5*.
* gcc.dg/arm-asm.c: Don't handle strongarm*-*-* and xscale*-*-*.
* gcc.dg/arm-scd42-1.c: Use target arm*-*-*.
* gcc.dg/arm-scd42-3.c: Use target arm*-*-*.
* gcc.dg/cpp/assert4.c: Don't handle BeOS.
* gcc.dg/debug/pr35154.c: Don't handle *-*-sysv5*.
* gcc.dg/intmax_t-1.c: Don't handle *-*-solaris2.5.1 and
xscale*-*-elf*.
* gcc.dg/pragma-align.c: Don't handle i?86-*-sco3.2v5*.
* gcc.dg/pthread-init-2.c: Don't handle *-*-solaris2.5.1.
* gcc.misc-tests/arm-isr.exp: Use target arm*-*-*.
* gcc.target/powerpc/ppc-sdata-1.c: Don't handle powerpc-*-sysv*.
* gcc.target/powerpc/ppc-sdata-2.c: Don't handle powerpc-*-sysv*.
* gcc.target/powerpc/ppc-stackalign-1.c: Don't handle
powerpc-*-sysv*.
* gfortran.dg/debug/pr35154-stabs.f: Don't handle *-*-sysv5*.
* lib/target-supports.exp: Don't handle strongarm*-*-elf,
xscale*-*-elf and *-*-windiss.
* obj-c++.dg/dwarf-2.mm: Don't handle *-*-solaris2.[56]*.
* objc.dg/dwarf-1.m: Don't handle *-*-solaris2.[56]*.
* objc.dg/dwarf-2.m: Don't handle *-*-solaris2.[56]*.
* gcc.dg/mt-loopi1.c: Remove.
gnattools:
* configure.ac (xscale*-wrs-vx*, xscale*-wrs-coff): Remove.
* configure: Regenerate.
libcpp:
* configure.ac (parisc*64*-*-*): Remove.
* configure: Regenerate.
libffi:
* configure.ac (parisc*-*-linux*, powerpc-*-sysv*,
powerpc-*-beos*): Remove.
* configure: Regenerate.
libgcc:
* config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
libjava:
* configure.host (strongarm*-elf, xscale*-elf): Remove.
libstdc++-v3:
* configure.host (xscale, ep9312, m680[246]0, solaris2.5,
solaris2.5.[0-9], solaris2.6, windiss*): Remove.
* crossconfig.m4 (*-solaris2.5, *-solaris2.6, *-windiss*): Remove.
* configure: Regenerate.
* config/os/solaris/solaris2.5: Remove directory.
* config/os/solaris/solaris2.6: Remove directory.
* config/os/windiss: Remove directory.
From-SVN: r136534
2008-06-07 20:00:15 +02:00
|
|
|
For @code{cris-axis-elf} you need binutils 2.11
|
2001-10-11 19:02:36 +02:00
|
|
|
or newer. For @code{cris-axis-linux-gnu} you need binutils 2.12 or newer.
|
|
|
|
|
|
|
|
Pre-packaged tools can be obtained from
|
2011-01-17 07:38:47 +01:00
|
|
|
@uref{ftp://ftp.axis.com/@/pub/@/axis/@/tools/@/cris/@/compiler-kit/}. More
|
2001-10-11 19:02:36 +02:00
|
|
|
information about this platform is available at
|
|
|
|
@uref{http://developer.axis.com/}.
|
|
|
|
|
2001-05-12 00:10:54 +02:00
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-05-12 00:10:54 +02:00
|
|
|
@end html
|
2001-06-02 20:21:37 +02:00
|
|
|
@heading @anchor{dos}DOS
|
2001-05-12 00:10:54 +02:00
|
|
|
|
bugreport.texi, [...]: Avoid some first-person references and patronizing comments.
* doc/bugreport.texi, doc/configterms.texi, doc/contrib.texi,
doc/contribute.texi, doc/cpp.texi, doc/cppinternals.texi,
doc/extend.texi, doc/install.texi, doc/invoke.texi, doc/md.texi,
doc/portability.texi, doc/tree-ssa.texi, doc/trouble.texi: Avoid
some first-person references and patronizing comments. Based on
printed manual.
* doc/invoke.texi: Don't reference fortran@gnu.org.
* doc/trouble.texi (Warning when a non-void function value is
ignored): Rewrite. From Russ Allbery and Chris Devers.
From-SVN: r84034
2004-07-03 01:57:12 +02:00
|
|
|
Please have a look at the @uref{binaries.html,,binaries page}.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
c-tree.texi, [...]: Be more consistent about the use of "GCC" and related terms.
* doc/c-tree.texi, doc/contrib.texi, doc/extend.texi,
doc/gcc.texi, doc/gcov.texi, doc/install.texi, doc/invoke.texi,
doc/md.texi, doc/rtl.texi, doc/tm.texi: Be more consistent about
the use of "GCC" and related terms.
* doc/gcc.1, doc/gcov.1: Regenerate.
From-SVN: r43547
2001-06-25 02:21:28 +02:00
|
|
|
You cannot install GCC by itself on MSDOS; it will not compile under
|
2001-06-03 21:06:55 +02:00
|
|
|
any MSDOS compiler except itself. You need to get the complete
|
|
|
|
compilation package DJGPP, which includes binaries as well as sources,
|
|
|
|
and includes all the necessary compilation tools and libraries.
|
|
|
|
|
2011-11-05 21:48:23 +01:00
|
|
|
@html
|
|
|
|
<hr />
|
|
|
|
@end html
|
|
|
|
@heading @anchor{epiphany-x-elf}epiphany-*-elf
|
|
|
|
Adapteva Epiphany.
|
|
|
|
This configuration is intended for embedded systems.
|
|
|
|
|
install.texi (Specific): Markup, spelling and typo fixes.
* doc/install.texi (Specific): Markup, spelling and typo fixes.
Fixed sorting.
Consistently require binutils 2.11.2, not prereleases.
(Specific, decstation-*): Canonicalize as mips-dec-*.
(Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
always necessary.
(Specific, m68k-altos): Removed reference to README.altos, deleted.
(Specific, mips-*): Reword MIPS C compiler requirements.
(Specific, powerpc*-*-*): New, mention --with-cpu once.
(Specific, sunv5): Removed, obsolete.
From-SVN: r43779
2001-07-05 15:10:59 +02:00
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
install.texi (Specific): Markup, spelling and typo fixes.
* doc/install.texi (Specific): Markup, spelling and typo fixes.
Fixed sorting.
Consistently require binutils 2.11.2, not prereleases.
(Specific, decstation-*): Canonicalize as mips-dec-*.
(Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
always necessary.
(Specific, m68k-altos): Removed reference to README.altos, deleted.
(Specific, mips-*): Reword MIPS C compiler requirements.
(Specific, powerpc*-*-*): New, mention --with-cpu once.
(Specific, sunv5): Removed, obsolete.
From-SVN: r43779
2001-07-05 15:10:59 +02:00
|
|
|
@end html
|
2005-04-16 13:04:30 +02:00
|
|
|
@heading @anchor{x-x-freebsd}*-*-freebsd*
|
install.texi (Specific): Markup, spelling and typo fixes.
* doc/install.texi (Specific): Markup, spelling and typo fixes.
Fixed sorting.
Consistently require binutils 2.11.2, not prereleases.
(Specific, decstation-*): Canonicalize as mips-dec-*.
(Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
always necessary.
(Specific, m68k-altos): Removed reference to README.altos, deleted.
(Specific, mips-*): Reword MIPS C compiler requirements.
(Specific, powerpc*-*-*): New, mention --with-cpu once.
(Specific, sunv5): Removed, obsolete.
From-SVN: r43779
2001-07-05 15:10:59 +02:00
|
|
|
|
2009-09-03 01:33:10 +02:00
|
|
|
Support for FreeBSD 1 was discontinued in GCC 3.2. Support for
|
|
|
|
FreeBSD 2 (and any mutant a.out variants of FreeBSD 3) was
|
|
|
|
discontinued in GCC 4.0.
|
|
|
|
|
2010-07-24 22:00:49 +02:00
|
|
|
In order to better utilize FreeBSD base system functionality and match
|
|
|
|
the configuration of the system compiler, GCC 4.5 and above as well as
|
|
|
|
GCC 4.4 past 2010-06-20 leverage SSP support in libc (which is present
|
|
|
|
on FreeBSD 7 or later) and the use of @code{__cxa_atexit} by default
|
|
|
|
(on FreeBSD 6 or later). The use of @code{dl_iterate_phdr} inside
|
|
|
|
@file{libgcc_s.so.1} and boehm-gc (on FreeBSD 7 or later) is enabled
|
|
|
|
by GCC 4.5 and above.
|
2009-09-22 18:33:29 +02:00
|
|
|
|
2009-09-03 01:33:10 +02:00
|
|
|
We support FreeBSD using the ELF file format with DWARF 2 debugging
|
|
|
|
for all CPU architectures. You may use @option{-gstabs} instead of
|
|
|
|
@option{-g}, if you really want the old debugging format. There are
|
install.texi (Specific): Markup, spelling and typo fixes.
* doc/install.texi (Specific): Markup, spelling and typo fixes.
Fixed sorting.
Consistently require binutils 2.11.2, not prereleases.
(Specific, decstation-*): Canonicalize as mips-dec-*.
(Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
always necessary.
(Specific, m68k-altos): Removed reference to README.altos, deleted.
(Specific, mips-*): Reword MIPS C compiler requirements.
(Specific, powerpc*-*-*): New, mention --with-cpu once.
(Specific, sunv5): Removed, obsolete.
From-SVN: r43779
2001-07-05 15:10:59 +02:00
|
|
|
no known issues with mixing object files and libraries with different
|
2009-09-03 01:33:10 +02:00
|
|
|
debugging formats. Otherwise, this release of GCC should now match
|
|
|
|
more of the configuration used in the stock FreeBSD configuration of
|
|
|
|
GCC@. In particular, @option{--enable-threads} is now configured by
|
|
|
|
default. However, as a general user, do not attempt to replace the
|
|
|
|
system compiler with this release. Known to bootstrap and check with
|
|
|
|
good results on FreeBSD 7.2-STABLE@. In the past, known to bootstrap
|
|
|
|
and check with good results on FreeBSD 3.0, 3.4, 4.0, 4.2, 4.3, 4.4,
|
|
|
|
4.5, 4.8, 4.9 and 5-CURRENT@.
|
|
|
|
|
|
|
|
The version of binutils installed in @file{/usr/bin} probably works
|
|
|
|
with this release of GCC@. Bootstrapping against the latest GNU
|
2009-09-22 23:50:58 +02:00
|
|
|
binutils and/or the version found in @file{/usr/ports/devel/binutils} has
|
2009-09-03 01:33:10 +02:00
|
|
|
been known to enable additional features and improve overall testsuite
|
|
|
|
results. However, it is currently known that boehm-gc (which itself
|
|
|
|
is required for java) may not configure properly on FreeBSD prior to
|
|
|
|
the FreeBSD 7.0 release with GNU binutils after 2.16.1.
|
2002-03-29 23:01:18 +01:00
|
|
|
|
2001-05-12 00:10:54 +02:00
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-05-12 00:10:54 +02:00
|
|
|
@end html
|
2001-06-02 20:21:37 +02:00
|
|
|
@heading @anchor{h8300-hms}h8300-hms
|
2003-06-17 19:03:00 +02:00
|
|
|
Renesas H8/300 series of processors.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
bugreport.texi, [...]: Avoid some first-person references and patronizing comments.
* doc/bugreport.texi, doc/configterms.texi, doc/contrib.texi,
doc/contribute.texi, doc/cpp.texi, doc/cppinternals.texi,
doc/extend.texi, doc/install.texi, doc/invoke.texi, doc/md.texi,
doc/portability.texi, doc/tree-ssa.texi, doc/trouble.texi: Avoid
some first-person references and patronizing comments. Based on
printed manual.
* doc/invoke.texi: Don't reference fortran@gnu.org.
* doc/trouble.texi (Warning when a non-void function value is
ignored): Rewrite. From Russ Allbery and Chris Devers.
From-SVN: r84034
2004-07-03 01:57:12 +02:00
|
|
|
Please have a look at the @uref{binaries.html,,binaries page}.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2001-06-03 00:33:30 +02:00
|
|
|
The calling convention and structure layout has changed in release 2.6.
|
|
|
|
All code must be recompiled. The calling convention now passes the
|
|
|
|
first three arguments in function calls in registers. Structures are no
|
|
|
|
longer a multiple of 2 bytes.
|
|
|
|
|
2001-05-12 00:10:54 +02:00
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-05-12 00:10:54 +02:00
|
|
|
@end html
|
2005-04-16 13:04:30 +02:00
|
|
|
@heading @anchor{hppa-hp-hpux}hppa*-hp-hpux*
|
2003-09-19 19:14:34 +02:00
|
|
|
Support for HP-UX version 9 and older was discontinued in GCC 3.4.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2009-01-31 23:29:16 +01:00
|
|
|
We require using gas/binutils on all hppa platforms. Version 2.19 or
|
|
|
|
later is recommended.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2009-01-31 23:29:16 +01:00
|
|
|
It may be helpful to configure GCC with the
|
2001-06-01 20:08:19 +02:00
|
|
|
@uref{./configure.html#with-gnu-as,,@option{--with-gnu-as}} and
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
@option{--with-as=@dots{}} options to ensure that GCC can find GAS@.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2009-01-31 23:29:16 +01:00
|
|
|
The HP assembler should not be used with GCC. It is rarely tested and may
|
|
|
|
not work. It shouldn't be used with any languages other than C due to its
|
|
|
|
many limitations.
|
|
|
|
|
|
|
|
Specifically, @option{-g} does not work (HP-UX uses a peculiar debugging
|
|
|
|
format which GCC does not know about). It also inserts timestamps
|
|
|
|
into each object file it creates, causing the 3-stage comparison test to
|
|
|
|
fail during a bootstrap. You should be able to continue by saying
|
|
|
|
@samp{make all-host all-target} after getting the failure from @samp{make}.
|
|
|
|
|
|
|
|
Various GCC features are not supported. For example, it does not support weak
|
|
|
|
symbols or alias definitions. As a result, explicit template instantiations
|
|
|
|
are required when using C++. This makes it difficult if not impossible to
|
|
|
|
build many C++ applications.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2002-06-15 19:31:32 +02:00
|
|
|
There are two default scheduling models for instructions. These are
|
|
|
|
PROCESSOR_7100LC and PROCESSOR_8000. They are selected from the pa-risc
|
|
|
|
architecture specified for the target machine when configuring.
|
|
|
|
PROCESSOR_8000 is the default. PROCESSOR_7100LC is selected when
|
|
|
|
the target is a @samp{hppa1*} machine.
|
2002-05-31 06:00:42 +02:00
|
|
|
|
|
|
|
The PROCESSOR_8000 model is not well suited to older processors. Thus,
|
|
|
|
it is important to completely specify the machine architecture when
|
|
|
|
configuring if you want a model other than PROCESSOR_8000. The macro
|
|
|
|
TARGET_SCHED_DEFAULT can be defined in BOOT_CFLAGS if a different
|
|
|
|
default scheduling model is desired.
|
|
|
|
|
2005-04-14 19:16:04 +02:00
|
|
|
As of GCC 4.0, GCC uses the UNIX 95 namespace for HP-UX 10.10
|
2004-08-25 19:49:58 +02:00
|
|
|
through 11.00, and the UNIX 98 namespace for HP-UX 11.11 and later.
|
|
|
|
This namespace change might cause problems when bootstrapping with
|
|
|
|
an earlier version of GCC or the HP compiler as essentially the same
|
|
|
|
namespace is required for an entire build. This problem can be avoided
|
|
|
|
in a number of ways. With HP cc, @env{UNIX_STD} can be set to @samp{95}
|
|
|
|
or @samp{98}. Another way is to add an appropriate set of predefines
|
|
|
|
to @env{CC}. The description for the @option{munix=} option contains
|
|
|
|
a list of the predefines used with each standard.
|
|
|
|
|
install.texi (Specific): Markup, spelling and typo fixes.
* doc/install.texi (Specific): Markup, spelling and typo fixes.
Fixed sorting.
Consistently require binutils 2.11.2, not prereleases.
(Specific, decstation-*): Canonicalize as mips-dec-*.
(Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
always necessary.
(Specific, m68k-altos): Removed reference to README.altos, deleted.
(Specific, mips-*): Reword MIPS C compiler requirements.
(Specific, powerpc*-*-*): New, mention --with-cpu once.
(Specific, sunv5): Removed, obsolete.
From-SVN: r43779
2001-07-05 15:10:59 +02:00
|
|
|
More specific information to @samp{hppa*-hp-hpux*} targets follows.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-05-12 00:10:54 +02:00
|
|
|
@end html
|
2005-04-16 13:04:30 +02:00
|
|
|
@heading @anchor{hppa-hp-hpux10}hppa*-hp-hpux10
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2001-06-27 01:23:32 +02:00
|
|
|
For hpux10.20, we @emph{highly} recommend you pick up the latest sed patch
|
2011-01-30 18:20:30 +01:00
|
|
|
@code{PHCO_19798} from HP@.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2005-04-14 19:16:04 +02:00
|
|
|
The C++ ABI has changed incompatibly in GCC 4.0. COMDAT subspaces are
|
re PR c++/14607 (Duplicate symbol "vtable for node" in files div.o and env.o)
PR c++/14607
* config/pa/pa-hpux10.h (SUPPORTS_ONE_ONLY): Define.
(MAKE_DECL_ONE_ONLY): Undefine.
* pa-protos.h (som_text_section_asm_op, one_only_readonly_data_section,
readonly_data, one_only_data_section, forget_section): New prototypes.
* pa.c (pa_init_machine_status, som_text_section_asm_op): New
functions.
(pa_select_section): Add one-only (COMDAT) support.
* pa.h (struct machine_function): Define.
* som.h (ASM_OUTPUT_FUNCTION_PREFIX): Delete.
(TEXT_SECTION_ASM_OP): Call som_text_section_asm_op.
(DEFAULT_TEXT_SECTION_ASM_OP, NEW_TEXT_SECTION_ASM_OP,
ONE_ONLY_TEXT_SECTION_ASM_OP, ONE_ONLY_READONLY_DATA_SECTION_ASM_OP,
ONE_ONLY_DATA_SECTION_ASM_OP): New defines.
(EXTRA_SECTIONS): Add in_one_only_readonly_data and in_one_only_data.
(EXTRA_SECTION_FUNCTIONS): Rework to use individual function macros.
(READONLY_DATA_FUNCTION, ONE_ONLY_READONLY_DATA_SECTION_FUNCTION,
ONE_ONLY_DATA_SECTION_FUNCTION, FORGET_SECTION_FUNCTION): New defines
for EXTRA_SECTION_FUNCTIONS.
* doc/install.texi: Update binutils requirements.
From-SVN: r84970
2004-07-20 21:52:11 +02:00
|
|
|
used for one-only code and data. This resolves many of the previous
|
|
|
|
problems in using C++ on this target. However, the ABI is not compatible
|
|
|
|
with the one implemented under HP-UX 11 using secondary definitions.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-05-12 00:10:54 +02:00
|
|
|
@end html
|
2005-04-16 13:04:30 +02:00
|
|
|
@heading @anchor{hppa-hp-hpux11}hppa*-hp-hpux11
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2004-04-06 18:46:27 +02:00
|
|
|
GCC 3.0 and up support HP-UX 11. GCC 2.95.x is not supported and cannot
|
|
|
|
be used to compile GCC 3.0 and up.
|
2003-02-02 07:08:58 +01:00
|
|
|
|
2009-01-31 23:29:16 +01:00
|
|
|
The libffi and libjava libraries haven't been ported to 64-bit HP-UX@
|
|
|
|
and don't build.
|
|
|
|
|
2004-04-06 18:46:27 +02:00
|
|
|
Refer to @uref{binaries.html,,binaries} for information about obtaining
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
precompiled GCC binaries for HP-UX@. Precompiled binaries must be obtained
|
|
|
|
to build the Ada language as it can't be bootstrapped using C@. Ada is
|
2009-01-31 23:29:16 +01:00
|
|
|
only available for the 32-bit PA-RISC runtime.
|
2003-04-11 20:30:52 +02:00
|
|
|
|
2006-06-01 14:25:19 +02:00
|
|
|
Starting with GCC 3.4 an ISO C compiler is required to bootstrap. The
|
|
|
|
bundled compiler supports only traditional C; you will need either HP's
|
|
|
|
unbundled compiler, or a binary distribution of GCC@.
|
|
|
|
|
2004-04-06 18:46:27 +02:00
|
|
|
It is possible to build GCC 3.3 starting with the bundled HP compiler,
|
|
|
|
but the process requires several steps. GCC 3.3 can then be used to
|
|
|
|
build later versions. The fastjar program contains ISO C code and
|
|
|
|
can't be built with the HP bundled compiler. This problem can be
|
|
|
|
avoided by not building the Java language. For example, use the
|
|
|
|
@option{--enable-languages="c,c++,f77,objc"} option in your configure
|
|
|
|
command.
|
2002-08-29 21:11:37 +02:00
|
|
|
|
2004-04-06 18:46:27 +02:00
|
|
|
There are several possible approaches to building the distribution.
|
|
|
|
Binutils can be built first using the HP tools. Then, the GCC
|
|
|
|
distribution can be built. The second approach is to build GCC
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
first using the HP tools, then build binutils, then rebuild GCC@.
|
2004-04-06 18:46:27 +02:00
|
|
|
There have been problems with various binary distributions, so it
|
|
|
|
is best not to start from a binary distribution.
|
|
|
|
|
|
|
|
On 64-bit capable systems, there are two distinct targets. Different
|
|
|
|
installation prefixes must be used if both are to be installed on
|
|
|
|
the same system. The @samp{hppa[1-2]*-hp-hpux11*} target generates code
|
|
|
|
for the 32-bit PA-RISC runtime architecture and uses the HP linker.
|
|
|
|
The @samp{hppa64-hp-hpux11*} target generates 64-bit code for the
|
2009-01-31 23:29:16 +01:00
|
|
|
PA-RISC 2.0 architecture.
|
2004-04-06 18:46:27 +02:00
|
|
|
|
|
|
|
The script config.guess now selects the target type based on the compiler
|
|
|
|
detected during configuration. You must define @env{PATH} or @env{CC} so
|
|
|
|
that configure finds an appropriate compiler for the initial bootstrap.
|
|
|
|
When @env{CC} is used, the definition should contain the options that are
|
|
|
|
needed whenever @env{CC} is used.
|
|
|
|
|
|
|
|
Specifically, options that determine the runtime architecture must be
|
|
|
|
in @env{CC} to correctly select the target for the build. It is also
|
c-tree.texi, [...]: Remove trailing whitespace.
* doc/c-tree.texi, doc/cfg.texi, doc/extend.texi, doc/gty.texi,
doc/install.texi, doc/invoke.texi, doc/md.texi, doc/passes.texi,
doc/rtl.texi, doc/tm.texi, doc/tree-ssa.texi: Remove trailing
whitespace.
From-SVN: r90100
2004-11-05 01:53:49 +01:00
|
|
|
convenient to place many other compiler options in @env{CC}. For example,
|
2004-04-06 18:46:27 +02:00
|
|
|
@env{CC="cc -Ac +DA2.0W -Wp,-H16376 -D_CLASSIC_TYPES -D_HPUX_SOURCE"}
|
|
|
|
can be used to bootstrap the GCC 3.3 branch with the HP compiler in
|
|
|
|
64-bit K&R/bundled mode. The @option{+DA2.0W} option will result in
|
|
|
|
the automatic selection of the @samp{hppa64-hp-hpux11*} target. The
|
|
|
|
macro definition table of cpp needs to be increased for a successful
|
|
|
|
build with the HP compiler. _CLASSIC_TYPES and _HPUX_SOURCE need to
|
|
|
|
be defined when building with the bundled compiler, or when using the
|
|
|
|
@option{-Ac} option. These defines aren't necessary with @option{-Ae}.
|
2002-09-04 01:52:06 +02:00
|
|
|
|
2004-04-06 18:46:27 +02:00
|
|
|
It is best to explicitly configure the @samp{hppa64-hp-hpux11*} target
|
|
|
|
with the @option{--with-ld=@dots{}} option. This overrides the standard
|
|
|
|
search for ld. The two linkers supported on this target require different
|
|
|
|
commands. The default linker is determined during configuration. As a
|
|
|
|
result, it's not possible to switch linkers in the middle of a GCC build.
|
2008-09-13 20:54:58 +02:00
|
|
|
This has been reported to sometimes occur in unified builds of binutils
|
|
|
|
and GCC@.
|
2004-04-06 18:46:27 +02:00
|
|
|
|
|
|
|
A recent linker patch must be installed for the correct operation of
|
|
|
|
GCC 3.3 and later. @code{PHSS_26559} and @code{PHSS_24304} are the
|
|
|
|
oldest linker patches that are known to work. They are for HP-UX
|
|
|
|
11.00 and 11.11, respectively. @code{PHSS_24303}, the companion to
|
|
|
|
@code{PHSS_24304}, might be usable but it hasn't been tested. These
|
|
|
|
patches have been superseded. Consult the HP patch database to obtain
|
|
|
|
the currently recommended linker patch for your system.
|
|
|
|
|
|
|
|
The patches are necessary for the support of weak symbols on the
|
|
|
|
32-bit port, and for the running of initializers and finalizers. Weak
|
|
|
|
symbols are implemented using SOM secondary definition symbols. Prior
|
|
|
|
to HP-UX 11, there are bugs in the linker support for secondary symbols.
|
|
|
|
The patches correct a problem of linker core dumps creating shared
|
|
|
|
libraries containing secondary symbols, as well as various other
|
|
|
|
linking issues involving secondary symbols.
|
|
|
|
|
|
|
|
GCC 3.3 uses the ELF DT_INIT_ARRAY and DT_FINI_ARRAY capabilities to
|
|
|
|
run initializers and finalizers on the 64-bit port. The 32-bit port
|
|
|
|
uses the linker @option{+init} and @option{+fini} options for the same
|
|
|
|
purpose. The patches correct various problems with the +init/+fini
|
|
|
|
options, including program core dumps. Binutils 2.14 corrects a
|
|
|
|
problem on the 64-bit port resulting from HP's non-standard use of
|
|
|
|
the .init and .fini sections for array initializers and finalizers.
|
2003-04-11 20:30:52 +02:00
|
|
|
|
2009-01-31 23:29:16 +01:00
|
|
|
Although the HP and GNU linkers are both supported for the
|
|
|
|
@samp{hppa64-hp-hpux11*} target, it is strongly recommended that the
|
|
|
|
HP linker be used for link editing on this target.
|
|
|
|
|
|
|
|
At this time, the GNU linker does not support the creation of long
|
|
|
|
branch stubs. As a result, it can't successfully link binaries
|
|
|
|
containing branch offsets larger than 8 megabytes. In addition,
|
|
|
|
there are problems linking shared libraries, linking executables
|
|
|
|
with @option{-static}, and with dwarf2 unwind and exception support.
|
|
|
|
It also doesn't provide stubs for internal calls to global functions
|
|
|
|
in shared libraries, so these calls can't be overloaded.
|
|
|
|
|
|
|
|
The HP dynamic loader does not support GNU symbol versioning, so symbol
|
|
|
|
versioning is not supported. It may be necessary to disable symbol
|
|
|
|
versioning with @option{--disable-symvers} when using GNU ld.
|
|
|
|
|
|
|
|
POSIX threads are the default. The optional DCE thread library is not
|
|
|
|
supported, so @option{--enable-threads=dce} does not work.
|
2002-08-29 21:11:37 +02:00
|
|
|
|
2001-05-12 00:10:54 +02:00
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-05-12 00:10:54 +02:00
|
|
|
@end html
|
2005-04-16 13:04:30 +02:00
|
|
|
@heading @anchor{x-x-linux-gnu}*-*-linux-gnu
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2007-02-01 04:05:18 +01:00
|
|
|
Versions of libstdc++-v3 starting with 3.2.1 require bug fixes present
|
2003-02-04 17:27:20 +01:00
|
|
|
in glibc 2.2.5 and later. More information is available in the
|
|
|
|
libstdc++-v3 documentation.
|
|
|
|
|
2001-05-12 00:10:54 +02:00
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-05-12 00:10:54 +02:00
|
|
|
@end html
|
2005-04-16 13:04:30 +02:00
|
|
|
@heading @anchor{ix86-x-linux}i?86-*-linux*
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2003-07-12 01:04:48 +02:00
|
|
|
As of GCC 3.3, binutils 2.13.1 or later is required for this platform.
|
|
|
|
See @uref{http://gcc.gnu.org/PR10877,,bug 10877} for more information.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
|
|
|
If you receive Signal 11 errors when building on GNU/Linux, then it is
|
|
|
|
possible you have a hardware problem. Further information on this can be
|
|
|
|
found on @uref{http://www.bitwizard.nl/sig11/,,www.bitwizard.nl}.
|
|
|
|
|
2010-07-12 13:32:42 +02:00
|
|
|
@html
|
|
|
|
<hr />
|
|
|
|
@end html
|
2012-03-14 18:08:03 +01:00
|
|
|
@heading @anchor{ix86-x-solaris29}i?86-*-solaris2.9
|
|
|
|
The Sun assembler in Solaris 9 has several bugs and limitations.
|
2010-07-12 13:32:42 +02:00
|
|
|
While GCC works around them, several features are missing, so it is
|
|
|
|
@c FIXME: which ones?
|
|
|
|
recommended to use the GNU assembler instead. There is no bundled
|
2012-03-12 16:39:37 +01:00
|
|
|
version, but the current version, from GNU binutils 2.22, is known to
|
2010-07-12 13:32:42 +02:00
|
|
|
work.
|
|
|
|
|
2010-12-23 11:38:55 +01:00
|
|
|
Solaris@tie{}2/x86 doesn't support the execution of SSE/SSE2 instructions
|
|
|
|
before Solaris@tie{}9 4/04, even if the CPU supports them. Programs will
|
2010-07-12 13:32:42 +02:00
|
|
|
receive @code{SIGILL} if they try. The fix is available both in
|
2012-03-14 18:08:03 +01:00
|
|
|
Solaris@tie{}9 Update@tie{}6 and kernel patch 112234-12 or newer. To
|
|
|
|
avoid this problem,
|
|
|
|
@option{-march} defaults to @samp{pentiumpro} on Solaris 9. If
|
2010-07-12 13:32:42 +02:00
|
|
|
you have the patch installed, you can configure GCC with an appropriate
|
|
|
|
@option{--with-arch} option, but need GNU @command{as} for SSE2 support.
|
|
|
|
|
2005-04-25 16:30:21 +02:00
|
|
|
@html
|
|
|
|
<hr />
|
|
|
|
@end html
|
2005-05-01 15:39:37 +02:00
|
|
|
@heading @anchor{ix86-x-solaris210}i?86-*-solaris2.10
|
2012-03-12 16:39:37 +01:00
|
|
|
Use this for Solaris 10 or later on x86 and x86-64 systems. Starting
|
2011-07-07 11:24:16 +02:00
|
|
|
with GCC 4.7, there is also a 64-bit @samp{amd64-*-solaris2.1[0-9]*} or
|
|
|
|
@samp{x86_64-*-solaris2.1[0-9]*} configuration that corresponds to
|
|
|
|
@samp{sparcv9-sun-solaris2*}.
|
2010-04-01 14:33:35 +02:00
|
|
|
|
|
|
|
It is recommended that you configure GCC to use the GNU assembler, in
|
|
|
|
@file{/usr/sfw/bin/gas}. The versions included in Solaris 10, from GNU
|
|
|
|
binutils 2.15, and Solaris 11, from GNU binutils 2.19, work fine,
|
2010-04-08 16:41:43 +02:00
|
|
|
although the current version, from GNU binutils
|
2012-03-12 16:39:37 +01:00
|
|
|
2.22, is known to work, too. Recent versions of the Sun assembler in
|
2010-04-01 14:33:35 +02:00
|
|
|
@file{/usr/ccs/bin/as} work almost as well, though.
|
|
|
|
@c FIXME: as patch requirements?
|
|
|
|
|
|
|
|
For linking, the Sun linker, is preferred. If you want to use the GNU
|
|
|
|
linker instead, which is available in @file{/usr/sfw/bin/gld}, note that
|
|
|
|
due to a packaging bug the version in Solaris 10, from GNU binutils
|
|
|
|
2.15, cannot be used, while the version in Solaris 11, from GNU binutils
|
2012-03-12 16:39:37 +01:00
|
|
|
2.19, works, as does the latest version, from GNU binutils 2.22.
|
2010-04-01 14:33:35 +02:00
|
|
|
|
|
|
|
To use GNU @command{as}, configure with the options
|
2011-01-17 07:38:47 +01:00
|
|
|
@option{--with-gnu-as --with-as=@//usr/@/sfw/@/bin/@/gas}. It may be necessary
|
|
|
|
to configure with @option{--without-gnu-ld --with-ld=@//usr/@/ccs/@/bin/@/ld} to
|
2010-04-01 14:33:35 +02:00
|
|
|
guarantee use of Sun @command{ld}.
|
|
|
|
@c FIXME: why --without-gnu-ld --with-ld?
|
2005-04-25 16:30:21 +02:00
|
|
|
|
2001-09-25 23:17:34 +02:00
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-09-25 23:17:34 +02:00
|
|
|
@end html
|
2005-04-16 13:04:30 +02:00
|
|
|
@heading @anchor{ia64-x-linux}ia64-*-linux
|
2001-09-25 23:17:34 +02:00
|
|
|
IA-64 processor (also known as IPF, or Itanium Processor Family)
|
|
|
|
running GNU/Linux.
|
|
|
|
|
2004-09-04 02:15:42 +02:00
|
|
|
If you are using the installed system libunwind library with
|
|
|
|
@option{--with-system-libunwind}, then you must use libunwind 0.98 or
|
|
|
|
later.
|
2003-12-20 08:05:17 +01:00
|
|
|
|
2001-09-25 23:17:34 +02:00
|
|
|
None of the following versions of GCC has an ABI that is compatible
|
|
|
|
with any of the other versions in this list, with the exception that
|
|
|
|
Red Hat 2.96 and Trillian 000171 are compatible with each other:
|
2003-06-30 01:10:28 +02:00
|
|
|
3.1, 3.0.2, 3.0.1, 3.0, Red Hat 2.96, and Trillian 000717.
|
2001-09-25 23:17:34 +02:00
|
|
|
This primarily affects C++ programs and programs that create shared libraries.
|
2003-06-30 01:10:28 +02:00
|
|
|
GCC 3.1 or later is recommended for compiling linux, the kernel.
|
|
|
|
As of version 3.1 GCC is believed to be fully ABI compliant, and hence no
|
|
|
|
more major ABI changes are expected.
|
2001-09-25 23:17:34 +02:00
|
|
|
|
2003-07-11 06:59:35 +02:00
|
|
|
@html
|
|
|
|
<hr />
|
|
|
|
@end html
|
2005-04-16 13:04:30 +02:00
|
|
|
@heading @anchor{ia64-x-hpux}ia64-*-hpux*
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
Building GCC on this target requires the GNU Assembler. The bundled HP
|
|
|
|
assembler will not work. To prevent GCC from using the wrong assembler,
|
2003-07-11 06:59:35 +02:00
|
|
|
the option @option{--with-gnu-as} may be necessary.
|
|
|
|
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
The GCC libunwind library has not been ported to HPUX@. This means that for
|
2003-07-11 06:59:35 +02:00
|
|
|
GCC versions 3.2.3 and earlier, @option{--enable-libunwind-exceptions}
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
is required to build GCC@. For GCC 3.3 and later, this is the default.
|
2004-09-04 02:15:42 +02:00
|
|
|
For gcc 3.4.3 and later, @option{--enable-libunwind-exceptions} is
|
|
|
|
removed and the system libunwind library will always be used.
|
2003-07-11 06:59:35 +02:00
|
|
|
|
2001-05-12 00:10:54 +02:00
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-05-12 00:10:54 +02:00
|
|
|
<!-- rs6000-ibm-aix*, powerpc-ibm-aix* -->
|
|
|
|
@end html
|
2005-04-16 13:04:30 +02:00
|
|
|
@heading @anchor{x-ibm-aix}*-ibm-aix*
|
2003-09-19 19:14:34 +02:00
|
|
|
Support for AIX version 3 and older was discontinued in GCC 3.4.
|
inclhack.def (aix_syswait, [...]): Remove.
fixincludes:
* inclhack.def (aix_syswait, exception_structure,
pthread_page_size): Remove.
(math_exception): Remove mention of fixproto in comment.
* fixincl.x: Regenerate.
* mkheaders.in: Do not handle STMP_FIXPROTO.
gcc:
* config/arm/t-arm-coff, config/h8300/coff.h,
config/i386/i386-aout.h, config/i386/i386-coff.h,
config/libgloss.h, config/m68k/coff.h, config/m68k/m68k-aout.h,
config/pdp11/2bsd.h, config/rs6000/aix41.h,
config/rs6000/aix41.opt, config/rs6000/t-newas, config/sh/coff.h,
fix-header.c, fixproto, gen-protos.c, protoize.c, scan-decls.c,
scan-types.sh, scan.c, scan.h, sort-protos, sys-protos.h,
sys-types.h: Remove.
* Makefile.in: Remove protoize and fixproto support and references
in comments.
(SYSCALLS.c.X-warn, TARGET_GETGROUPS_T, STMP_FIXPROTO,
PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, FIXPROTO_DEFINES):
Remove.
(ALL_HOST_OBJS): Remove $(PROTO_OBJS).
(MOSTLYCLEANFILES): Remove protoize$(exeext) and
unprotoize$(exeext).
(rest.encap): Don't depend on $(STMP_FIXPROTO)
(.PHONY): Don't depend on proto.
(libgcc-support): Don't depend on $(STMP_FIXPROTO).
(proto, PROTO_OBJS, protoize$(exeext), unprotoize$(exeext),
protoize.o, unprotoize.o, SYSCALLS.c.X, test-protoize-simple,
deduced.h, GEN_PROTOS_OBJS, build/gen-protos$(build_exeext),
build/gen-protos.o, build/scan.o, xsys-protos.h,
build/fix-header$(build_exeext), build/fix-header.o,
build/scan-decls.o, fixhdr.ready, stmp-fixproto,
stmp-install-fixproto): Remove.
(mostlyclean): Don't remove xsys-protos.hT, SYSCALLS.c.X,
SYSCALLS.c or fixproto files.
(install-common): Don't install protoize.
(install-headers-tar, install-headers-cpio, install-headers-cp):
Don't depend on $(STMP_FIXPROTO).
(install-mkheaders): Don't depend on $(STMP_FIXPROTO). Don't
install fixproto files or write out fixproto settings.
(uninstall): Don't uninstall protoize.
* config.gcc (use_fixproto): Remove.
(arm-*-coff*, armel-*-coff*, h8300-*-*, i[34567]86-*-aout*,
i[34567]86-*-coff*, m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd,
rs6000-ibm-aix4.[12]*, powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
* config/m32r/t-linux (STMP_FIXPROTO): Remove.
* config/m68k/m68k.c: Remove M68K_TARGET_COFF-conditional code.
* config/mips/t-iris (FIXPROTO_DEFINES): Remove.
* config/pa/t-pa-hpux (FIXPROTO_DEFINES): Remove.
* config/pdp11/pdp11.c: Remove TWO_BSD-conditional code.
* config/t-svr4 (FIXPROTO_DEFINES): Remove.
* config/t-vxworks (STMP_FIXPROTO): Remove.
* configure.ac (AC_TYPE_GETGROUPS, TARGET_GETGROUPS_T,
STMP_FIXPROTO): Remove.
* config.in, configure: Regenerate.
* crtstuff.c (gid_t, uid_t): Don't undefine.
* doc/install.texi: Change m68k-coff to m68k-elf in example.
(arm-*-coff, arm-*-aout: Remove target entries.
(*-ibm-aix*): Mention removal of support for AIX 4.2 and older.
Remove mention of AIX 4.1.
(m68k-*-*): Remove mention of m68k-*-aout and m68k-*-coff*.
* doc/invoke.texi (Running Protoize): Remove.
* doc/trouble.texi (Actual Bugs): Remove mention of fixproto.
(Protoize Caveats): Remove.
* tsystem.h: Update comments on headers assumed to exist.
gcc/po:
* EXCLUDES (fix-header.c, gen-protos.c, scan-decls.c, scan.c,
scan.h): Remove.
gcc/testsuite:
* g++.old-deja/g++.ext/attrib5.C, g++.old-deja/g++.jason/thunk3.C,
gcc.c-torture/compile/981006-1.c: Don't XFAIL or add special
options for removed targets.
libgcc:
* config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
From-SVN: r145158
2009-03-28 07:51:09 +01:00
|
|
|
Support for AIX version 4.2 and older was discontinued in GCC 4.5.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2005-04-15 17:19:17 +02:00
|
|
|
``out of memory'' bootstrap failures may indicate a problem with
|
|
|
|
process resource limits (ulimit). Hard limits are configured in the
|
2005-04-20 15:37:50 +02:00
|
|
|
@file{/etc/security/limits} system configuration file.
|
2005-04-15 17:19:17 +02:00
|
|
|
|
2009-06-16 20:46:47 +02:00
|
|
|
GCC can bootstrap with recent versions of IBM XLC, but bootstrapping
|
|
|
|
with an earlier release of GCC is recommended. Bootstrapping with XLC
|
|
|
|
requires a larger data segment, which can be enabled through the
|
|
|
|
@var{LDR_CNTRL} environment variable, e.g.,
|
|
|
|
|
|
|
|
@smallexample
|
2010-12-20 08:25:51 +01:00
|
|
|
% LDR_CNTRL=MAXDATA=0x50000000
|
|
|
|
% export LDR_CNTRL
|
2009-06-16 20:46:47 +02:00
|
|
|
@end smallexample
|
|
|
|
|
|
|
|
One can start with a pre-compiled version of GCC to build from
|
|
|
|
sources. One may delete GCC's ``fixed'' header files when starting
|
|
|
|
with a version of GCC built for an earlier release of AIX.
|
|
|
|
|
2004-03-04 05:53:59 +01:00
|
|
|
To speed up the configuration phases of bootstrapping and installing GCC,
|
|
|
|
one may use GNU Bash instead of AIX @command{/bin/sh}, e.g.,
|
|
|
|
|
|
|
|
@smallexample
|
2010-12-20 08:25:51 +01:00
|
|
|
% CONFIG_SHELL=/opt/freeware/bin/bash
|
|
|
|
% export CONFIG_SHELL
|
2004-03-04 05:53:59 +01:00
|
|
|
@end smallexample
|
|
|
|
|
re PR bootstrap/25670 (build fail with 'make all-gcc')
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25670
* Makefile.tpl ([+compare-target+]): Print explanation messages.
* Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES): New flags_to_pass.
* Makefile.tpl (BASE_FLAGS_TO_PASS): Support optional flags_to_pass.
(EXTRA_GCC_FLAGS): Remove ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES,
BUILD_PREFIX, BUILD_PREFIX_1.
* configure.in: (BUILD_PREFIX, BUILD_PREFIX_1): Don't substitute.
* Makefile.def (bootstrap stage 1): Pass LIBCFLAGS too.
* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Override LIBCFLAGS too.
* Makefile.tpl (configure-stage[+id+]-[+prefix+][+module+],
all-stage[+id+]-[+prefix+][+module+], : Use $(current_stage) instead
of `cat stage_current`. Always provide the `r' and `s' variables.
(clean-stage[+id+]-[+prefix+][+module+]): Likewise, and make it into
a single shell execution.
(configure-[+prefix+][+module+], all-[+prefix+][+module+]): For
bootstrapped modules, make the stage1 module if the build was not
started yet, else build the current stage.
(all-host, all-target): Omit bootstrapped modules (if bootstrapping).
(all-build, all-host, all-target, [+make_target+]-host,
[+make_target+]-target): Do not use \-continued lines.
(target modules): Depend on stage_last, not all-gcc, if bootstrapping.
(current_stage, restrap, stage_last): New.
* Makefile.in: Regenerate.
* configure: Regenerate.
gcc:
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/25476
* Makefile.in (LDFLAGS): Define from autoconf substitution.
* Makefile.in (BOOTSTRAPPING): New.
(quickstrap): New definition if BOOTSTRAPPING=yes.
* Makefile.in (CONFIG_LANGUAGES): Substitute all_selected_languages.
* configure.ac: Substitute all_selected_languages with the languages
that were configured. For all the other variables except
lang_specs_files, include all the languages in the tree.
* configure: Regenerate.
* Makefile.in (stmp-fixinc): Copy includes from the prev-gcc directory,
if there is one. Run the commands to run fixincludes in the same
subshell.
* doc/makefile.texi: Document new makefile targets from toplevel bootstrap.
* doc/install.texi: Document exact conventions for searching target tools.
Document --with-build-time-tools. Document toplevel bootstrap. Document
something more about building an Ada cross-compiler. Don't list GNU Make
requirements which affect all platforms.
From-SVN: r111295
2006-02-20 09:29:17 +01:00
|
|
|
and then proceed as described in @uref{build.html,,the build
|
|
|
|
instructions}, where we strongly recommend specifying an absolute path
|
2004-03-04 05:53:59 +01:00
|
|
|
to invoke @var{srcdir}/configure.
|
|
|
|
|
2006-10-13 18:41:59 +02:00
|
|
|
Because GCC on AIX is built as a 32-bit executable by default,
|
|
|
|
(although it can generate 64-bit programs) the GMP and MPFR libraries
|
|
|
|
required by gfortran must be 32-bit libraries. Building GMP and MPFR
|
|
|
|
as static archive libraries works better than shared libraries.
|
|
|
|
|
2001-06-13 15:07:28 +02:00
|
|
|
Errors involving @code{alloca} when building GCC generally are due
|
install.texi (Specific): Markup, spelling and typo fixes.
* doc/install.texi (Specific): Markup, spelling and typo fixes.
Fixed sorting.
Consistently require binutils 2.11.2, not prereleases.
(Specific, decstation-*): Canonicalize as mips-dec-*.
(Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
always necessary.
(Specific, m68k-altos): Removed reference to README.altos, deleted.
(Specific, mips-*): Reword MIPS C compiler requirements.
(Specific, powerpc*-*-*): New, mention --with-cpu once.
(Specific, sunv5): Removed, obsolete.
From-SVN: r43779
2001-07-05 15:10:59 +02:00
|
|
|
to an incorrect definition of @code{CC} in the Makefile or mixing files
|
c-tree.texi, [...]: Replace . at end of sentences preceded by a capital letter with @..
* doc/c-tree.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppinternals.texi, doc/extend.texi, doc/gcc.texi,
doc/gcov.texi, doc/install-old.texi, doc/install.texi,
doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi: Replace
. at end of sentences preceded by a capital letter with @..
From-SVN: r43611
2001-06-27 17:04:16 +02:00
|
|
|
compiled with the native C compiler and GCC@. During the stage1 phase of
|
2001-06-13 15:07:28 +02:00
|
|
|
the build, the native AIX compiler @strong{must} be invoked as @command{cc}
|
|
|
|
(not @command{xlc}). Once @command{configure} has been informed of
|
|
|
|
@command{xlc}, one needs to use @samp{make distclean} to remove the
|
2001-06-01 20:08:19 +02:00
|
|
|
configure cache files and ensure that @env{CC} environment variable
|
2001-05-12 00:10:54 +02:00
|
|
|
does not provide a definition that will confuse @command{configure}.
|
|
|
|
If this error occurs during stage2 or later, then the problem most likely
|
|
|
|
is the version of Make (see above).
|
|
|
|
|
2003-06-04 19:11:18 +02:00
|
|
|
The native @command{as} and @command{ld} are recommended for bootstrapping
|
2009-06-16 20:46:47 +02:00
|
|
|
on AIX@. The GNU Assembler, GNU Linker, and GNU Binutils version 2.20
|
|
|
|
is required to bootstrap on AIX 5@. The native AIX tools do
|
|
|
|
interoperate with GCC@.
|
2001-05-16 16:57:06 +02:00
|
|
|
|
2011-07-18 16:54:14 +02:00
|
|
|
AIX 5.3 TL10, AIX 6.1 TL05 and AIX 7.1 TL00 introduced an AIX
|
|
|
|
assembler change that sometimes produces corrupt assembly files
|
|
|
|
causing AIX linker errors. The bug breaks GCC bootstrap on AIX and
|
|
|
|
can cause compilation failures with existing GCC installations. An
|
|
|
|
AIX iFix for AIX 5.3 is available (APAR IZ98385 for AIX 5.3 TL10, APAR
|
|
|
|
IZ98477 for AIX 5.3 TL11 and IZ98134 for AIX 5.3 TL12). Fixes for AIX
|
|
|
|
6.1 (APAR IZ98732 for AIX 6.1 TL05 and APAR IZ98861 for AIX 6.1 TL06)
|
|
|
|
and AIX 7.1 are in verification and packaging phases.
|
|
|
|
|
2002-05-25 22:18:41 +02:00
|
|
|
Building @file{libstdc++.a} requires a fix for an AIX Assembler bug
|
2004-03-12 19:45:24 +01:00
|
|
|
APAR IY26685 (AIX 4.3) or APAR IY25528 (AIX 5.1). It also requires a
|
|
|
|
fix for another AIX Assembler bug and a co-dependent AIX Archiver fix
|
c-tree.texi (Types, [...]): Fix grammar nits.
gcc/
* doc/c-tree.texi (Types, Functions, Expression trees): Fix
grammar nits.
* doc/cfg.texi (Maintaining the CFG, Liveness information):
Likewise.
* doc/cpp.texi (Standard Predefined Macros)
(Implementation-defined behavior): Likewise.
* doc/extend.texi (Function Attributes, Type Attributes):
Likewise.
* doc/gimple.texi (GIMPLE Exception Handling)
(@code{GIMPLE_ASSIGN}): Likewise.
* doc/install.texi (Prerequisites, Configuration, Specific):
Likewise.
* doc/invoke.texi (Warning Options, Optimize Options)
(AVR Options, Darwin Options): Likewise.
(Optimize Options): Reformulate -fwhole-program description.
* doc/loop.texi (Lambda): Likewise.
* doc/md.texi (Output Template, Define Constraints)
(Standard Names, Insn Splitting): Likewise.
* doc/options.texi (Option properties): Likewise.
* doc/passes.texi (Tree-SSA passes): Likewise.
* doc/rtl.texi (Side Effects, Assembler, Insns): Likewise.
* doc/tm.texi (Register Classes, Old Constraints, Scalar Return)
(File Names and DBX): Likewise.
* doc/trouble.texi (Incompatibilities): Likewise.
From-SVN: r146854
2009-04-27 22:23:51 +02:00
|
|
|
referenced as APAR IY53606 (AIX 5.2) or as APAR IY54774 (AIX 5.1)
|
2002-01-17 21:01:49 +01:00
|
|
|
|
2004-03-12 19:45:24 +01:00
|
|
|
@samp{libstdc++} in GCC 3.4 increments the major version number of the
|
2002-08-16 19:24:33 +02:00
|
|
|
shared object and GCC installation places the @file{libstdc++.a}
|
2004-03-12 19:45:24 +01:00
|
|
|
shared library in a common location which will overwrite the and GCC
|
|
|
|
3.3 version of the shared library. Applications either need to be
|
|
|
|
re-linked against the new shared library or the GCC 3.1 and GCC 3.3
|
|
|
|
versions of the @samp{libstdc++} shared object needs to be available
|
|
|
|
to the AIX runtime loader. The GCC 3.1 @samp{libstdc++.so.4}, if
|
|
|
|
present, and GCC 3.3 @samp{libstdc++.so.5} shared objects can be
|
|
|
|
installed for runtime dynamic loading using the following steps to set
|
|
|
|
the @samp{F_LOADONLY} flag in the shared object for @emph{each}
|
2002-08-16 19:24:33 +02:00
|
|
|
multilib @file{libstdc++.a} installed:
|
|
|
|
|
2004-03-12 19:45:24 +01:00
|
|
|
Extract the shared objects from the currently installed
|
|
|
|
@file{libstdc++.a} archive:
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@smallexample
|
2010-12-20 08:25:51 +01:00
|
|
|
% ar -x libstdc++.a libstdc++.so.4 libstdc++.so.5
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@end smallexample
|
2002-08-16 19:24:33 +02:00
|
|
|
|
|
|
|
Enable the @samp{F_LOADONLY} flag so that the shared object will be
|
|
|
|
available for runtime dynamic loading, but not linking:
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@smallexample
|
2010-12-20 08:25:51 +01:00
|
|
|
% strip -e libstdc++.so.4 libstdc++.so.5
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@end smallexample
|
2002-08-16 19:24:33 +02:00
|
|
|
|
2004-03-12 19:45:24 +01:00
|
|
|
Archive the runtime-only shared object in the GCC 3.4
|
2002-08-16 19:24:33 +02:00
|
|
|
@file{libstdc++.a} archive:
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@smallexample
|
2010-12-20 08:25:51 +01:00
|
|
|
% ar -q libstdc++.a libstdc++.so.4 libstdc++.so.5
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@end smallexample
|
2002-08-16 19:24:33 +02:00
|
|
|
|
2001-05-16 16:57:06 +02:00
|
|
|
Linking executables and shared libraries may produce warnings of
|
|
|
|
duplicate symbols. The assembly files generated by GCC for AIX always
|
|
|
|
have included multiple symbol definitions for certain global variable
|
|
|
|
and function declarations in the original program. The warnings should
|
|
|
|
not prevent the linker from producing a correct library or runnable
|
|
|
|
executable.
|
|
|
|
|
2001-06-13 15:07:28 +02:00
|
|
|
AIX 4.3 utilizes a ``large format'' archive to support both 32-bit and
|
2001-05-16 16:57:06 +02:00
|
|
|
64-bit object modules. The routines provided in AIX 4.3.0 and AIX 4.3.1
|
|
|
|
to parse archive libraries did not handle the new format correctly.
|
|
|
|
These routines are used by GCC and result in error messages during
|
2001-06-13 15:07:28 +02:00
|
|
|
linking such as ``not a COFF file''. The version of the routines shipped
|
2001-05-16 16:57:06 +02:00
|
|
|
with AIX 4.3.1 should work for a 32-bit environment. The @option{-g}
|
|
|
|
option of the archive command may be used to create archives of 32-bit
|
2001-06-13 15:07:28 +02:00
|
|
|
objects using the original ``small format''. A correct version of the
|
2001-09-08 08:24:00 +02:00
|
|
|
routines is shipped with AIX 4.3.2 and above.
|
2001-05-16 16:57:06 +02:00
|
|
|
|
2001-05-12 00:10:54 +02:00
|
|
|
Some versions of the AIX binder (linker) can fail with a relocation
|
|
|
|
overflow severe error when the @option{-bbigtoc} option is used to link
|
c-tree.texi, [...]: Replace . at end of sentences preceded by a capital letter with @..
* doc/c-tree.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppinternals.texi, doc/extend.texi, doc/gcc.texi,
doc/gcov.texi, doc/install-old.texi, doc/install.texi,
doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi: Replace
. at end of sentences preceded by a capital letter with @..
From-SVN: r43611
2001-06-27 17:04:16 +02:00
|
|
|
GCC-produced object files into an executable that overflows the TOC@. A fix
|
2001-05-12 00:10:54 +02:00
|
|
|
for APAR IX75823 (OVERFLOW DURING LINK WHEN USING GCC AND -BBIGTOC) is
|
|
|
|
available from IBM Customer Support and from its
|
2001-09-08 08:24:00 +02:00
|
|
|
@uref{http://techsupport.services.ibm.com/,,techsupport.services.ibm.com}
|
2001-05-12 00:10:54 +02:00
|
|
|
website as PTF U455193.
|
|
|
|
|
2001-05-16 16:57:06 +02:00
|
|
|
The AIX 4.3.2.1 linker (bos.rte.bind_cmds Level 4.3.2.1) will dump core
|
c-tree.texi, [...]: Replace . at end of sentences preceded by a capital letter with @..
* doc/c-tree.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppinternals.texi, doc/extend.texi, doc/gcc.texi,
doc/gcov.texi, doc/install-old.texi, doc/install.texi,
doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi: Replace
. at end of sentences preceded by a capital letter with @..
From-SVN: r43611
2001-06-27 17:04:16 +02:00
|
|
|
with a segmentation fault when invoked by any version of GCC@. A fix for
|
2001-05-16 16:57:06 +02:00
|
|
|
APAR IX87327 is available from IBM Customer Support and from its
|
2001-09-08 08:24:00 +02:00
|
|
|
@uref{http://techsupport.services.ibm.com/,,techsupport.services.ibm.com}
|
2001-05-16 16:57:06 +02:00
|
|
|
website as PTF U461879. This fix is incorporated in AIX 4.3.3 and above.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
|
|
|
The initial assembler shipped with AIX 4.3.0 generates incorrect object
|
|
|
|
files. A fix for APAR IX74254 (64BIT DISASSEMBLED OUTPUT FROM COMPILER FAILS
|
|
|
|
TO ASSEMBLE/BIND) is available from IBM Customer Support and from its
|
2001-09-08 08:24:00 +02:00
|
|
|
@uref{http://techsupport.services.ibm.com/,,techsupport.services.ibm.com}
|
2001-05-12 00:10:54 +02:00
|
|
|
website as PTF U453956. This fix is incorporated in AIX 4.3.1 and above.
|
|
|
|
|
c-tree.texi, [...]: Replace . at end of sentences preceded by a capital letter with @..
* doc/c-tree.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppinternals.texi, doc/extend.texi, doc/gcc.texi,
doc/gcov.texi, doc/install-old.texi, doc/install.texi,
doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi: Replace
. at end of sentences preceded by a capital letter with @..
From-SVN: r43611
2001-06-27 17:04:16 +02:00
|
|
|
AIX provides National Language Support (NLS)@. Compilers and assemblers
|
2001-05-16 16:57:06 +02:00
|
|
|
use NLS to support locale-specific representations of various data
|
2001-06-13 15:07:28 +02:00
|
|
|
formats including floating-point numbers (e.g., @samp{.} vs @samp{,} for
|
2001-05-16 16:57:06 +02:00
|
|
|
separating decimal fractions). There have been problems reported where
|
|
|
|
GCC does not produce the same floating-point formats that the assembler
|
c-tree.texi, [...]: Fix spelling and typos.
* doc/c-tree.texi, doc/contrib.texi, doc/extend.texi,
doc/gcc.texi, doc/install.texi, doc/invoke.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi: Fix spelling and typos.
Consistently use "built-in" and "bit-field". Minor logical markup
improvements.
* doc/gcc.1: Regenerate.
From-SVN: r43383
2001-06-15 00:51:18 +02:00
|
|
|
expects. If one encounters this problem, set the @env{LANG}
|
2001-06-13 15:07:28 +02:00
|
|
|
environment variable to @samp{C} or @samp{En_US}.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2001-09-08 08:24:00 +02:00
|
|
|
A default can be specified with the @option{-mcpu=@var{cpu_type}}
|
|
|
|
switch and using the configure option @option{--with-cpu-@var{cpu_type}}.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2003-08-08 13:30:25 +02:00
|
|
|
@html
|
|
|
|
<hr />
|
|
|
|
@end html
|
2005-04-16 13:04:30 +02:00
|
|
|
@heading @anchor{iq2000-x-elf}iq2000-*-elf
|
2003-08-08 13:30:25 +02:00
|
|
|
Vitesse IQ2000 processors. These are used in embedded
|
|
|
|
applications. There are no standard Unix configurations.
|
|
|
|
|
2009-11-11 17:43:06 +01:00
|
|
|
@html
|
|
|
|
<hr />
|
|
|
|
@end html
|
|
|
|
@heading @anchor{lm32-x-elf}lm32-*-elf
|
|
|
|
Lattice Mico32 processor.
|
|
|
|
This configuration is intended for embedded systems.
|
|
|
|
|
|
|
|
@html
|
|
|
|
<hr />
|
|
|
|
@end html
|
|
|
|
@heading @anchor{lm32-x-uclinux}lm32-*-uclinux
|
|
|
|
Lattice Mico32 processor.
|
|
|
|
This configuration is intended for embedded systems running uClinux.
|
|
|
|
|
2005-07-21 01:27:02 +02:00
|
|
|
@html
|
|
|
|
<hr />
|
|
|
|
@end html
|
|
|
|
@heading @anchor{m32c-x-elf}m32c-*-elf
|
|
|
|
Renesas M32C processor.
|
|
|
|
This configuration is intended for embedded systems.
|
|
|
|
|
2001-06-03 00:33:30 +02:00
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-06-03 00:33:30 +02:00
|
|
|
@end html
|
2005-04-16 13:04:30 +02:00
|
|
|
@heading @anchor{m32r-x-elf}m32r-*-elf
|
2003-06-12 20:46:23 +02:00
|
|
|
Renesas M32R processor.
|
2001-06-03 00:33:30 +02:00
|
|
|
This configuration is intended for embedded systems.
|
|
|
|
|
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-06-03 00:33:30 +02:00
|
|
|
@end html
|
2007-01-12 10:56:36 +01:00
|
|
|
@heading @anchor{m68k-x-x}m68k-*-*
|
inclhack.def (aix_syswait, [...]): Remove.
fixincludes:
* inclhack.def (aix_syswait, exception_structure,
pthread_page_size): Remove.
(math_exception): Remove mention of fixproto in comment.
* fixincl.x: Regenerate.
* mkheaders.in: Do not handle STMP_FIXPROTO.
gcc:
* config/arm/t-arm-coff, config/h8300/coff.h,
config/i386/i386-aout.h, config/i386/i386-coff.h,
config/libgloss.h, config/m68k/coff.h, config/m68k/m68k-aout.h,
config/pdp11/2bsd.h, config/rs6000/aix41.h,
config/rs6000/aix41.opt, config/rs6000/t-newas, config/sh/coff.h,
fix-header.c, fixproto, gen-protos.c, protoize.c, scan-decls.c,
scan-types.sh, scan.c, scan.h, sort-protos, sys-protos.h,
sys-types.h: Remove.
* Makefile.in: Remove protoize and fixproto support and references
in comments.
(SYSCALLS.c.X-warn, TARGET_GETGROUPS_T, STMP_FIXPROTO,
PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, FIXPROTO_DEFINES):
Remove.
(ALL_HOST_OBJS): Remove $(PROTO_OBJS).
(MOSTLYCLEANFILES): Remove protoize$(exeext) and
unprotoize$(exeext).
(rest.encap): Don't depend on $(STMP_FIXPROTO)
(.PHONY): Don't depend on proto.
(libgcc-support): Don't depend on $(STMP_FIXPROTO).
(proto, PROTO_OBJS, protoize$(exeext), unprotoize$(exeext),
protoize.o, unprotoize.o, SYSCALLS.c.X, test-protoize-simple,
deduced.h, GEN_PROTOS_OBJS, build/gen-protos$(build_exeext),
build/gen-protos.o, build/scan.o, xsys-protos.h,
build/fix-header$(build_exeext), build/fix-header.o,
build/scan-decls.o, fixhdr.ready, stmp-fixproto,
stmp-install-fixproto): Remove.
(mostlyclean): Don't remove xsys-protos.hT, SYSCALLS.c.X,
SYSCALLS.c or fixproto files.
(install-common): Don't install protoize.
(install-headers-tar, install-headers-cpio, install-headers-cp):
Don't depend on $(STMP_FIXPROTO).
(install-mkheaders): Don't depend on $(STMP_FIXPROTO). Don't
install fixproto files or write out fixproto settings.
(uninstall): Don't uninstall protoize.
* config.gcc (use_fixproto): Remove.
(arm-*-coff*, armel-*-coff*, h8300-*-*, i[34567]86-*-aout*,
i[34567]86-*-coff*, m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd,
rs6000-ibm-aix4.[12]*, powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
* config/m32r/t-linux (STMP_FIXPROTO): Remove.
* config/m68k/m68k.c: Remove M68K_TARGET_COFF-conditional code.
* config/mips/t-iris (FIXPROTO_DEFINES): Remove.
* config/pa/t-pa-hpux (FIXPROTO_DEFINES): Remove.
* config/pdp11/pdp11.c: Remove TWO_BSD-conditional code.
* config/t-svr4 (FIXPROTO_DEFINES): Remove.
* config/t-vxworks (STMP_FIXPROTO): Remove.
* configure.ac (AC_TYPE_GETGROUPS, TARGET_GETGROUPS_T,
STMP_FIXPROTO): Remove.
* config.in, configure: Regenerate.
* crtstuff.c (gid_t, uid_t): Don't undefine.
* doc/install.texi: Change m68k-coff to m68k-elf in example.
(arm-*-coff, arm-*-aout: Remove target entries.
(*-ibm-aix*): Mention removal of support for AIX 4.2 and older.
Remove mention of AIX 4.1.
(m68k-*-*): Remove mention of m68k-*-aout and m68k-*-coff*.
* doc/invoke.texi (Running Protoize): Remove.
* doc/trouble.texi (Actual Bugs): Remove mention of fixproto.
(Protoize Caveats): Remove.
* tsystem.h: Update comments on headers assumed to exist.
gcc/po:
* EXCLUDES (fix-header.c, gen-protos.c, scan-decls.c, scan.c,
scan.h): Remove.
gcc/testsuite:
* g++.old-deja/g++.ext/attrib5.C, g++.old-deja/g++.jason/thunk3.C,
gcc.c-torture/compile/981006-1.c: Don't XFAIL or add special
options for removed targets.
libgcc:
* config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
From-SVN: r145158
2009-03-28 07:51:09 +01:00
|
|
|
By default,
|
2008-07-07 13:14:37 +02:00
|
|
|
@samp{m68k-*-elf*}, @samp{m68k-*-rtems}, @samp{m68k-*-uclinux} and
|
|
|
|
@samp{m68k-*-linux}
|
200x-xx-xx Nathan Sidwell <nathan@codesourcery.com> Richard Sandiford <richard@codesourcery.com>
gcc/
200x-xx-xx Nathan Sidwell <nathan@codesourcery.com>
Richard Sandiford <richard@codesourcery.com>
* config.gcc (m68010-*-netbsdelf*, m68k*-*-netbsdelf*)
(m68k*-*-openbsd*, m68k-*-linux*): Set default_cf_cpu.
(m68k-*-aout*, m68k-*-coff*, m68k-*-uclinux*, m68k-*-rtems*): Add
m68k/t-mlib to tmake_file.
(m68020-*-elf*, m68k-*-elf*): Likewise. Add t-m68kbare as well.
(m68k*-*-*): Use --with-arch to pick a default for --with-cpu.
(m680[012]0-*-*, m68k*-*-*): Add support for --with-arch.
Allow it to be cf or m68k. Set m68k_arch_family. If that
variable is not empty, add t-$m68k_arch_family to tmake_file.
Add t-mlibs to tmake_file.
* doc/install.texi: Document --with-arch=m68k and --with-arch=cf.
* config/m68k/t-cf: New file.
* config/m68k/t-m68k: Likewise.
* config/m68k/t-mlibs: Likewise.
* config/m68k/t-m68kbare (MULTILIB_OPTIONS, MULTILIB_DIRNAMES)
(MULTILIB_MATCHES, MULTILIB_EXCEPTIONS): Delete.
(M68K_MLIB_DIRNAMES, M68K_MLIB_OPTIONS): Define.
* config/m68k/t-m68kelf (MULTILIB_OPTIONS, MULTILIB_DIRNAMES)
(MULTILIB_MATCHES, MULTILIB_EXCEPTIONS, LIBGCC, INSTALL_LIBGCC):
Delete.
* config/m68k/t-openbsd (MULTILIB_OPTIONS, LIBGCC): Delete.
(INSTALL_LIBGCC): Delete.
(M68K_MLIB_DIRNAMES, M68K_MLIB_OPTIONS): Define.
* config/m68k/t-rtems (MULTILIB_OPTIONS, MULTILIB_DIRNAMES)
(MULTILIB_MATCHES, MULTILIB_EXCEPTIONS): Delete.
(M68K_MLIB_CPU): Define.
* config/m68k/t-uclinux (MULTILIB_OPTIONS, MULTILIB_DIRNAMES)
(MULTILIB_MATCHES, MULTILIB_EXCEPTIONS): Delete.
(M68K_MLIB_CPU, M68K_MLIB_OPTIONS, M68K_MLIB_DIRNAMES): Define.
Co-Authored-By: Richard Sandiford <richard@codesourcery.com>
From-SVN: r121743
2007-02-09 14:47:25 +01:00
|
|
|
build libraries for both M680x0 and ColdFire processors. If you only
|
|
|
|
need the M680x0 libraries, you can omit the ColdFire ones by passing
|
|
|
|
@option{--with-arch=m68k} to @command{configure}. Alternatively, you
|
|
|
|
can omit the M680x0 libraries by passing @option{--with-arch=cf} to
|
2008-07-07 13:14:37 +02:00
|
|
|
@command{configure}. These targets default to 5206 or 5475 code as
|
|
|
|
appropriate for the target system when
|
200x-xx-xx Nathan Sidwell <nathan@codesourcery.com> Richard Sandiford <richard@codesourcery.com>
gcc/
200x-xx-xx Nathan Sidwell <nathan@codesourcery.com>
Richard Sandiford <richard@codesourcery.com>
* config.gcc (m68010-*-netbsdelf*, m68k*-*-netbsdelf*)
(m68k*-*-openbsd*, m68k-*-linux*): Set default_cf_cpu.
(m68k-*-aout*, m68k-*-coff*, m68k-*-uclinux*, m68k-*-rtems*): Add
m68k/t-mlib to tmake_file.
(m68020-*-elf*, m68k-*-elf*): Likewise. Add t-m68kbare as well.
(m68k*-*-*): Use --with-arch to pick a default for --with-cpu.
(m680[012]0-*-*, m68k*-*-*): Add support for --with-arch.
Allow it to be cf or m68k. Set m68k_arch_family. If that
variable is not empty, add t-$m68k_arch_family to tmake_file.
Add t-mlibs to tmake_file.
* doc/install.texi: Document --with-arch=m68k and --with-arch=cf.
* config/m68k/t-cf: New file.
* config/m68k/t-m68k: Likewise.
* config/m68k/t-mlibs: Likewise.
* config/m68k/t-m68kbare (MULTILIB_OPTIONS, MULTILIB_DIRNAMES)
(MULTILIB_MATCHES, MULTILIB_EXCEPTIONS): Delete.
(M68K_MLIB_DIRNAMES, M68K_MLIB_OPTIONS): Define.
* config/m68k/t-m68kelf (MULTILIB_OPTIONS, MULTILIB_DIRNAMES)
(MULTILIB_MATCHES, MULTILIB_EXCEPTIONS, LIBGCC, INSTALL_LIBGCC):
Delete.
* config/m68k/t-openbsd (MULTILIB_OPTIONS, LIBGCC): Delete.
(INSTALL_LIBGCC): Delete.
(M68K_MLIB_DIRNAMES, M68K_MLIB_OPTIONS): Define.
* config/m68k/t-rtems (MULTILIB_OPTIONS, MULTILIB_DIRNAMES)
(MULTILIB_MATCHES, MULTILIB_EXCEPTIONS): Delete.
(M68K_MLIB_CPU): Define.
* config/m68k/t-uclinux (MULTILIB_OPTIONS, MULTILIB_DIRNAMES)
(MULTILIB_MATCHES, MULTILIB_EXCEPTIONS): Delete.
(M68K_MLIB_CPU, M68K_MLIB_OPTIONS, M68K_MLIB_DIRNAMES): Define.
Co-Authored-By: Richard Sandiford <richard@codesourcery.com>
From-SVN: r121743
2007-02-09 14:47:25 +01:00
|
|
|
configured with @option{--with-arch=cf} and 68020 code otherwise.
|
|
|
|
|
2008-07-07 13:14:37 +02:00
|
|
|
The @samp{m68k-*-netbsd} and
|
200x-xx-xx Nathan Sidwell <nathan@codesourcery.com> Richard Sandiford <richard@codesourcery.com>
gcc/
200x-xx-xx Nathan Sidwell <nathan@codesourcery.com>
Richard Sandiford <richard@codesourcery.com>
* config.gcc (m68010-*-netbsdelf*, m68k*-*-netbsdelf*)
(m68k*-*-openbsd*, m68k-*-linux*): Set default_cf_cpu.
(m68k-*-aout*, m68k-*-coff*, m68k-*-uclinux*, m68k-*-rtems*): Add
m68k/t-mlib to tmake_file.
(m68020-*-elf*, m68k-*-elf*): Likewise. Add t-m68kbare as well.
(m68k*-*-*): Use --with-arch to pick a default for --with-cpu.
(m680[012]0-*-*, m68k*-*-*): Add support for --with-arch.
Allow it to be cf or m68k. Set m68k_arch_family. If that
variable is not empty, add t-$m68k_arch_family to tmake_file.
Add t-mlibs to tmake_file.
* doc/install.texi: Document --with-arch=m68k and --with-arch=cf.
* config/m68k/t-cf: New file.
* config/m68k/t-m68k: Likewise.
* config/m68k/t-mlibs: Likewise.
* config/m68k/t-m68kbare (MULTILIB_OPTIONS, MULTILIB_DIRNAMES)
(MULTILIB_MATCHES, MULTILIB_EXCEPTIONS): Delete.
(M68K_MLIB_DIRNAMES, M68K_MLIB_OPTIONS): Define.
* config/m68k/t-m68kelf (MULTILIB_OPTIONS, MULTILIB_DIRNAMES)
(MULTILIB_MATCHES, MULTILIB_EXCEPTIONS, LIBGCC, INSTALL_LIBGCC):
Delete.
* config/m68k/t-openbsd (MULTILIB_OPTIONS, LIBGCC): Delete.
(INSTALL_LIBGCC): Delete.
(M68K_MLIB_DIRNAMES, M68K_MLIB_OPTIONS): Define.
* config/m68k/t-rtems (MULTILIB_OPTIONS, MULTILIB_DIRNAMES)
(MULTILIB_MATCHES, MULTILIB_EXCEPTIONS): Delete.
(M68K_MLIB_CPU): Define.
* config/m68k/t-uclinux (MULTILIB_OPTIONS, MULTILIB_DIRNAMES)
(MULTILIB_MATCHES, MULTILIB_EXCEPTIONS): Delete.
(M68K_MLIB_CPU, M68K_MLIB_OPTIONS, M68K_MLIB_DIRNAMES): Define.
Co-Authored-By: Richard Sandiford <richard@codesourcery.com>
From-SVN: r121743
2007-02-09 14:47:25 +01:00
|
|
|
@samp{m68k-*-openbsd} targets also support the @option{--with-arch}
|
|
|
|
option. They will generate ColdFire CFV4e code when configured with
|
|
|
|
@option{--with-arch=cf} and 68020 code otherwise.
|
|
|
|
|
|
|
|
You can override the default processors listed above by configuring
|
|
|
|
with @option{--with-cpu=@var{target}}. This @var{target} can either
|
|
|
|
be a @option{-mcpu} argument or one of the following values:
|
|
|
|
@samp{m68000}, @samp{m68010}, @samp{m68020}, @samp{m68030},
|
200x-xx-xx Julian Brown <julian@codesourcery.com> Nathan Sidwell...
gcc/
200x-xx-xx Julian Brown <julian@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com>
Richard Sandiford <richard@codesourcery.com>
* config.gcc (m680[012]0-*-*, m68k*-*-*): Set m68k_cpu_ident to
the -mcpu= argument associated with the --with-cpu setting.
Define M68K_DEFAULT_TUNE to the default -mtune= option,
if different from the one implied by the -mcpu setting.
Accept --with-cpu=FOO if FOO is listed in m68k-devices.def,
using mcpu=FOO as the default CPU option. Set target_cpu_default2.
* doc/invoke.texi: Mention ColdFire in the introduction to the
m68k options. Document the new -march, -mcpu, -mtune, -mdiv,
-mno-div and -mhard-float options. Make -m68881 a synonym for
-mhard-float. Document the previously-undocumented -m5206e,
-m528x, -m5307 and -m5407 options. Tweak the existing option
documentation for consistency.
* doc/install.texi: Mention new --with-cpu arguments.
* config/m68k/m68k.h (OPTION_DEFAULT_SPECS): Only use the
default CPU if neither -mcpu nor -march are specified.
(ASM_CPU_SPEC): Pass down -mcpu and -march options.
(TARGET_CPU_CPP_BUILTINS): Set __mcfisa*__ macros from
TARGET_ISA*. Set the legacy __mcf*__ cpu macros in the same way,
using m68k_tune to decide between families that implement the
same ISA. Use m68k_tune to set __mcfv4e__.
(FL_BITFIELD, FL_68881, FL_COLDFIRE, FL_CF_HWDIV, FL_CF_MAC)
(FL_CF_EMAC, FL_CF_EMAC_B, FL_CF_USP, FL_CF_FPU, FL_ISA_68000)
(FL_ISA_68010, FL_ISA_68020, FL_ISA_68040, FL_ISA_A, FL_ISA_B)
(FL_ISA_C, FL_ISA_MMU): New macros.
(MASK_COLDFIRE): Delete.
(TARGET_68010, TARGET_68020, TARGET_68040_ONLY, TARGET_COLDFIRE)
(TARGET_ISAB): Redefine in terms of m68k_cpu_flags.
(TARGET_68881, TARGET_COLDFIRE_FPU): Redefine in terms of m68k_fpu.
(TARGET_HARD_FLOAT): Do not define here.
(TARGET_ISAAPLUS, TARGET_ISAC): New macros.
(TUNE_68000): New macro.
(TUNE_68000_10): Redefine in terms of TUNE_68000 and TUNE_68010.
(TUNE_68010, TUNE_68030, TUNE_68040, TUNE_68060, TUNE_CPU32)
(TUNE_CFV2): Redefine in terms of m68k_tune.
(uarch_type, target_device, fpu_type): New enums.
(m68k_cpu, m68k_tune, m68k_fpu, m68k_cpu_flags): Declare.
* config/m68k/m68k.c (TARGET_DEFAULT): Remove MASK_68881.
(FL_FOR_isa_00, FL_FOR_isa_10, FL_FOR_isa_20, FL_FOR_isa_40)
(FL_FOR_isa_cpu32, FL_FOR_isa_a, FL_FOR_isa_aplus, FL_FOR_isa_b)
(FL_FOR_isa_c): New macros.
(m68k_isa): New enum.
(m68k_target_selection): New structure.
(all_devices, all_isas, all_microarchs): New tables.
(m68k_cpu_entry, m68k_arch_entry, m68k_tune_entry, m68k_cpu)
(m68k_tune, m68k_fpu, m68k_cpu_flags): New variables.
(MASK_ALL_CPU_BITS): Delete.
(m68k_find_selection): New function.
(m68k_handle_option): Handle -mcpu=, -march= and -mtune=.
Map the legacy target options to a combination of the new ones.
(override_options): Set m68k_cpu, m68k_tune, m68k_fpu and
m68k_cpu_flags. Handle M68K_DEFAULT_TUNE. Use m68k_cpu_flags
to derive default MASK_BITFIELD, MASK_CF_HWDIV and MASK_HARD_FLOAT
settings.
* config/m68k/m68k.opt (m5200, m5206e, m528x, m5307, m5407, mcfv4e)
(m68010, m68020, m68020-40, m68020-60, m68030, m68040): Remove Mask
properties.
(m68881, msoft-float): Change mask from 68881 to HARD_FLOAT.
(march=, mcpu=, mdiv, mhard-float, mtune=): New options.
* config/m68k/m68k-devices.def: New file.
Co-Authored-By: Nathan Sidwell <nathan@codesourcery.com>
Co-Authored-By: Richard Sandiford <richard@codesourcery.com>
From-SVN: r120713
2007-01-12 10:32:59 +01:00
|
|
|
@samp{m68040}, @samp{m68060}, @samp{m68020-40} and @samp{m68020-60}.
|
200x-xx-xx Nathan Sidwell <nathan@codesourcery.com> Richard Sandiford...
gcc/
200x-xx-xx Nathan Sidwell <nathan@codesourcery.com>
Richard Sandiford <richard@codesourcery.com>
Julian Brown <julian@codesourcery.com>
* config.gcc (m68k-*-aout*, m68k-*-coff*, m68020-*-elf*, m68k-*-elf*)
(m68k-*-uclinux*, m68k-*-linux*, m68k-*-rtems*): Set default_m68k_cpu
to the configuration's default CPU.
(m68010-*-netbsdelf*, m68k*-*-netbsdelf*, m68k*-*-openbsd*): Likewise.
Remove default masks.
(m680[012]0-*-*): Set the default with_cpu to the first part of
the target name.
(m68k*-*-*): Set the default with_cpu to m$default_m68k_cpu.
(m68k*-*-linux): Extend the --with-cpu handling to...
(m680[012]0-*-*, m68k*-*-*): ...these configurations. Allow m68000
and m68010. Don't set target_cpu_default2.
* doc/install.texi: Document --with-cpu for m68k.
* config/m68k/m68k.h (OPTION_DEFAULT_SPECS): Define.
* config/m68k/m68k-none.h (TARGET_CPU_DEFAULT, M68K_CPU_m68k)
(M68K_CPU_m68000, M68K_CPU_m68010, M68K_CPU_m68020, M68K_CPU_m68030)
(M68K_CPU_m68040, M68K_CPU_m68302, M68K_CPU_m68332, TARGET_DEFAULT)
(ASM_CPU_DEFAULT_SPEC, CC1_CPU_DEFAULT_SPEC): Delete.
(ASM_SPEC): Remove use of %(asm_cpu_default).
(EXTRA_SPECS, SUBTARGET_EXTRA_SPECS, MULTILIB_DEFAULTS): Delete.
* config/m68k/linux.h (TARGET_DEFAULT): Delete.
(CPP_SPEC): Merge definitions. Do not handle __HAVE_68881__ here.
* config/m68k/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define
__HAVE_FPU__ if TARGET_HARD_FLOAT.
(TARGET_DEFAULT): Delete.
(EXTRA_SPECS): Delete cpp_cpu_default_spec, cpp_cpu_spec,
cpp_fpu_spec, asm_default_spec and netbsd_cpp_spec.
(CPP_CPU_SPEC): Delete.
(TARGET_VERSION): Merge definitions, using TARGET_68010 to pick
the appropriate string.
(CPP_CPU_DEFAULT_SPEC, ASM_DEFAULT_SPEC, CPP_FPU_SPEC): Delete.
(CPP_SPEC): Define to NETBSD_CPP_SPEC.
(ASM_SPEC): Don't use %(asm_default_spec).
* config/m68k/m68k.c (TARGET_DEFAULT_TARGET_FLAGS): Remove
TARGET_DEFAULT and add MASK_68881.
* config/m68k/m68k.md: Remove mention of TARGET_DEFAULT from comments.
Co-Authored-By: Julian Brown <julian@codesourcery.com>
Co-Authored-By: Richard Sandiford <richard@codesourcery.com>
From-SVN: r120711
2007-01-12 10:28:34 +01:00
|
|
|
|
m68k.c (m68k_handle_option): Don't handle OPT_m68000...
* config/m68k/m68k.c (m68k_handle_option): Don't handle
OPT_m68000, OPT_mc68000, OPT_m68010, OPT_m68020, OPT_mc68020,
OPT_m68030, OPT_m68040, OPT_m68060, OPT_m68302, OPT_m68332 and
OPT_mcpu32.
* config/m68k/m68k.h (OPTION_DEFAULT_SPECS, ASM_CPU_SPEC): Don't
handle -mc68000, -m68000, -m68302, -m68010, -mc68020, -m68020,
-m68030, -m68040, -m68060, -mcpu32 and -m68332.
* config/m68k/m68k.opt (m68000, m68010, m68020, m68030, m68040,
m68060, m68302, m68332, mc68000, mc68020, mcpu32): Use Alias.
* config/m68k/t-mlibs (CANONICALIZE_OPTIONS): Remove.
(MULTILIB_OPTIONS): Don't use $(CANONICALIZE_OPTIONS).
(MULTILIB_MATCHES): Map -march= options to corresponding -mcpu=
options. Don't map other m68k options manually. Don't handle
old-style options as canonical.
(MULTILIB_EXCEPTIONS): Don't use $(CANONICALIZE_OPTIONS).
* doc/install.texi (m68k-*-*): Document binutils version
requirement.
From-SVN: r172130
2011-04-07 23:25:55 +02:00
|
|
|
GCC requires at least binutils version 2.17 on these targets.
|
|
|
|
|
2007-01-18 19:33:28 +01:00
|
|
|
@html
|
|
|
|
<hr />
|
|
|
|
@end html
|
|
|
|
@heading @anchor{m68k-x-uclinux}m68k-*-uclinux
|
|
|
|
GCC 4.3 changed the uClinux configuration so that it uses the
|
|
|
|
@samp{m68k-linux-gnu} ABI rather than the @samp{m68k-elf} ABI.
|
|
|
|
It also added improved support for C++ and flat shared libraries,
|
MAINTAINERS (crx port, [...]): Remove.
* MAINTAINERS (crx port, m68hc11 port): Remove. Move maintainers
to Write After Approval.
* config-ml.in: Don't handle arc-*-elf*.
* configure.ac (arc-*-*, crx-*-*, i[[3456789]]86-*-pe,
m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*, mcore-*-pe*): Don't
handle GCC libraries.
* configure: Regenerate.
contrib:
* compare-all-tests (all_targets): Remove crx and m68hc11.
fixincludes:
* mkfixinc.sh: Don't handle i?86-moss-msdos* or i?86-*-pe.
gcc:
* config/alpha/gnu.h: Remove.
* config/arc: Remove directory.
* config/arm/netbsd.h: Remove.
* config/arm/t-pe: Remove.
* config/crx: Remove directory.
* config/i386/netbsd.h: Remove.
* config/m68hc11: Remove directory.
* config/m68k/uclinux-oldabi.h: Remove.
* config/mcore/mcore-pe.h: Remove.
* config/mcore/t-mcore-pe: Remove.
* config/netbsd-aout.h: Remove.
* config/rs6000/gnu.h: Remove.
* config/sh/sh-symbian.h: Remove.
* config/sh/symbian-base.c: Remove.
* config/sh/symbian-c.c: Remove.
* config/sh/symbian-cxx.c: Remove.
* config/sh/symbian-post.h: Remove.
* config/sh/symbian-pre.h: Remove.
* config/sh/t-symbian: Remove.
* config/svr3.h: Remove.
* config/vax/netbsd.h: Remove.
* config.build: Don't handle i[34567]86-*-pe.
* config.gcc: Remove handling of deprecations for most deprecated
targets.
(m68k-*-uclinuxoldabi*): Add to second deprecated list.
(alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*, arm-*-pe*, crx-*-elf,
i[34567]86-*-netbsd*, i[34567]86-*-pe, m68hc11-*-*|m6811-*-*,
m68hc12-*-*|m6812-*-*, m68k-*-uclinuxoldabi*, mcore-*-pe*,
powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
Remove cases.
* config.host: Don't handle i[34567]86-*-pe.
* config/rs6000/linux64.h (LINK_OS_GNU_SPEC): Remove.
(ASM_SPEC32): Don't handle -mcall-gnu.
* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Don't handle
-mcall-gnu.
(ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC, CPP_SPEC,
STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC): Don't handle -mcall-gnu.
(LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC,
LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): Remove.
(SUBTARGET_EXTRA_SPECS): Remove *_gnu specs.
* config/sh/sh-protos.h, config/sh/sh.c: Remove all code
conditional on SYMBIAN.
* configure.ac: Don't handle powerpc*-*-gnu*.
* configure: Regenerate.
* doc/extend.texi (interrupt attribute): Don't mention CRX.
* doc/install-old.texi (m6811, m6812): Don't mention.
* doc/install.texi (arc-*-elf*): Don't document multilib option.
(arc-*-elf, CRX, m6811-elf, m6812-elf): Remove.
(m68k-uclinuxoldabi): Don't mention.
* doc/invoke.texi (ARC Options, CRX Options, M68hc1x Options):
Remove.
(-mcall-gnu): Remove.
* doc/md.texi (CRX Architecture, Motorola 68HC11 & 68HC12
families): Remove constraint documentation.
gcc/testsuite:
* gcc.c-torture/execute/920501-8.x: Remove.
* gcc.c-torture/execute/930513-1.x: Remove.
* gcc.c-torture/execute/960312-1.x: Remove.
* gcc.c-torture/compile/20000804-1.c,
gcc.c-torture/compile/20001205-1.c,
gcc.c-torture/compile/20001226-1.c,
gcc.c-torture/compile/20010518-2.c,
gcc.c-torture/compile/20020312-1.c,
gcc.c-torture/compile/20020604-1.c,
gcc.c-torture/compile/920501-12.c,
gcc.c-torture/compile/920501-4.c,
gcc.c-torture/compile/920520-1.c,
gcc.c-torture/compile/980506-1.c,
gcc.c-torture/execute/980709-1.x,
gcc.c-torture/execute/990826-0.x: Don't XFAIL or use special
options for m68hc11.
* gcc.dg/cpp/assert4.c: Don't handle ARC.
* gcc.dg/sibcall-3.c, gcc.dg/sibcall-4.c: Don't XFAIL for arc or
m68hc11.
libgcc:
* config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
Remove cases.
libstdc++-v3:
* configure.ac: Don't handle powerpc*-*-gnu*.
* configure: Regenerate.
From-SVN: r171302
2011-03-22 20:58:18 +01:00
|
|
|
both of which were ABI changes.
|
2007-01-18 19:33:28 +01:00
|
|
|
|
2009-06-30 01:21:49 +02:00
|
|
|
|
|
|
|
@html
|
|
|
|
<hr />
|
|
|
|
@end html
|
|
|
|
@heading @anchor{mep-x-elf}mep-*-elf
|
2009-06-30 03:36:27 +02:00
|
|
|
Toshiba Media embedded Processor.
|
2009-06-30 01:21:49 +02:00
|
|
|
This configuration is intended for embedded systems.
|
|
|
|
|
2010-09-30 20:21:57 +02:00
|
|
|
@html
|
|
|
|
<hr />
|
|
|
|
@end html
|
|
|
|
@heading @anchor{microblaze-x-elf}microblaze-*-elf
|
|
|
|
Xilinx MicroBlaze processor.
|
|
|
|
This configuration is intended for embedded systems.
|
|
|
|
|
2001-06-03 00:33:30 +02:00
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-06-03 00:33:30 +02:00
|
|
|
@end html
|
2005-04-16 13:04:30 +02:00
|
|
|
@heading @anchor{mips-x-x}mips-*-*
|
2001-06-03 00:33:30 +02:00
|
|
|
If on a MIPS system you get an error message saying ``does not have gp
|
|
|
|
sections for all it's [sic] sectons [sic]'', don't worry about it. This
|
|
|
|
happens whenever you use GAS with the MIPS linker, but there is not
|
|
|
|
really anything wrong, and it is okay to use the output file. You can
|
|
|
|
stop such warnings by installing the GNU linker.
|
|
|
|
|
|
|
|
It would be nice to extend GAS to produce the gp tables, but they are
|
|
|
|
optional, and there should not be a warning about their absence.
|
|
|
|
|
2003-05-07 01:17:59 +02:00
|
|
|
The libstdc++ atomic locking routines for MIPS targets requires MIPS II
|
|
|
|
and later. A patch went in just after the GCC 3.3 release to
|
|
|
|
make @samp{mips*-*-*} use the generic implementation instead. You can also
|
|
|
|
configure for @samp{mipsel-elf} as a workaround. The
|
|
|
|
@samp{mips*-*-linux*} target continues to use the MIPS II routines. More
|
|
|
|
work on this is expected in future releases.
|
|
|
|
|
invoke.texi: Document new MIPS -mllsc and -mno-llsc options.
* doc/invoke.texi: Document new MIPS -mllsc and -mno-llsc options.
* doc/install.texi: Document new --with-llsc and --without-llsc
options.
* config.gcc: Handle --with-llsc and --without-llsc configure options.
* config/mips/mips.md (sync, memory_barrier): Wrap sync instrunction
in %| and %- operand codes. Depend on GENERATE_SYNC instead of
ISA_HAS_SYNC.
(sync_compare_and_swap<mode>, sync_add<mode>, sync_sub<mode>,
sync_old_add<mode>, sync_old_sub<mode>, sync_new_add<mode>,
sync_new_sub<mode>, sync_<optab><mode>, sync_old_<optab><mode>,
sync_new_<optab><mode>, sync_nand<mode>, sync_old_nand<mode>,
sync_new_nand<mode>, sync_lock_test_and_set<mode>): Depend on
GENERATE_LL_SC instead of ISA_HAS_LL_SC.
* config/mips/mips.opt (mllsc): New option.
* config/mips/mips.c (mips_llsc): Define variable.
(mips_handle_option): Handle mllsc option.
(override_options): Set mips_print_operand_punct for '|' and '-'.
(print_operand): Add new %| and %- operand codes.
* config/mips/mips.h (mips_llsc_setting): New enum type.
(mips_llsc): Declare.
(OPTION_DEFAULT_SPECS): Add llsc handling.
(GENERATE_SYNC): New macro.
(GENERATE_LL_SC): New macro.
(MIPS_COMPARE_AND_SWAP, MIPS_SYNC_OP, MIPS_SYNC_OLD_OP,
MIPS_SYNC_NEW_OP, MIPS_SYNC_NAND, MIPS_SYNC_OLD_NAND,
MIPS_SYNC_NEW_NAND, MIPS_SYNC_EXCHANGE): Wrap instructions
in %| and %- operand codes.
From-SVN: r128392
2007-09-11 22:14:51 +02:00
|
|
|
@c If you make --with-llsc the default for another target, please also
|
|
|
|
@c update the description of the --with-llsc option.
|
|
|
|
|
|
|
|
The built-in @code{__sync_*} functions are available on MIPS II and
|
|
|
|
later systems and others that support the @samp{ll}, @samp{sc} and
|
|
|
|
@samp{sync} instructions. This can be overridden by passing
|
|
|
|
@option{--with-llsc} or @option{--without-llsc} when configuring GCC.
|
|
|
|
Since the Linux kernel emulates these instructions if they are
|
|
|
|
missing, the default for @samp{mips*-*-linux*} targets is
|
|
|
|
@option{--with-llsc}. The @option{--with-llsc} and
|
|
|
|
@option{--without-llsc} configure options may be overridden at compile
|
|
|
|
time by passing the @option{-mllsc} or @option{-mno-llsc} options to
|
|
|
|
the compiler.
|
|
|
|
|
2004-09-07 21:39:06 +02:00
|
|
|
MIPS systems check for division by zero (unless
|
|
|
|
@option{-mno-check-zero-division} is passed to the compiler) by
|
|
|
|
generating either a conditional trap or a break instruction. Using
|
|
|
|
trap results in smaller code, but is only supported on MIPS II and
|
|
|
|
later. Also, some versions of the Linux kernel have a bug that
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
prevents trap from generating the proper signal (@code{SIGFPE}). To enable
|
2004-09-07 21:39:06 +02:00
|
|
|
the use of break, use the @option{--with-divide=breaks}
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
@command{configure} option when configuring GCC@. The default is to
|
2004-09-07 21:39:06 +02:00
|
|
|
use traps on systems that support them.
|
|
|
|
|
2007-03-07 05:40:28 +01:00
|
|
|
The assembler from GNU binutils 2.17 and earlier has a bug in the way
|
|
|
|
it sorts relocations for REL targets (o32, o64, EABI). This can cause
|
|
|
|
bad code to be generated for simple C++ programs. Also the linker
|
|
|
|
from GNU binutils versions prior to 2.17 has a bug which causes the
|
|
|
|
runtime linker stubs in very large programs, like @file{libgcj.so}, to
|
2008-01-28 18:01:05 +01:00
|
|
|
be incorrectly generated. GNU Binutils 2.18 and later (and snapshots
|
|
|
|
made after Nov. 9, 2006) should be free from both of these problems.
|
2006-06-09 18:44:25 +02:00
|
|
|
|
2003-05-31 11:31:41 +02:00
|
|
|
@html
|
|
|
|
<hr />
|
|
|
|
@end html
|
2001-08-03 13:45:39 +02:00
|
|
|
@heading @anchor{mips-sgi-irix5}mips-sgi-irix5
|
|
|
|
|
2010-05-06 20:47:18 +02:00
|
|
|
Support for IRIX 5 has been removed in GCC 4.6.
|
2004-10-26 20:20:34 +02:00
|
|
|
|
2001-05-12 00:10:54 +02:00
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-05-12 00:10:54 +02:00
|
|
|
@end html
|
2001-08-03 13:45:39 +02:00
|
|
|
@heading @anchor{mips-sgi-irix6}mips-sgi-irix6
|
2001-05-12 00:10:54 +02:00
|
|
|
|
Remove obsolete IRIX 6.5 support
libstdc++-v3:
* configure.host (irix6.5*): Remove.
* config/os/irix: Remove.
* config/io/basic_file_stdio.cc (__basic_file<char>::showmanyc())
[_GLIBCXX_FIONREAD_TAKES_OFF_T]: Remove.
* doc/xml/faq.xml: Remove IRIX reference.
* doc/xml/manual/using.xml (Finding Dynamic or Shared Libraries):
Remove IRIX example.
* testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
Remove mips-sgi-irix6* handling.
* testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.
* testsuite/21_strings/basic_string/pthread18185.cc: Likewise.
* testsuite/21_strings/basic_string/pthread4.cc: Likewise.
* testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise.
* testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
* testsuite/23_containers/list/pthread1.cc: Likewise.
* testsuite/23_containers/list/pthread5.cc: Likewise.
* testsuite/23_containers/map/pthread6.cc: Likewise.
* testsuite/23_containers/vector/debug/multithreaded_swap.cc: Likewise.
* testsuite/27_io/basic_ofstream/pthread2.cc: Likewise.
* testsuite/27_io/basic_ostringstream/pthread3.cc: Likewise.
* testsuite/30_threads/async/42819.cc: Likewise.
* testsuite/30_threads/async/49668.cc: Likewise.
* testsuite/30_threads/async/any.cc: Likewise.
* testsuite/30_threads/async/async.cc: Likewise.
* testsuite/30_threads/async/launch.cc: Likewise.
* testsuite/30_threads/async/sync.cc: Likewise.
* testsuite/30_threads/call_once/39909.cc: Likewise.
* testsuite/30_threads/call_once/49668.cc: Likewise.
* testsuite/30_threads/call_once/call_once1.cc: Likewise.
* testsuite/30_threads/condition_variable/cons/1.cc: Likewise.
* testsuite/30_threads/condition_variable/members/1.cc: Likewise.
* testsuite/30_threads/condition_variable/members/2.cc: Likewise.
* testsuite/30_threads/condition_variable/native_handle/typesizes.cc:
Likewise.
* testsuite/30_threads/condition_variable_any/50862.cc: Likewise.
* testsuite/30_threads/condition_variable_any/cons/1.cc: Likewise.
* testsuite/30_threads/condition_variable_any/members/1.cc: Likewise.
* testsuite/30_threads/condition_variable_any/members/2.cc: Likewise.
* testsuite/30_threads/future/cons/move.cc: Likewise.
* testsuite/30_threads/future/members/45133.cc: Likewise.
* testsuite/30_threads/future/members/get.cc: Likewise.
* testsuite/30_threads/future/members/get2.cc: Likewise.
* testsuite/30_threads/future/members/share.cc: Likewise.
* testsuite/30_threads/future/members/valid.cc: Likewise.
* testsuite/30_threads/future/members/wait.cc: Likewise.
* testsuite/30_threads/future/members/wait_for.cc: Likewise.
* testsuite/30_threads/future/members/wait_until.cc: Likewise.
* testsuite/30_threads/lock/1.cc: Likewise.
* testsuite/30_threads/lock/2.cc: Likewise.
* testsuite/30_threads/lock/3.cc: Likewise.
* testsuite/30_threads/lock/4.cc: Likewise.
* testsuite/30_threads/lock_guard/cons/1.cc: Likewise.
* testsuite/30_threads/mutex/cons/1.cc: Likewise.
* testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise.
* testsuite/30_threads/mutex/lock/1.cc: Likewise.
* testsuite/30_threads/mutex/native_handle/1.cc: Likewise.
* testsuite/30_threads/mutex/native_handle/typesizes.cc: Likewise.
* testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
* testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
* testsuite/30_threads/mutex/unlock/1.cc: Likewise.
* testsuite/30_threads/packaged_task/49668.cc: Likewise.
* testsuite/30_threads/packaged_task/cons/1.cc: Likewise.
* testsuite/30_threads/packaged_task/cons/2.cc: Likewise.
* testsuite/30_threads/packaged_task/cons/3.cc: Likewise.
* testsuite/30_threads/packaged_task/cons/alloc.cc: Likewise.
* testsuite/30_threads/packaged_task/cons/move.cc: Likewise.
* testsuite/30_threads/packaged_task/cons/move_assign.cc: Likewise.
* testsuite/30_threads/packaged_task/members/get_future.cc: Likewise.
* testsuite/30_threads/packaged_task/members/get_future2.cc: Likewise.
* testsuite/30_threads/packaged_task/members/invoke.cc: Likewise.
* testsuite/30_threads/packaged_task/members/invoke2.cc: Likewise.
* testsuite/30_threads/packaged_task/members/invoke3.cc: Likewise.
* testsuite/30_threads/packaged_task/members/invoke4.cc: Likewise.
* testsuite/30_threads/packaged_task/members/invoke5.cc: Likewise.
* testsuite/30_threads/packaged_task/members/reset.cc: Likewise.
* testsuite/30_threads/packaged_task/members/reset2.cc: Likewise.
* testsuite/30_threads/packaged_task/members/swap.cc: Likewise.
* testsuite/30_threads/packaged_task/members/valid.cc: Likewise.
* testsuite/30_threads/promise/cons/1.cc: Likewise.
* testsuite/30_threads/promise/cons/alloc.cc: Likewise.
* testsuite/30_threads/promise/cons/move.cc: Likewise.
* testsuite/30_threads/promise/cons/move_assign.cc: Likewise.
* testsuite/30_threads/promise/members/get_future.cc: Likewise.
* testsuite/30_threads/promise/members/get_future2.cc: Likewise.
* testsuite/30_threads/promise/members/set_exception.cc: Likewise.
* testsuite/30_threads/promise/members/set_exception2.cc: Likewise.
* testsuite/30_threads/promise/members/set_value.cc: Likewise.
* testsuite/30_threads/promise/members/set_value2.cc: Likewise.
* testsuite/30_threads/promise/members/set_value3.cc: Likewise.
* testsuite/30_threads/promise/members/swap.cc: Likewise.
* testsuite/30_threads/recursive_mutex/cons/1.cc: Likewise.
* testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc:
Likewise.
* testsuite/30_threads/recursive_mutex/lock/1.cc: Likewise.
* testsuite/30_threads/recursive_mutex/native_handle/1.cc: Likewise.
* testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc:
Likewise.
* testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise.
* testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise.
* testsuite/30_threads/recursive_mutex/unlock/1.cc: Likewise.
* testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Likewise.
* testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc:
Likewise.
* testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise.
* testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise.
* testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc:
Likewise.
* testsuite/30_threads/recursive_timed_mutex/native_handle/typesizes.cc:
Likewise.
* testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc: Likewise.
* testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc: Likewise.
* testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc:
Likewise.
* testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc:
Likewise.
* testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc:
Likewise.
* testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc:
Likewise.
* testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc:
Likewise.
* testsuite/30_threads/recursive_timed_mutex/unlock/1.cc: Likewise.
* testsuite/30_threads/shared_future/cons/move.cc: Likewise.
* testsuite/30_threads/shared_future/members/45133.cc: Likewise.
* testsuite/30_threads/shared_future/members/get.cc: Likewise.
* testsuite/30_threads/shared_future/members/get2.cc: Likewise.
* testsuite/30_threads/shared_future/members/valid.cc: Likewise.
* testsuite/30_threads/shared_future/members/wait.cc: Likewise.
* testsuite/30_threads/shared_future/members/wait_for.cc: Likewise.
* testsuite/30_threads/shared_future/members/wait_until.cc: Likewise.
* testsuite/30_threads/this_thread/1.cc: Likewise.
* testsuite/30_threads/this_thread/2.cc: Likewise.
* testsuite/30_threads/this_thread/3.cc: Likewise.
* testsuite/30_threads/this_thread/4.cc: Likewise.
* testsuite/30_threads/thread/cons/1.cc: Likewise.
* testsuite/30_threads/thread/cons/2.cc: Likewise.
* testsuite/30_threads/thread/cons/3.cc: Likewise.
* testsuite/30_threads/thread/cons/4.cc: Likewise.
* testsuite/30_threads/thread/cons/49668.cc: Likewise.
* testsuite/30_threads/thread/cons/5.cc: Likewise.
* testsuite/30_threads/thread/cons/6.cc: Likewise.
* testsuite/30_threads/thread/cons/7.cc: Likewise.
* testsuite/30_threads/thread/cons/8.cc: Likewise.
* testsuite/30_threads/thread/cons/9.cc: Likewise.
* testsuite/30_threads/thread/cons/moveable.cc: Likewise.
* testsuite/30_threads/thread/members/1.cc: Likewise.
* testsuite/30_threads/thread/members/2.cc: Likewise.
* testsuite/30_threads/thread/members/3.cc: Likewise.
* testsuite/30_threads/thread/members/4.cc: Likewise.
* testsuite/30_threads/thread/members/5.cc: Likewise.
* testsuite/30_threads/thread/members/hardware_concurrency.cc: Likewise.
* testsuite/30_threads/thread/native_handle/typesizes.cc: Likewise.
* testsuite/30_threads/thread/swap/1.cc: Likewise.
* testsuite/30_threads/timed_mutex/cons/1.cc: Likewise.
* testsuite/30_threads/timed_mutex/dest/destructor_locked.cc: Likewise.
* testsuite/30_threads/timed_mutex/lock/1.cc: Likewise.
* testsuite/30_threads/timed_mutex/native_handle/1.cc: Likewise.
* testsuite/30_threads/timed_mutex/native_handle/typesizes.cc: Likewise.
* testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
* testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
* testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise.
* testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise.
* testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise.
* testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise.
* testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise.
* testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise.
* testsuite/30_threads/try_lock/1.cc: Likewise.
* testsuite/30_threads/try_lock/2.cc: Likewise.
* testsuite/30_threads/try_lock/3.cc: Likewise.
* testsuite/30_threads/try_lock/4.cc: Likewise.
* testsuite/30_threads/unique_lock/cons/1.cc: Likewise.
* testsuite/30_threads/unique_lock/cons/2.cc: Likewise.
* testsuite/30_threads/unique_lock/cons/3.cc: Likewise.
* testsuite/30_threads/unique_lock/cons/4.cc: Likewise.
* testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
* testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
* testsuite/30_threads/unique_lock/locking/1.cc: Likewise.
* testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
* testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
* testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
* testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
* testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
* testsuite/ext/rope/pthread7-rope.cc: Likewise.
* testsuite/tr1/2_general_utilities/shared_ptr/thread/default_weaktoshared.cc:
Likewise.
* testsuite/tr1/2_general_utilities/shared_ptr/thread/mutex_weaktoshared.cc:
Likewise.
* testsuite/23_containers/vector/capacity/resize/1.cc: Remove
dg-options for mips*-*-irix6*.
* testsuite/27_io/ios_base/storage/1.cc: Likewise.
* testsuite/27_io/ios_base/storage/2.cc: Likewise.
* testsuite/27_io/ios_base/storage/3.cc: Likewise.
* testsuite/lib/libstdc++.exp (v3-build_support): Remove IRIX 6
workaround.
libjava:
* configure.ac (libgcj_cv_exidx): Remove IRIX 6 ld workaround.
(mips-sgi-irix6*): Remove.
(mips-sgi-irix*): Remove.
(AC_CHECK_HEADERS): Remove bstring.h.
* configure: Regenerate.
* include/config.h.in: Regenerate.
* configure.host (mips-sgi-irix6*): Remove.
* include/posix-signal.h [__sgi__]: Remove.
* gnu/java/net/natPlainDatagramSocketImplPosix.cc
[HAVE_BSTRING_H]: Remove.
* gnu/java/net/natPlainDatagramSocketImplWin32.cc: Likewise.
* gnu/java/net/natPlainSocketImplPosix.cc: Likewise.
libitm:
* configure.tgt (*-*-irix6*): Remove.
libgomp:
* configure.tgt (mips-sgi-irix6*): Remove.
libgfortran:
* intrinsics/c99_functions.c [__sgi__ && !HAVE_COMPLEX_H]: Remove.
libgcc:
* config.host (mips-sgi-irix6.5*): Remove.
* config/mips/irix-crti.S: Remove.
* config/mips/irix-crtn.S: Remove.
* config/mips/irix6-unwind.h: Remove.
* config/mips/t-irix6: Remove.
* config/mips/t-slibgcc-irix: Remove.
gnattools:
* configure.ac (mips-sgi-irix*): Remove.
* configure: Regenerate.
gcc/testsuite:
* g++.dg/other/anon5.C: Don't skip on mips-sgi-irix*.
* g++.dg/tree-prof/partition1.C: Likewise.
* g++.dg/tree-prof/partition2.C: Likewise.
* g++.old-deja/g++.other/init19.C: Remove mips-sgi-irix*
handling.
* gcc.c-torture/compile/labels-3.c: Remove dg-options.
* gcc.c-torture/execute/20010724-1.c: Remove.
* gcc.c-torture/execute/20010724-1.x: Remove.
* gcc.c-torture/execute/20040208-2.c: Remove.
* gcc.c-torture/execute/20040208-2.x: Remove.
* gcc.c-torture/execute/ieee/20000320-1.c [__mips__ && __sgi__]:
Remove.
(main) [__mips__ && __sgi__]: Remove.
* gcc.c-torture/execute/ieee/copysign1.c: Remove IRIX reference.
* gcc.c-torture/execute/ieee/copysign2.c: Likewise.
* gcc.c-torture/execute/ieee/mul-subnormal-single-1.x: Remove
mips-sgi-irix6* handling.
* gcc.dg/cpp/assert4.c [__mips__]: Remove __sgi__, sgi.
* gcc.dg/torture/20090618-1.c: Don't skip on mips-sgi-irix*.
* gcc.dg/torture/builtin-frexp-1.c: Remove mips*-*-irix6*
handling.
* gcc.dg/torture/builtin-logb-1.c: Likewise.
* gcc.dg/torture/pr47917.c: Remove mips-sgi-irix6.5 handling.
* gcc.dg/tree-ssa/ssa-store-ccp-3.c: Don't skip on mips*-*-irix*.
* gcc.misc-tests/linkage.exp: Remove mips-sgi-irix6* handling.
* gcc.target/mips/args-1.c [!__sgi__]: Remove.
* gcc.target/mips/interrupt_handler-2.c: Don't skip on
mips-sgi-irix6*.
* gcc.target/mips/interrupt_handler-3.c: Likewise.
* gcc.target/mips/save-restore-1.c: Don't skip on mips-sgi-irix6*.
* gcc.target/mips/save-restore-3.c: Likewise.
* gcc.target/mips/save-restore-4.c: Likewise.
* gcc.target/mips/save-restore-5.c: Likewise.
* gfortran.dg/g77/cabs.f: Don't xfail on mips-sgi-irix6*.
* lib/prune.exp (prune_gcc_output): Remove pruning of IRIX 6 ld
messages.
* lib/target-libpath.exp (set_ld_library_path_env_vars): Remove
IRIX 6 handling.
(restore_ld_library_path_env_vars): Likewise.
* lib/target-supports.exp (check_profiling_available): Remove
mips*-*-irix* handling.
(check_ascii_locale_available): Remove mips-sgi-irix* handling.
(add_options_for_c99_runtime): Remove mips-sgi-irix6.5* handling.
* objc.dg/stabs-1.m: Don't xfail on mips-sgi-irix6.5.
gcc/ada:
* gcc-interface/Makefile.in (mips-sgi-irix6*): Remove.
* a-intnam-irix.ads, mlib-tgt-specific-irix.adb,
s-intman-irix.adb, s-mastop-irix.adb, s-osinte-irix.adb,
s-osinte-irix.ads, s-proinf-irix-athread.adb,
s-proinf-irix-athread.ads, s-taprop-irix.adb, s-tasinf-irix.ads,
system-irix-n32.ads, system-irix-n64.ads, system-irix-o32.ads:
Remove.
* adaint.c [__mips && __sgi]: Remove.
(__gnat_number_of_cpus) [__mips && __sgi]: Remove.
[IS_CROSS && !(__mips && __sgi)]: Remove.
* adaint.h [sgi && _LFAPI]: Remove.
* cstreams.c (__gnat_full_name) [sgi]: Remove.
* env.c (__gnat_unsetenv) [__mips && __sgi]: Remove.
(__gnat_clearenv) [__mips && __sgi]: Remove.
* errno.c (_SGI_MP_SOURCE): Remove.
* gsocket.h [sgi]: Remove.
* init.c: Remove IRIX reference.
[sgi]: Remove.
* link.c [sgi]: Remove.
* s-oscons-tmplt.c [__mips && __sgi] (IOV_MAX): Don't define.
(main) [__mips && __sgi] (MAX_tv_sec): Don't define.
(CLOCK_SGI_FAST, CLOCK_SGI_CYCLE): Remove.
* sysdep.c [sgi]: Remove.
(getc_immediate_common) [sgi]: Remove.
(__gnat_localtime_tzoff) [sgi]: Remove.
* terminals.c [__mips && __sgi] (IRIX): Don't define.
[IRIX] (USE_GETPTY): Don't define.
(allocate_pty_desc) [USE_GETPTY]: Remove.
* g-traceb.ads: Remove IRIX reference.
* g-trasym.ads: Likewise.
* memtrack.adb: Likewise.
* s-interr-sigaction.adb: Likewise.
* gnat_rm.texi (Implementation Advice): Remove SGI info.
(Implementation Defined Characteristics): Likewise.
* gnat_ugn.texi (Summary of Run-Time Configurations, mips-irix):
Remove.
(Irix-Specific Considerations): Remove.
gcc/cp:
* Make-lang.in (doc/g++.1): Remove IRIX 6.5 reference.
gcc:
* config.gcc (enable_obsolete): Remove mips-sgi-irix6.5.
(mips-sgi-irix6.5*): Remove.
* config.host (mips-sgi-irix*): Remove.
* configure.ac (enable_fixed_point): Remove mips*-sgi-irix*.
(set_have_as_tls): Remove *-*-irix6*.
(gcc_cv_ld_static_dynamic): Remove mips-sgi-irix6*.
* configure: Regenerate.
* config/mips/iris6.h: Remove.
* config/mips/iris6.opt: Remove.
* config/mips/t-irix6: Remove.
* config/mips/mips.h (TARGET_GPWORD): Remove IRIX 6 N64 handling.
(TARGET_IRIX6): Remove.
(TARGET_CPU_CPP_BUILTINS): Remove IRIX 6 handling.
Don't define LANGUAGE_C, _LANGUAGE_C for Objective-C.
* config/mips/mips.c (mips_build_builtin_va_list): Remove IRIX 6
handling.
(mips_file_start): Likewise.
* config/mips/mips-protos.h (irix_asm_output_align): Remove.
* config/mips/driver-native.c [__sgi__]: Remove.
(host_detect_local_cpu) [__sgi__]: Remove.
* config/mips/gnu-user.h: Remove iris5.h reference.
* config/mips/mips-modes.def: Remove IRIX 6 reference.
* config/mips/gnu-user64.h (MIPS_TFMODE_FORMAT): Remove.
* config/mips/mips.c (mips_option_override) [MIPS_TFMODE_FORMAT]:
Remove.
* gcc.c (main): Move asm_debug initialization ...
(asm_debug): ... here.
* ginclude/stddef.h (__STDDEF_H__): Don't define.
* defaults.h (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES): Remove.
* system.h (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES): Poison.
* collect2.c [LINK_ELIMINATE_DUPLICATE_LDIRECTORIES]: Remove.
(main) [LINK_ELIMINATE_DUPLICATE_LDIRECTORIES]: Remove.
[LINK_ELIMINATE_DUPLICATE_LDIRECTORIES] (is_in_args): Remove.
* doc/tm.texi.in (Driver, LINK_ELIMINATE_DUPLICATE_LDIRECTORIES):
Remove.
* doc/tm.texi: Regenerate.
* doc/invoke.texi (Debugging Options, -gdwarf-<version>): Remove
IRIX 6 reference.
(MIPS Options, -march): Remove IRIX reference.
* doc/install.texi (Binaries, SGI IRIX): Remove.
(Specific, mips-sgi-irix6): Document IRIX 6.5 removal, remove rest
of section.
* doc/trouble.texi (Interoperation): Remove -lgl_s handling.
fixincludes:
* inclhack.def (broken_cabs): Remove IRIX and SunOS 4 support.
(irix___restrict): Remove.
(irix___generic1): Remove.
(irix___generic2): Remove.
(irix_asm_apostrophe): Remove.
(irix_complex): Remove.
(irix_pthread_init): Remove.
(irix_socklen_t): Remove.
(irix_stdint_c99_mode): Remove.
(irix_stdint_c99_types): Remove.
(irix_stdint_c99_macros): Remove.
(irix_stdio_va_list): Remove IRIX 6.5 support.
(irix_wcsftime): Remove.
(stdio_va_list): Remove IRIX 6.5 support.
(svr4_profil): Remove IRIX bypass.
* fixincl.x: Regenerate.
* tests/base/complex.h [IRIX_COMPLEX_CHECK]: Remove.
* tests/base/internal/math_core.h: Remove.
* tests/base/internal/sgimacros.h: Remove.
* tests/base/internal/wchar_core.h: Remove.
* tests/base/math.h [BROKEN_CABS_CHECK]: Remove IRIX and SunOS 4
support.
* tests/base/pthread.h [IRIX_PTHREAD_INIT_CHECK]: Remove.
* tests/base/stdint-irix65.h: Remove.
* tests/base/stdint.h [IRIX_STDINT_C99_MODE_CHECK]: Remove.
* tests/base/sys/asm.h: Remove.
* tests/base/sys/socket.h [IRIX_SOCKLEN_T_CHECK]: Remove.
contrib:
* config-list.mk (LIST): Remove mips-sgi-irix6.5.
toplevel:
* MAINTAINERS (OS Port Maintainers): Remove irix.
* configure.ac (enable_libgomp): Remove *-*-irix6*.
(unsupported_languages): Remove mips-sgi-irix6.*.
(noconfigdirs): Don't add ${libgcj} for mips*-*-irix6*.
(with_stabs): Remove.
* configure: Regenerate.
From-SVN: r185390
2012-03-14 17:33:37 +01:00
|
|
|
Support for IRIX 6.5 has been removed in GCC 4.8. Support for IRIX 6
|
|
|
|
releases before 6.5 has been removed in GCC 4.6, as well as support for
|
|
|
|
the O32 ABI.
|
2006-07-12 18:02:46 +02:00
|
|
|
|
2009-06-10 07:23:39 +02:00
|
|
|
@html
|
|
|
|
<hr />
|
|
|
|
@end html
|
|
|
|
@heading @anchor{moxie-x-elf}moxie-*-elf
|
|
|
|
The moxie processor. See @uref{http://moxielogic.org/} for more
|
|
|
|
information about this processor.
|
|
|
|
|
2001-06-03 00:33:30 +02:00
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-06-03 00:33:30 +02:00
|
|
|
@end html
|
2005-04-16 13:04:30 +02:00
|
|
|
@heading @anchor{powerpc-x-x}powerpc-*-*
|
2001-06-03 00:33:30 +02:00
|
|
|
|
2001-06-13 15:07:28 +02:00
|
|
|
You can specify a default version for the @option{-mcpu=@var{cpu_type}}
|
|
|
|
switch by using the configure option @option{--with-cpu-@var{cpu_type}}.
|
2001-06-03 00:33:30 +02:00
|
|
|
|
install.texi (powerpc-*-*): Require binutils 2.15.
* doc/install.texi (powerpc-*-*): Require binutils 2.15.
(powerpc*-*-linux-gnu*): Describe.
* config/rs6000/ppc-asm.h (HIDDEN_FUNC): New macro.
* config/rs6000/crtresfpr.asm, config/rs6000/crtresgpr.asm,
config/rs6000/crtresxfpr.asm, config/rs6000/crtresxgpr.asm,
config/rs6000/crtsavfpr.asm, config/rs6000/crtsavgpr.asm,
config/rs6000/e500crtres32gpr.asm,
config/rs6000/e500crtres64gpr.asm,
config/rs6000/e500crtres64gprctr.asm,
config/rs6000/e500crtrest32gpr.asm,
config/rs6000/e500crtrest64gpr.asm,
config/rs6000/e500crtresx32gpr.asm,
config/rs6000/e500crtresx64gpr.asm,
config/rs6000/e500crtsav32gpr.asm,
config/rs6000/e500crtsav64gpr.asm,
config/rs6000/e500crtsav64gprctr.asm,
config/rs6000/e500crtsavg32gpr.asm,
config/rs6000/e500crtsavg64gpr.asm,
config/rs6000/e500crtsavg64gprctr.asm: Use it.
* config/rs6000/crtsavres.asm: Really remove.
From-SVN: r141090
2008-10-13 17:44:26 +02:00
|
|
|
You will need
|
|
|
|
@uref{ftp://ftp.kernel.org/pub/linux/devel/binutils,,binutils 2.15}
|
|
|
|
or newer for a working GCC@.
|
|
|
|
|
2001-08-06 17:58:46 +02:00
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-08-06 17:58:46 +02:00
|
|
|
@end html
|
2005-04-16 13:04:30 +02:00
|
|
|
@heading @anchor{powerpc-x-darwin}powerpc-*-darwin*
|
2001-08-06 17:58:46 +02:00
|
|
|
PowerPC running Darwin (Mac OS X kernel).
|
|
|
|
|
|
|
|
Pre-installed versions of Mac OS X may not include any developer tools,
|
|
|
|
meaning that you will not be able to build GCC from source. Tool
|
|
|
|
binaries are available at
|
2010-12-31 17:37:58 +01:00
|
|
|
@uref{http://opensource.apple.com/}.
|
2001-08-06 17:58:46 +02:00
|
|
|
|
2006-11-17 07:48:01 +01:00
|
|
|
This version of GCC requires at least cctools-590.36. The
|
|
|
|
cctools-590.36 package referenced from
|
|
|
|
@uref{http://gcc.gnu.org/ml/gcc/2006-03/msg00507.html} will not work
|
|
|
|
on systems older than 10.3.9 (aka darwin7.9.0).
|
2001-08-06 17:58:46 +02:00
|
|
|
|
install.texi (Specific): Markup, spelling and typo fixes.
* doc/install.texi (Specific): Markup, spelling and typo fixes.
Fixed sorting.
Consistently require binutils 2.11.2, not prereleases.
(Specific, decstation-*): Canonicalize as mips-dec-*.
(Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
always necessary.
(Specific, m68k-altos): Removed reference to README.altos, deleted.
(Specific, mips-*): Reword MIPS C compiler requirements.
(Specific, powerpc*-*-*): New, mention --with-cpu once.
(Specific, sunv5): Removed, obsolete.
From-SVN: r43779
2001-07-05 15:10:59 +02:00
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
install.texi (Specific): Markup, spelling and typo fixes.
* doc/install.texi (Specific): Markup, spelling and typo fixes.
Fixed sorting.
Consistently require binutils 2.11.2, not prereleases.
(Specific, decstation-*): Canonicalize as mips-dec-*.
(Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
always necessary.
(Specific, m68k-altos): Removed reference to README.altos, deleted.
(Specific, mips-*): Reword MIPS C compiler requirements.
(Specific, powerpc*-*-*): New, mention --with-cpu once.
(Specific, sunv5): Removed, obsolete.
From-SVN: r43779
2001-07-05 15:10:59 +02:00
|
|
|
@end html
|
MAINTAINERS (mt port): Remove.
* MAINTAINERS (mt port): Remove.
(sco5, unixware, sco udk): Remove.
(Kean Johnston): Add to Write After Approval.
fixincludes:
* inclhack.def (AAB_svr4_replace_byteorder,
AAB_ultrix_ansi_compat, AAB_ultrix_limits, AAB_ultrix_memory,
libc1_G_va_list, libc1_ifdefd_memx, nested_motorola,
ptx_sys_mc_param_h, sco_regset, sco_static_func, sco_utime,
solaris_mutex_init_1, solaris_socket, solaris_unistd,
solaris_widec, svr4_krnl, ultrix_atexit_param, ultrix_atof_param,
ultrix_const3, ultrix_fix_fixproto, ultrix_ifdef, ultrix_locale,
ultrix_math_ifdef, ultrix_nested_ioctl, ultrix_nested_svc,
ultrix_stat, ultrix_static, ultrix_stdlib, ultrix_strings,
ultrix_strings2, ultrix_sys_time, ultrix_unistd,
unicosmk_restrict, uw7_byteorder_fix, windiss_math1,
windiss_math2, windiss_valist): Remove.
* fixincl.x: Regenerate.
* mkfixinc.sh: (arm-semi-aof, hppa1.1-*-osf*, hppa1.1-*-bsd*,
i370-*-openedition, i?86-*-moss*, i?86-*-uwin*,
powerpc-*-eabiaix*): Remove.
* tests/base/math.h: Update.
* tests/base/pthread.h: Update.
* tests/base/stdio.h: Update.
* tests/base/stdlib.h: Update.
* tests/base/string.h: Update.
* tests/base/strings.h: Update.
* tests/base/sys/file.h: Update.
* tests/base/sys/limits.h: Update.
* tests/base/sys/socket.h: Update.
* tests/base/sys/stat.h: Update.
* tests/base/sys/time.h: Update.
* tests/base/testing.h: Update.
* tests/base/unistd.h: Update.
* tests/base/_G_config.h: Remove.
* tests/base/arpa: Remove directory.
* tests/base/fs: Remove directory.
* tests/base/locale.h: Remove.
* tests/base/machine: Remove directory.
* tests/base/rpc/svc.h: Remove.
* tests/base/sys/ioctl.h: Remove.
* tests/base/sys/regset.h: Remove.
* tests/base/sys/times.h: Remove.
* tests/base/sys/utsname.h: Remove.
* tests/base/widec.h: Remove.
gcc:
* config.gcc (Obsolete configurations): Remove list of
configurations.
(Unsupported targets list): Add *-*-linux*aout*, *-*-linux*libc1*,
*-*-solaris2.[0-6], *-*-solaris2.[0-6].*, *-*-sysv*. Remove other
targets matched by those patterns.
(strongarm*-*-*, ep9312*-*-*, xscale-*-*, parisc*-*-*,
m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
vax-*-ultrix*, xscale-*-elf, xscale-*-coff,
i[34567]86-*-linux*aout*, i[34567]86-*-linux*libc1): Remove.
Make code for Solaris 7 and greater unconditional for Solaris.
(ep9312-*-*, parisc1*, m680[012]0-*-*, parisc*-*-*, mt-*-*):
Remove --with-* handling.
* config/rs6000/sysv4.h (-mwindiss): Remove from all specs.
(LIB_WINDISS_SPEC, CPP_OS_WINDISS_SPEC, STARTFILE_WINDISS_SPEC,
ENDFILE_WINDISS_SPEC, LINK_START_WINDISS_SPEC,
LINK_OS_WINDISS_SPEC): Remove.
* config/rs6000/sysv4.opt (mwindiss): Remove.
* configure.ac (strongarm*-*-*, xscale*-*-*): Remove.
* configure: Regenerate.
* doc/cpp.texi: Don't mention BeOS.
* doc/extend.texi (interrupt): Don't mention MS1.
* doc/install.texi: (i386-@var{any}-sysv, m68k-bull-sysv,
m68k-hp-hpux, m68000-hp-hpux, m68000-att-sysv,
alphaev5-cray-unicosmk*, xscale-*-*, i?86-*-linux*aout,
i?86-*-sco3.2v5*, i?86-*-udk, m68k-hp-hpux, powerpc-*-sysv4,
powerpc-*-sysv4, powerpcle-*-sysv4, *-*-sysv*, vax-dec-ultrix):
Remove.
* doc/invoke.texi (MT Options): Remove.
(-mwindiss): Remove.
(CRIS Options): Remove cris-axis-aout references.
(HPPA Options): Don't mention hppa1.1-*-pro.
* doc/md.texi: (MorphoTech family): Remove.
* libgcc2.c: Don't handle UWIN.
* config/alpha/t-unicosmk: Remove.
* config/alpha/unicosmk.h: Remove.
* config/arm/kaos-arm.h: Remove.
* config/arm/kaos-strongarm.h: Remove.
* config/arm/strongarm-coff.h: Remove.
* config/arm/strongarm-elf.h: Remove.
* config/arm/strongarm-pe.h: Remove.
* config/arm/t-strongarm-pe: Remove.
* config/arm/t-xscale-coff: Remove.
* config/arm/t-xscale-elf: Remove.
* config/arm/xscale-coff.h: Remove.
* config/arm/xscale-elf.h: Remove.
* config/chorus.h: Remove.
* config/cris/aout.h: Remove.
* config/cris/aout.opt: Remove.
* config/cris/t-aout: Remove.
* config/i386/beos-elf.h: Remove.
* config/i386/kaos-i386.h: Remove.
* config/i386/ptx4-i.h: Remove.
* config/i386/sco5.h: Remove.
* config/i386/sco5.opt: Remove.
* config/i386/sysv4-cpp.h: Remove.
* config/i386/sysv5.h: Remove.
* config/i386/t-beos: Remove.
* config/i386/t-sco5: Remove.
* config/i386/t-uwin: Remove.
* config/i386/uwin.asm: Remove.
* config/i386/uwin.h: Remove.
* config/kaos.h: Remove.
* config/mips/windiss.h: Remove.
* config/mt: Remove directory.
* config/pa/pa-osf.h: Remove.
* config/pa/pa-pro-end.h: Remove.
* config/pa/t-pro: Remove.
* config/ptx4.h: Remove.
* config/rs6000/beos.h: Remove.
* config/rs6000/kaos-ppc.h: Remove.
* config/rs6000/t-beos: Remove.
* config/rs6000/windiss.h: Remove.
* config/sh/kaos-sh.h: Remove.
* config/sol2-6.h: Remove.
* config/sparc/sol26-sld.h: Remove.
* config/sparc/sysv4-only.h: Remove.
* config/vax/bsd.h: Remove.
* config/vax/t-memfuncs: Remove.
* config/vax/ultrix.h: Remove.
* config/vax/vaxv.h: Remove.
* config/windiss.h: Remove.
gcc/testsuite:
* g++.dg/abi/arm_cxa_vec1.C: Don't handle xscale*-*-*.
* g++.dg/eh/spbp.C: Don't handle *-*-solaris2.[56]*.
* g++.dg/warn/miss-format-1.C: Don't handle Solaris before Solaris
7.
* gcc.c-torture/compile/981006-1.c: Don't handle xscale*-*-*,
strongarm*-*-* and cris-*-aout*.
* gcc.c-torture/execute/941014-1.x: Don't handle xscale*-*-* and
strongarm*-*-*.
* gcc.dg/20030909-1.c: Don't handle xscale*-*-* and
strongarm*-*-*.
* gcc.dg/20031108-1.c: Don't handle xscale*-*-* and
strongarm*-*-*.
* gcc.dg/20040813-1.c: Don't handle *-*-sysv5*.
* gcc.dg/arm-asm.c: Don't handle strongarm*-*-* and xscale*-*-*.
* gcc.dg/arm-scd42-1.c: Use target arm*-*-*.
* gcc.dg/arm-scd42-3.c: Use target arm*-*-*.
* gcc.dg/cpp/assert4.c: Don't handle BeOS.
* gcc.dg/debug/pr35154.c: Don't handle *-*-sysv5*.
* gcc.dg/intmax_t-1.c: Don't handle *-*-solaris2.5.1 and
xscale*-*-elf*.
* gcc.dg/pragma-align.c: Don't handle i?86-*-sco3.2v5*.
* gcc.dg/pthread-init-2.c: Don't handle *-*-solaris2.5.1.
* gcc.misc-tests/arm-isr.exp: Use target arm*-*-*.
* gcc.target/powerpc/ppc-sdata-1.c: Don't handle powerpc-*-sysv*.
* gcc.target/powerpc/ppc-sdata-2.c: Don't handle powerpc-*-sysv*.
* gcc.target/powerpc/ppc-stackalign-1.c: Don't handle
powerpc-*-sysv*.
* gfortran.dg/debug/pr35154-stabs.f: Don't handle *-*-sysv5*.
* lib/target-supports.exp: Don't handle strongarm*-*-elf,
xscale*-*-elf and *-*-windiss.
* obj-c++.dg/dwarf-2.mm: Don't handle *-*-solaris2.[56]*.
* objc.dg/dwarf-1.m: Don't handle *-*-solaris2.[56]*.
* objc.dg/dwarf-2.m: Don't handle *-*-solaris2.[56]*.
* gcc.dg/mt-loopi1.c: Remove.
gnattools:
* configure.ac (xscale*-wrs-vx*, xscale*-wrs-coff): Remove.
* configure: Regenerate.
libcpp:
* configure.ac (parisc*64*-*-*): Remove.
* configure: Regenerate.
libffi:
* configure.ac (parisc*-*-linux*, powerpc-*-sysv*,
powerpc-*-beos*): Remove.
* configure: Regenerate.
libgcc:
* config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
libjava:
* configure.host (strongarm*-elf, xscale*-elf): Remove.
libstdc++-v3:
* configure.host (xscale, ep9312, m680[246]0, solaris2.5,
solaris2.5.[0-9], solaris2.6, windiss*): Remove.
* crossconfig.m4 (*-solaris2.5, *-solaris2.6, *-windiss*): Remove.
* configure: Regenerate.
* config/os/solaris/solaris2.5: Remove directory.
* config/os/solaris/solaris2.6: Remove directory.
* config/os/windiss: Remove directory.
From-SVN: r136534
2008-06-07 20:00:15 +02:00
|
|
|
@heading @anchor{powerpc-x-elf}powerpc-*-elf
|
install.texi (Specific): Markup, spelling and typo fixes.
* doc/install.texi (Specific): Markup, spelling and typo fixes.
Fixed sorting.
Consistently require binutils 2.11.2, not prereleases.
(Specific, decstation-*): Canonicalize as mips-dec-*.
(Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
always necessary.
(Specific, m68k-altos): Removed reference to README.altos, deleted.
(Specific, mips-*): Reword MIPS C compiler requirements.
(Specific, powerpc*-*-*): New, mention --with-cpu once.
(Specific, sunv5): Removed, obsolete.
From-SVN: r43779
2001-07-05 15:10:59 +02:00
|
|
|
PowerPC system in big endian mode, running System V.4.
|
|
|
|
|
2001-05-12 00:10:54 +02:00
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-05-12 00:10:54 +02:00
|
|
|
@end html
|
2005-04-16 13:04:30 +02:00
|
|
|
@heading @anchor{powerpc-x-linux-gnu}powerpc*-*-linux-gnu*
|
2001-05-12 00:10:54 +02:00
|
|
|
|
install.texi (powerpc-*-*): Require binutils 2.15.
* doc/install.texi (powerpc-*-*): Require binutils 2.15.
(powerpc*-*-linux-gnu*): Describe.
* config/rs6000/ppc-asm.h (HIDDEN_FUNC): New macro.
* config/rs6000/crtresfpr.asm, config/rs6000/crtresgpr.asm,
config/rs6000/crtresxfpr.asm, config/rs6000/crtresxgpr.asm,
config/rs6000/crtsavfpr.asm, config/rs6000/crtsavgpr.asm,
config/rs6000/e500crtres32gpr.asm,
config/rs6000/e500crtres64gpr.asm,
config/rs6000/e500crtres64gprctr.asm,
config/rs6000/e500crtrest32gpr.asm,
config/rs6000/e500crtrest64gpr.asm,
config/rs6000/e500crtresx32gpr.asm,
config/rs6000/e500crtresx64gpr.asm,
config/rs6000/e500crtsav32gpr.asm,
config/rs6000/e500crtsav64gpr.asm,
config/rs6000/e500crtsav64gprctr.asm,
config/rs6000/e500crtsavg32gpr.asm,
config/rs6000/e500crtsavg64gpr.asm,
config/rs6000/e500crtsavg64gprctr.asm: Use it.
* config/rs6000/crtsavres.asm: Really remove.
From-SVN: r141090
2008-10-13 17:44:26 +02:00
|
|
|
PowerPC system in big endian mode running Linux.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
config.gcc: Recognize powerpc-*-netbsd*.
* config.gcc: Recognize powerpc-*-netbsd*.
* doc/install.texi (Host/target specific installation notes for
GCC): Mention powerpc-*-netbsd*.
* config/rs6000/netbsd.h: New file.
(STANDARD_STARTFILE_PREFIX, LINK_SHLIB_SPEC): Redefine.
(LIB_DEFAULT_SPEC, STARTFILE_DEFAULT_SPEC): Redefine.
(ENDFILE_DEFAULT_SPEC, LINK_START_DEFAULT_SPEC): Redefine.
(LINK_OS_DEFAULT_SPEC, CPP_OS_DEFAULT_SPEC): Redefine.
(TARGET_VERSION): Redefine.
* config/rs6000/t-ppccomm (MULTILIB_MATCHES_SYSV): Recognize
mcall-netbsd as a match for mcall-sysv.
(EXTRA_MULTILIB_PARTS): Add ncrti$(objext) and ncrtn$(objext).
(ncrti.S, ncrtn.S): New targets.
($(T)ncrti$(objext), $(T)ncrtn$(objext)): New targets.
* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Recognize
"netbsd' as a V4 ABI.
(ASM_SPEC): Check for -mcall-netbsd.
(CC1_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC): Ditto.
(CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC): Ditto.
(LIB_SPEC, ENDFILE_SPEC): Ditto.
(LIB_NETBSD_SPEC, STARTFILE_NETBSD_SPEC): Define.
(ENDFILE_NETBSD_SPEC, LINK_START_NETBSD_SPEC): Define.
(LINK_OS_NETBSD_SPEC, CPP_OS_NETBSD_SPEC): Define.
(SUBTARGET_EXTRA_SPECS): Add NetBSD specs.
* doc/invoke.texi (Option Summary): Add -mcall-netbsd.
(RS/6000 and PowerPC Options): Mention -mcall-netbsd.
From-SVN: r44552
2001-08-01 21:25:18 +02:00
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
config.gcc: Recognize powerpc-*-netbsd*.
* config.gcc: Recognize powerpc-*-netbsd*.
* doc/install.texi (Host/target specific installation notes for
GCC): Mention powerpc-*-netbsd*.
* config/rs6000/netbsd.h: New file.
(STANDARD_STARTFILE_PREFIX, LINK_SHLIB_SPEC): Redefine.
(LIB_DEFAULT_SPEC, STARTFILE_DEFAULT_SPEC): Redefine.
(ENDFILE_DEFAULT_SPEC, LINK_START_DEFAULT_SPEC): Redefine.
(LINK_OS_DEFAULT_SPEC, CPP_OS_DEFAULT_SPEC): Redefine.
(TARGET_VERSION): Redefine.
* config/rs6000/t-ppccomm (MULTILIB_MATCHES_SYSV): Recognize
mcall-netbsd as a match for mcall-sysv.
(EXTRA_MULTILIB_PARTS): Add ncrti$(objext) and ncrtn$(objext).
(ncrti.S, ncrtn.S): New targets.
($(T)ncrti$(objext), $(T)ncrtn$(objext)): New targets.
* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Recognize
"netbsd' as a V4 ABI.
(ASM_SPEC): Check for -mcall-netbsd.
(CC1_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC): Ditto.
(CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC): Ditto.
(LIB_SPEC, ENDFILE_SPEC): Ditto.
(LIB_NETBSD_SPEC, STARTFILE_NETBSD_SPEC): Define.
(ENDFILE_NETBSD_SPEC, LINK_START_NETBSD_SPEC): Define.
(LINK_OS_NETBSD_SPEC, CPP_OS_NETBSD_SPEC): Define.
(SUBTARGET_EXTRA_SPECS): Add NetBSD specs.
* doc/invoke.texi (Option Summary): Add -mcall-netbsd.
(RS/6000 and PowerPC Options): Mention -mcall-netbsd.
From-SVN: r44552
2001-08-01 21:25:18 +02:00
|
|
|
@end html
|
2005-04-16 13:04:30 +02:00
|
|
|
@heading @anchor{powerpc-x-netbsd}powerpc-*-netbsd*
|
2008-07-26 23:41:15 +02:00
|
|
|
PowerPC system in big endian mode running NetBSD@.
|
config.gcc: Recognize powerpc-*-netbsd*.
* config.gcc: Recognize powerpc-*-netbsd*.
* doc/install.texi (Host/target specific installation notes for
GCC): Mention powerpc-*-netbsd*.
* config/rs6000/netbsd.h: New file.
(STANDARD_STARTFILE_PREFIX, LINK_SHLIB_SPEC): Redefine.
(LIB_DEFAULT_SPEC, STARTFILE_DEFAULT_SPEC): Redefine.
(ENDFILE_DEFAULT_SPEC, LINK_START_DEFAULT_SPEC): Redefine.
(LINK_OS_DEFAULT_SPEC, CPP_OS_DEFAULT_SPEC): Redefine.
(TARGET_VERSION): Redefine.
* config/rs6000/t-ppccomm (MULTILIB_MATCHES_SYSV): Recognize
mcall-netbsd as a match for mcall-sysv.
(EXTRA_MULTILIB_PARTS): Add ncrti$(objext) and ncrtn$(objext).
(ncrti.S, ncrtn.S): New targets.
($(T)ncrti$(objext), $(T)ncrtn$(objext)): New targets.
* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Recognize
"netbsd' as a V4 ABI.
(ASM_SPEC): Check for -mcall-netbsd.
(CC1_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC): Ditto.
(CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC): Ditto.
(LIB_SPEC, ENDFILE_SPEC): Ditto.
(LIB_NETBSD_SPEC, STARTFILE_NETBSD_SPEC): Define.
(ENDFILE_NETBSD_SPEC, LINK_START_NETBSD_SPEC): Define.
(LINK_OS_NETBSD_SPEC, CPP_OS_NETBSD_SPEC): Define.
(SUBTARGET_EXTRA_SPECS): Add NetBSD specs.
* doc/invoke.texi (Option Summary): Add -mcall-netbsd.
(RS/6000 and PowerPC Options): Mention -mcall-netbsd.
From-SVN: r44552
2001-08-01 21:25:18 +02:00
|
|
|
|
2001-06-03 00:33:30 +02:00
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-06-03 00:33:30 +02:00
|
|
|
@end html
|
2005-04-16 13:04:30 +02:00
|
|
|
@heading @anchor{powerpc-x-eabisim}powerpc-*-eabisim
|
2001-06-03 00:33:30 +02:00
|
|
|
Embedded PowerPC system in big endian mode for use in running under the
|
|
|
|
PSIM simulator.
|
|
|
|
|
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-06-03 00:33:30 +02:00
|
|
|
@end html
|
2005-04-16 13:04:30 +02:00
|
|
|
@heading @anchor{powerpc-x-eabi}powerpc-*-eabi
|
2001-06-03 00:33:30 +02:00
|
|
|
Embedded PowerPC system in big endian mode.
|
|
|
|
|
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-06-03 00:33:30 +02:00
|
|
|
@end html
|
MAINTAINERS (mt port): Remove.
* MAINTAINERS (mt port): Remove.
(sco5, unixware, sco udk): Remove.
(Kean Johnston): Add to Write After Approval.
fixincludes:
* inclhack.def (AAB_svr4_replace_byteorder,
AAB_ultrix_ansi_compat, AAB_ultrix_limits, AAB_ultrix_memory,
libc1_G_va_list, libc1_ifdefd_memx, nested_motorola,
ptx_sys_mc_param_h, sco_regset, sco_static_func, sco_utime,
solaris_mutex_init_1, solaris_socket, solaris_unistd,
solaris_widec, svr4_krnl, ultrix_atexit_param, ultrix_atof_param,
ultrix_const3, ultrix_fix_fixproto, ultrix_ifdef, ultrix_locale,
ultrix_math_ifdef, ultrix_nested_ioctl, ultrix_nested_svc,
ultrix_stat, ultrix_static, ultrix_stdlib, ultrix_strings,
ultrix_strings2, ultrix_sys_time, ultrix_unistd,
unicosmk_restrict, uw7_byteorder_fix, windiss_math1,
windiss_math2, windiss_valist): Remove.
* fixincl.x: Regenerate.
* mkfixinc.sh: (arm-semi-aof, hppa1.1-*-osf*, hppa1.1-*-bsd*,
i370-*-openedition, i?86-*-moss*, i?86-*-uwin*,
powerpc-*-eabiaix*): Remove.
* tests/base/math.h: Update.
* tests/base/pthread.h: Update.
* tests/base/stdio.h: Update.
* tests/base/stdlib.h: Update.
* tests/base/string.h: Update.
* tests/base/strings.h: Update.
* tests/base/sys/file.h: Update.
* tests/base/sys/limits.h: Update.
* tests/base/sys/socket.h: Update.
* tests/base/sys/stat.h: Update.
* tests/base/sys/time.h: Update.
* tests/base/testing.h: Update.
* tests/base/unistd.h: Update.
* tests/base/_G_config.h: Remove.
* tests/base/arpa: Remove directory.
* tests/base/fs: Remove directory.
* tests/base/locale.h: Remove.
* tests/base/machine: Remove directory.
* tests/base/rpc/svc.h: Remove.
* tests/base/sys/ioctl.h: Remove.
* tests/base/sys/regset.h: Remove.
* tests/base/sys/times.h: Remove.
* tests/base/sys/utsname.h: Remove.
* tests/base/widec.h: Remove.
gcc:
* config.gcc (Obsolete configurations): Remove list of
configurations.
(Unsupported targets list): Add *-*-linux*aout*, *-*-linux*libc1*,
*-*-solaris2.[0-6], *-*-solaris2.[0-6].*, *-*-sysv*. Remove other
targets matched by those patterns.
(strongarm*-*-*, ep9312*-*-*, xscale-*-*, parisc*-*-*,
m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
vax-*-ultrix*, xscale-*-elf, xscale-*-coff,
i[34567]86-*-linux*aout*, i[34567]86-*-linux*libc1): Remove.
Make code for Solaris 7 and greater unconditional for Solaris.
(ep9312-*-*, parisc1*, m680[012]0-*-*, parisc*-*-*, mt-*-*):
Remove --with-* handling.
* config/rs6000/sysv4.h (-mwindiss): Remove from all specs.
(LIB_WINDISS_SPEC, CPP_OS_WINDISS_SPEC, STARTFILE_WINDISS_SPEC,
ENDFILE_WINDISS_SPEC, LINK_START_WINDISS_SPEC,
LINK_OS_WINDISS_SPEC): Remove.
* config/rs6000/sysv4.opt (mwindiss): Remove.
* configure.ac (strongarm*-*-*, xscale*-*-*): Remove.
* configure: Regenerate.
* doc/cpp.texi: Don't mention BeOS.
* doc/extend.texi (interrupt): Don't mention MS1.
* doc/install.texi: (i386-@var{any}-sysv, m68k-bull-sysv,
m68k-hp-hpux, m68000-hp-hpux, m68000-att-sysv,
alphaev5-cray-unicosmk*, xscale-*-*, i?86-*-linux*aout,
i?86-*-sco3.2v5*, i?86-*-udk, m68k-hp-hpux, powerpc-*-sysv4,
powerpc-*-sysv4, powerpcle-*-sysv4, *-*-sysv*, vax-dec-ultrix):
Remove.
* doc/invoke.texi (MT Options): Remove.
(-mwindiss): Remove.
(CRIS Options): Remove cris-axis-aout references.
(HPPA Options): Don't mention hppa1.1-*-pro.
* doc/md.texi: (MorphoTech family): Remove.
* libgcc2.c: Don't handle UWIN.
* config/alpha/t-unicosmk: Remove.
* config/alpha/unicosmk.h: Remove.
* config/arm/kaos-arm.h: Remove.
* config/arm/kaos-strongarm.h: Remove.
* config/arm/strongarm-coff.h: Remove.
* config/arm/strongarm-elf.h: Remove.
* config/arm/strongarm-pe.h: Remove.
* config/arm/t-strongarm-pe: Remove.
* config/arm/t-xscale-coff: Remove.
* config/arm/t-xscale-elf: Remove.
* config/arm/xscale-coff.h: Remove.
* config/arm/xscale-elf.h: Remove.
* config/chorus.h: Remove.
* config/cris/aout.h: Remove.
* config/cris/aout.opt: Remove.
* config/cris/t-aout: Remove.
* config/i386/beos-elf.h: Remove.
* config/i386/kaos-i386.h: Remove.
* config/i386/ptx4-i.h: Remove.
* config/i386/sco5.h: Remove.
* config/i386/sco5.opt: Remove.
* config/i386/sysv4-cpp.h: Remove.
* config/i386/sysv5.h: Remove.
* config/i386/t-beos: Remove.
* config/i386/t-sco5: Remove.
* config/i386/t-uwin: Remove.
* config/i386/uwin.asm: Remove.
* config/i386/uwin.h: Remove.
* config/kaos.h: Remove.
* config/mips/windiss.h: Remove.
* config/mt: Remove directory.
* config/pa/pa-osf.h: Remove.
* config/pa/pa-pro-end.h: Remove.
* config/pa/t-pro: Remove.
* config/ptx4.h: Remove.
* config/rs6000/beos.h: Remove.
* config/rs6000/kaos-ppc.h: Remove.
* config/rs6000/t-beos: Remove.
* config/rs6000/windiss.h: Remove.
* config/sh/kaos-sh.h: Remove.
* config/sol2-6.h: Remove.
* config/sparc/sol26-sld.h: Remove.
* config/sparc/sysv4-only.h: Remove.
* config/vax/bsd.h: Remove.
* config/vax/t-memfuncs: Remove.
* config/vax/ultrix.h: Remove.
* config/vax/vaxv.h: Remove.
* config/windiss.h: Remove.
gcc/testsuite:
* g++.dg/abi/arm_cxa_vec1.C: Don't handle xscale*-*-*.
* g++.dg/eh/spbp.C: Don't handle *-*-solaris2.[56]*.
* g++.dg/warn/miss-format-1.C: Don't handle Solaris before Solaris
7.
* gcc.c-torture/compile/981006-1.c: Don't handle xscale*-*-*,
strongarm*-*-* and cris-*-aout*.
* gcc.c-torture/execute/941014-1.x: Don't handle xscale*-*-* and
strongarm*-*-*.
* gcc.dg/20030909-1.c: Don't handle xscale*-*-* and
strongarm*-*-*.
* gcc.dg/20031108-1.c: Don't handle xscale*-*-* and
strongarm*-*-*.
* gcc.dg/20040813-1.c: Don't handle *-*-sysv5*.
* gcc.dg/arm-asm.c: Don't handle strongarm*-*-* and xscale*-*-*.
* gcc.dg/arm-scd42-1.c: Use target arm*-*-*.
* gcc.dg/arm-scd42-3.c: Use target arm*-*-*.
* gcc.dg/cpp/assert4.c: Don't handle BeOS.
* gcc.dg/debug/pr35154.c: Don't handle *-*-sysv5*.
* gcc.dg/intmax_t-1.c: Don't handle *-*-solaris2.5.1 and
xscale*-*-elf*.
* gcc.dg/pragma-align.c: Don't handle i?86-*-sco3.2v5*.
* gcc.dg/pthread-init-2.c: Don't handle *-*-solaris2.5.1.
* gcc.misc-tests/arm-isr.exp: Use target arm*-*-*.
* gcc.target/powerpc/ppc-sdata-1.c: Don't handle powerpc-*-sysv*.
* gcc.target/powerpc/ppc-sdata-2.c: Don't handle powerpc-*-sysv*.
* gcc.target/powerpc/ppc-stackalign-1.c: Don't handle
powerpc-*-sysv*.
* gfortran.dg/debug/pr35154-stabs.f: Don't handle *-*-sysv5*.
* lib/target-supports.exp: Don't handle strongarm*-*-elf,
xscale*-*-elf and *-*-windiss.
* obj-c++.dg/dwarf-2.mm: Don't handle *-*-solaris2.[56]*.
* objc.dg/dwarf-1.m: Don't handle *-*-solaris2.[56]*.
* objc.dg/dwarf-2.m: Don't handle *-*-solaris2.[56]*.
* gcc.dg/mt-loopi1.c: Remove.
gnattools:
* configure.ac (xscale*-wrs-vx*, xscale*-wrs-coff): Remove.
* configure: Regenerate.
libcpp:
* configure.ac (parisc*64*-*-*): Remove.
* configure: Regenerate.
libffi:
* configure.ac (parisc*-*-linux*, powerpc-*-sysv*,
powerpc-*-beos*): Remove.
* configure: Regenerate.
libgcc:
* config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
libjava:
* configure.host (strongarm*-elf, xscale*-elf): Remove.
libstdc++-v3:
* configure.host (xscale, ep9312, m680[246]0, solaris2.5,
solaris2.5.[0-9], solaris2.6, windiss*): Remove.
* crossconfig.m4 (*-solaris2.5, *-solaris2.6, *-windiss*): Remove.
* configure: Regenerate.
* config/os/solaris/solaris2.5: Remove directory.
* config/os/solaris/solaris2.6: Remove directory.
* config/os/windiss: Remove directory.
From-SVN: r136534
2008-06-07 20:00:15 +02:00
|
|
|
@heading @anchor{powerpcle-x-elf}powerpcle-*-elf
|
2001-06-03 00:33:30 +02:00
|
|
|
PowerPC system in little endian mode, running System V.4.
|
|
|
|
|
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-06-03 00:33:30 +02:00
|
|
|
@end html
|
2005-04-16 13:04:30 +02:00
|
|
|
@heading @anchor{powerpcle-x-eabisim}powerpcle-*-eabisim
|
2001-06-03 00:33:30 +02:00
|
|
|
Embedded PowerPC system in little endian mode for use in running under
|
|
|
|
the PSIM simulator.
|
|
|
|
|
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-06-03 00:33:30 +02:00
|
|
|
@end html
|
2005-04-16 13:04:30 +02:00
|
|
|
@heading @anchor{powerpcle-x-eabi}powerpcle-*-eabi
|
2001-06-03 00:33:30 +02:00
|
|
|
Embedded PowerPC system in little endian mode.
|
|
|
|
|
2011-11-29 22:36:43 +01:00
|
|
|
@html
|
|
|
|
<hr />
|
|
|
|
@end html
|
|
|
|
@heading @anchor{rl78-x-elf}rl78-*-elf
|
|
|
|
The Renesas RL78 processor.
|
|
|
|
This configuration is intended for embedded systems.
|
|
|
|
|
2009-10-26 17:30:15 +01:00
|
|
|
@html
|
|
|
|
<hr />
|
|
|
|
@end html
|
|
|
|
@heading @anchor{rx-x-elf}rx-*-elf
|
|
|
|
The Renesas RX processor. See
|
|
|
|
@uref{http://eu.renesas.com/fmwk.jsp?cnt=rx600_series_landing.jsp&fp=/products/mpumcu/rx_family/rx600_series}
|
|
|
|
for more information about this processor.
|
|
|
|
|
2001-07-31 08:38:29 +02:00
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-07-31 08:38:29 +02:00
|
|
|
@end html
|
2005-04-16 13:04:30 +02:00
|
|
|
@heading @anchor{s390-x-linux}s390-*-linux*
|
2004-01-18 03:10:34 +01:00
|
|
|
S/390 system running GNU/Linux for S/390@.
|
2001-07-31 08:38:29 +02:00
|
|
|
|
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-07-31 08:38:29 +02:00
|
|
|
@end html
|
2005-04-16 13:04:30 +02:00
|
|
|
@heading @anchor{s390x-x-linux}s390x-*-linux*
|
2004-01-18 03:10:34 +01:00
|
|
|
zSeries system (64-bit) running GNU/Linux for zSeries@.
|
2001-07-31 08:38:29 +02:00
|
|
|
|
2003-10-15 19:12:01 +02:00
|
|
|
@html
|
|
|
|
<hr />
|
|
|
|
@end html
|
2005-04-16 13:04:30 +02:00
|
|
|
@heading @anchor{s390x-ibm-tpf}s390x-ibm-tpf*
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
zSeries system (64-bit) running TPF@. This platform is
|
2003-10-15 19:12:01 +02:00
|
|
|
supported as cross-compilation target only.
|
|
|
|
|
2001-05-12 00:10:54 +02:00
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-05-12 00:10:54 +02:00
|
|
|
@end html
|
2001-09-24 16:24:42 +02:00
|
|
|
@c Please use Solaris 2 to refer to all release of Solaris, starting
|
2004-06-01 13:28:50 +02:00
|
|
|
@c with 2.0 until 2.6, 7, 8, etc. Solaris 1 was a marketing name for
|
2001-09-24 16:24:42 +02:00
|
|
|
@c SunOS 4 releases which we don't use to avoid confusion. Solaris
|
|
|
|
@c alone is too unspecific and must be avoided.
|
2005-04-16 13:04:30 +02:00
|
|
|
@heading @anchor{x-x-solaris2}*-*-solaris2*
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2012-03-14 18:08:03 +01:00
|
|
|
Support for Solaris 8 has removed in GCC 4.8. Support for Solaris 7 has
|
|
|
|
been removed in GCC 4.6.
|
2010-04-01 14:33:35 +02:00
|
|
|
|
2012-03-12 16:39:37 +01:00
|
|
|
Sun does not ship a C compiler with Solaris 2 before Solaris 10, though
|
|
|
|
you can download the Sun Studio compilers for free. In Solaris 10 and
|
|
|
|
11, GCC 3.4.3 is available in @command{/usr/sfw/bin/gcc}. Solaris 11
|
|
|
|
also provides GCC 4.5.2 in @command{/usr/gcc/4.5/bin/gcc}. Alternatively,
|
2010-04-01 14:33:35 +02:00
|
|
|
you can install a pre-built GCC to bootstrap and install GCC. See the
|
2001-07-20 18:33:52 +02:00
|
|
|
@uref{binaries.html,,binaries page} for details.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2001-09-24 16:24:42 +02:00
|
|
|
The Solaris 2 @command{/bin/sh} will often fail to configure
|
2010-04-01 14:33:35 +02:00
|
|
|
@samp{libstdc++-v3}, @samp{boehm-gc} or @samp{libjava}. We therefore
|
2006-04-10 16:29:47 +02:00
|
|
|
recommend using the following initial sequence of commands
|
2003-07-17 08:12:43 +02:00
|
|
|
|
|
|
|
@smallexample
|
2010-12-20 08:25:51 +01:00
|
|
|
% CONFIG_SHELL=/bin/ksh
|
|
|
|
% export CONFIG_SHELL
|
2003-07-17 08:12:43 +02:00
|
|
|
@end smallexample
|
|
|
|
|
2010-04-01 14:33:35 +02:00
|
|
|
@noindent
|
2006-04-10 16:29:47 +02:00
|
|
|
and proceed as described in @uref{configure.html,,the configure instructions}.
|
2004-08-14 17:20:47 +02:00
|
|
|
In addition we strongly recommend specifying an absolute path to invoke
|
2010-04-01 14:33:35 +02:00
|
|
|
@command{@var{srcdir}/configure}.
|
2001-05-17 20:12:27 +02:00
|
|
|
|
2001-06-03 00:33:30 +02:00
|
|
|
Solaris 2 comes with a number of optional OS packages. Some of these
|
2003-04-05 17:48:35 +02:00
|
|
|
are needed to use GCC fully, namely @code{SUNWarc},
|
2001-07-20 18:33:52 +02:00
|
|
|
@code{SUNWbtool}, @code{SUNWesu}, @code{SUNWhea}, @code{SUNWlibm},
|
|
|
|
@code{SUNWsprot}, and @code{SUNWtoo}. If you did not install all
|
2001-09-24 16:24:42 +02:00
|
|
|
optional packages when installing Solaris 2, you will need to verify that
|
2001-06-03 00:33:30 +02:00
|
|
|
the packages that GCC needs are installed.
|
|
|
|
|
|
|
|
To check whether an optional package is installed, use
|
2001-07-20 18:33:52 +02:00
|
|
|
the @command{pkginfo} command. To add an optional package, use the
|
2001-09-24 16:24:42 +02:00
|
|
|
@command{pkgadd} command. For further details, see the Solaris 2
|
2001-06-03 00:33:30 +02:00
|
|
|
documentation.
|
|
|
|
|
2001-09-24 16:24:42 +02:00
|
|
|
Trying to use the linker and other tools in
|
2001-06-03 00:33:30 +02:00
|
|
|
@file{/usr/ucb} to install GCC has been observed to cause trouble.
|
|
|
|
For example, the linker may hang indefinitely. The fix is to remove
|
2001-09-24 16:24:42 +02:00
|
|
|
@file{/usr/ucb} from your @env{PATH}.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2003-07-17 08:12:43 +02:00
|
|
|
The build process works more smoothly with the legacy Sun tools so, if you
|
|
|
|
have @file{/usr/xpg4/bin} in your @env{PATH}, we recommend that you place
|
|
|
|
@file{/usr/bin} before @file{/usr/xpg4/bin} for the duration of the build.
|
|
|
|
|
2010-04-08 16:41:43 +02:00
|
|
|
We recommend the use of the Sun assembler or the GNU assembler, in
|
|
|
|
conjunction with the Sun linker. The GNU @command{as}
|
2010-04-01 14:33:35 +02:00
|
|
|
versions included in Solaris 10, from GNU binutils 2.15, and Solaris 11,
|
|
|
|
from GNU binutils 2.19, are known to work. They can be found in
|
2012-03-12 16:39:37 +01:00
|
|
|
@file{/usr/sfw/bin/gas}. Current versions of GNU binutils (2.22)
|
2010-04-08 16:41:43 +02:00
|
|
|
are known to work as well. Note that your mileage may vary
|
2008-06-09 12:16:15 +02:00
|
|
|
if you use a combination of the GNU tools and the Sun tools: while the
|
|
|
|
combination GNU @command{as} + Sun @command{ld} should reasonably work,
|
2012-03-12 16:39:37 +01:00
|
|
|
the reverse combination Sun @command{as} + GNU @command{ld} may fail to
|
|
|
|
build or cause memory corruption at runtime in some cases for C++ programs.
|
2010-04-01 14:33:35 +02:00
|
|
|
@c FIXME: still?
|
2010-04-08 16:41:43 +02:00
|
|
|
GNU @command{ld} usually works as well, although the version included in
|
2010-04-01 14:33:35 +02:00
|
|
|
Solaris 10 cannot be used due to several bugs. Again, the current
|
2012-03-12 16:39:37 +01:00
|
|
|
version (2.22) is known to work, but generally lacks platform specific
|
|
|
|
features, so better stay with Sun @command{ld}. To use the LTO linker
|
|
|
|
plugin (@option{-fuse-linker-plugin}) with GNU @command{ld}, GNU
|
|
|
|
binutils @emph{must} be configured with @option{--enable-largefile}.
|
2005-07-16 18:12:21 +02:00
|
|
|
|
2010-07-02 12:05:49 +02:00
|
|
|
To enable symbol versioning in @samp{libstdc++} with Sun @command{ld},
|
|
|
|
you need to have any version of GNU @command{c++filt}, which is part of
|
|
|
|
GNU binutils. @samp{libstdc++} symbol versioning will be disabled if no
|
|
|
|
appropriate version is found. Sun @command{c++filt} from the Sun Studio
|
|
|
|
compilers does @emph{not} work.
|
|
|
|
|
2001-09-24 16:24:42 +02:00
|
|
|
Sun bug 4296832 turns up when compiling X11 headers with GCC 2.95 or
|
2008-06-09 12:16:15 +02:00
|
|
|
newer: @command{g++} will complain that types are missing. These headers
|
|
|
|
assume that omitting the type means @code{int}; this assumption worked for
|
2010-02-26 18:09:29 +01:00
|
|
|
C90 but is wrong for C++, and is now wrong for C99 also.
|
2001-09-24 16:24:42 +02:00
|
|
|
|
2004-10-14 14:18:15 +02:00
|
|
|
Sun bug 4927647 sometimes causes random spurious testsuite failures
|
|
|
|
related to missing diagnostic output. This bug doesn't affect GCC
|
|
|
|
itself, rather it is a kernel bug triggered by the @command{expect}
|
|
|
|
program which is used only by the GCC testsuite driver. When the bug
|
|
|
|
causes the @command{expect} program to miss anticipated output, extra
|
|
|
|
testsuite failures appear.
|
|
|
|
|
2012-03-14 18:08:03 +01:00
|
|
|
There are patches for Solaris 9 (117171-11 or newer for
|
2004-10-14 14:18:15 +02:00
|
|
|
SPARC, 117172-11 or newer for Intel) that address this problem.
|
|
|
|
|
2012-03-14 18:08:03 +01:00
|
|
|
Thread-local storage (TLS) is supported in Solaris@tie{}9, but requires
|
2010-07-23 19:58:57 +02:00
|
|
|
some patches. The @samp{libthread} patches provide the
|
|
|
|
@code{__tls_get_addr} (SPARC, 64-bit x86) resp.@ @code{___tls_get_addr}
|
2012-03-14 18:08:03 +01:00
|
|
|
(32-bit x86) functions. On Solaris@tie{}9, the necessary support
|
2010-12-23 11:38:55 +01:00
|
|
|
on SPARC is present since FCS, while 114432-05 or newer is required on
|
2012-03-14 18:08:03 +01:00
|
|
|
Intel. Additionally, on Solaris@tie{}9/x86, patch 113986-02 or newer is
|
|
|
|
required for the Sun @command{ld} and runtime linker (@command{ld.so.1})
|
|
|
|
support, while Solaris@tie{}9/SPARC works since FCS. The linker
|
2010-07-23 19:58:57 +02:00
|
|
|
patches must be installed even if GNU @command{ld} is used. Sun
|
2012-03-14 18:08:03 +01:00
|
|
|
@command{as} in Solaris@tie{}9 doesn't support the necessary
|
2010-07-23 19:58:57 +02:00
|
|
|
relocations, so GNU @command{as} must be used. The @command{configure}
|
|
|
|
script checks for those prerequisites and automatically enables TLS
|
|
|
|
support if they are met. Although those minimal patch versions should
|
|
|
|
work, it is recommended to use the latest patch versions which include
|
|
|
|
additional bug fixes.
|
|
|
|
|
2010-09-14 12:26:40 +02:00
|
|
|
@html
|
|
|
|
<hr />
|
|
|
|
@end html
|
|
|
|
@heading @anchor{sparc-x-x}sparc*-*-*
|
|
|
|
|
|
|
|
This section contains general configuration information for all
|
|
|
|
SPARC-based platforms. In addition to reading this section, please
|
|
|
|
read all other sections that match your target.
|
|
|
|
|
|
|
|
Newer versions of the GNU Multiple Precision Library (GMP), the MPFR
|
|
|
|
library and the MPC library are known to be miscompiled by earlier
|
|
|
|
versions of GCC on these platforms. We therefore recommend the use
|
|
|
|
of the exact versions of these libraries listed as minimal versions
|
|
|
|
in @uref{prerequisites.html,,the prerequisites}.
|
|
|
|
|
2001-07-20 18:33:52 +02:00
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-07-20 18:33:52 +02:00
|
|
|
@end html
|
2005-04-16 13:04:30 +02:00
|
|
|
@heading @anchor{sparc-sun-solaris2}sparc-sun-solaris2*
|
2001-07-20 18:33:52 +02:00
|
|
|
|
2010-04-01 14:33:35 +02:00
|
|
|
When GCC is configured to use GNU binutils 2.14 or later, the binaries
|
2002-04-19 18:47:09 +02:00
|
|
|
produced are smaller than the ones produced using Sun's native tools;
|
|
|
|
this difference is quite significant for binaries containing debugging
|
|
|
|
information.
|
|
|
|
|
2001-10-19 18:52:31 +02:00
|
|
|
Starting with Solaris 7, the operating system is capable of executing
|
2002-05-03 17:13:16 +02:00
|
|
|
64-bit SPARC V9 binaries. GCC 3.1 and later properly supports
|
|
|
|
this; the @option{-m64} option enables 64-bit code generation.
|
|
|
|
However, if all you want is code tuned for the UltraSPARC CPU, you
|
|
|
|
should try the @option{-mtune=ultrasparc} option instead, which produces
|
|
|
|
code that, unlike full 64-bit code, can still run on non-UltraSPARC
|
2001-11-01 23:26:14 +01:00
|
|
|
machines.
|
2001-10-19 18:52:31 +02:00
|
|
|
|
2002-05-03 17:13:16 +02:00
|
|
|
When configuring on a Solaris 7 or later system that is running a kernel
|
2002-04-16 20:05:20 +02:00
|
|
|
that supports only 32-bit binaries, one must configure with
|
|
|
|
@option{--disable-multilib}, since we will not be able to build the
|
|
|
|
64-bit target libraries.
|
2002-04-13 01:02:45 +02:00
|
|
|
|
2004-05-08 19:27:08 +02:00
|
|
|
GCC 3.3 and GCC 3.4 trigger code generation bugs in earlier versions of
|
|
|
|
the GNU compiler (especially GCC 3.0.x versions), which lead to the
|
|
|
|
miscompilation of the stage1 compiler and the subsequent failure of the
|
|
|
|
bootstrap process. A workaround is to use GCC 3.2.3 as an intermediary
|
2004-09-11 10:34:26 +02:00
|
|
|
stage, i.e.@: to bootstrap that compiler with the base compiler and then
|
2004-05-08 19:27:08 +02:00
|
|
|
use it to bootstrap the final compiler.
|
|
|
|
|
2004-02-25 11:42:05 +01:00
|
|
|
GCC 3.4 triggers a code generation bug in versions 5.4 (Sun ONE Studio 7)
|
|
|
|
and 5.5 (Sun ONE Studio 8) of the Sun compiler, which causes a bootstrap
|
|
|
|
failure in form of a miscompilation of the stage1 compiler by the Sun
|
|
|
|
compiler. This is Sun bug 4974440. This is fixed with patch 112760-07.
|
|
|
|
|
2010-04-01 14:33:35 +02:00
|
|
|
GCC 3.4 changed the default debugging format from Stabs to DWARF-2 for
|
2005-05-31 14:56:43 +02:00
|
|
|
32-bit code on Solaris 7 and later. If you use the Sun assembler, this
|
|
|
|
change apparently runs afoul of Sun bug 4910101 (which is referenced as
|
c-tree.texi (Types, [...]): Fix grammar nits.
gcc/
* doc/c-tree.texi (Types, Functions, Expression trees): Fix
grammar nits.
* doc/cfg.texi (Maintaining the CFG, Liveness information):
Likewise.
* doc/cpp.texi (Standard Predefined Macros)
(Implementation-defined behavior): Likewise.
* doc/extend.texi (Function Attributes, Type Attributes):
Likewise.
* doc/gimple.texi (GIMPLE Exception Handling)
(@code{GIMPLE_ASSIGN}): Likewise.
* doc/install.texi (Prerequisites, Configuration, Specific):
Likewise.
* doc/invoke.texi (Warning Options, Optimize Options)
(AVR Options, Darwin Options): Likewise.
(Optimize Options): Reformulate -fwhole-program description.
* doc/loop.texi (Lambda): Likewise.
* doc/md.texi (Output Template, Define Constraints)
(Standard Names, Insn Splitting): Likewise.
* doc/options.texi (Option properties): Likewise.
* doc/passes.texi (Tree-SSA passes): Likewise.
* doc/rtl.texi (Side Effects, Assembler, Insns): Likewise.
* doc/tm.texi (Register Classes, Old Constraints, Scalar Return)
(File Names and DBX): Likewise.
* doc/trouble.texi (Incompatibilities): Likewise.
From-SVN: r146854
2009-04-27 22:23:51 +02:00
|
|
|
an x86-only problem by Sun, probably because they do not use DWARF-2).
|
2005-05-31 14:56:43 +02:00
|
|
|
A symptom of the problem is that you cannot compile C++ programs like
|
|
|
|
@command{groff} 1.19.1 without getting messages similar to the following:
|
2004-09-15 07:36:05 +02:00
|
|
|
|
|
|
|
@smallexample
|
|
|
|
ld: warning: relocation error: R_SPARC_UA32: @dots{}
|
|
|
|
external symbolic relocation against non-allocatable section
|
|
|
|
.debug_info cannot be processed at runtime: relocation ignored.
|
|
|
|
@end smallexample
|
|
|
|
|
2010-04-01 14:33:35 +02:00
|
|
|
@noindent
|
2004-09-15 07:36:05 +02:00
|
|
|
To work around this problem, compile with @option{-gstabs+} instead of
|
|
|
|
plain @option{-g}.
|
2004-06-01 13:28:50 +02:00
|
|
|
|
2010-09-14 12:26:40 +02:00
|
|
|
When configuring the GNU Multiple Precision Library (GMP), the MPFR
|
|
|
|
library or the MPC library on a Solaris 7 or later system, the canonical
|
|
|
|
target triplet must be specified as the @command{build} parameter on the
|
|
|
|
configure line. This target triplet can be obtained by invoking @command{./config.guess} in the toplevel source directory of GCC (and
|
|
|
|
not that of GMP or MPFR or MPC). For example on a Solaris 9 system:
|
2003-05-22 09:53:43 +02:00
|
|
|
|
|
|
|
@smallexample
|
2010-12-20 08:25:51 +01:00
|
|
|
% ./configure --build=sparc-sun-solaris2.9 --prefix=xxx
|
2003-05-22 09:53:43 +02:00
|
|
|
@end smallexample
|
|
|
|
|
2010-02-01 14:35:10 +01:00
|
|
|
@html
|
|
|
|
<hr />
|
|
|
|
@end html
|
|
|
|
@heading @anchor{sparc-sun-solaris210}sparc-sun-solaris2.10
|
|
|
|
|
|
|
|
There is a bug in older versions of the Sun assembler which breaks
|
|
|
|
thread-local storage (TLS). A typical error message is
|
|
|
|
|
|
|
|
@smallexample
|
|
|
|
ld: fatal: relocation error: R_SPARC_TLS_LE_HIX22: file /var/tmp//ccamPA1v.o:
|
|
|
|
symbol <unknown>: bad symbol type SECT: symbol type must be TLS
|
|
|
|
@end smallexample
|
|
|
|
|
2010-04-01 14:33:35 +02:00
|
|
|
@noindent
|
2010-02-01 14:35:10 +01:00
|
|
|
This bug is fixed in Sun patch 118683-03 or later.
|
|
|
|
|
2001-11-14 04:31:47 +01:00
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-11-14 04:31:47 +01:00
|
|
|
@end html
|
2005-04-16 13:04:30 +02:00
|
|
|
@heading @anchor{sparc-x-linux}sparc-*-linux*
|
2001-11-14 04:31:47 +01:00
|
|
|
|
|
|
|
GCC versions 3.0 and higher require binutils 2.11.2 and glibc 2.2.4
|
|
|
|
or newer on this platform. All earlier binutils and glibc
|
|
|
|
releases mishandled unaligned relocations on @code{sparc-*-*} targets.
|
|
|
|
|
|
|
|
|
2001-05-12 00:10:54 +02:00
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-05-12 00:10:54 +02:00
|
|
|
@end html
|
2005-04-16 13:04:30 +02:00
|
|
|
@heading @anchor{sparc64-x-solaris2}sparc64-*-solaris2*
|
2002-01-06 16:14:30 +01:00
|
|
|
|
2006-11-02 21:43:19 +01:00
|
|
|
When configuring the GNU Multiple Precision Library (GMP) or the
|
|
|
|
MPFR library, the canonical target triplet must be specified as
|
|
|
|
the @command{build} parameter on the configure line. For example
|
2010-04-12 21:01:36 +02:00
|
|
|
on a Solaris 9 system:
|
2006-11-02 21:43:19 +01:00
|
|
|
|
|
|
|
@smallexample
|
2010-12-20 08:25:51 +01:00
|
|
|
% ./configure --build=sparc64-sun-solaris2.9 --prefix=xxx
|
2006-11-02 21:43:19 +01:00
|
|
|
@end smallexample
|
|
|
|
|
2002-01-06 16:14:30 +01:00
|
|
|
The following compiler flags must be specified in the configure
|
|
|
|
step in order to bootstrap this target with the Sun compiler:
|
|
|
|
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@smallexample
|
2010-12-20 08:25:51 +01:00
|
|
|
% CC="cc -xarch=v9 -xildoff" @var{srcdir}/configure [@var{options}] [@var{target}]
|
c-tree.texi, [...]: Use @smallexample instead of @example.
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.
From-SVN: r76075
2004-01-18 02:20:48 +01:00
|
|
|
@end smallexample
|
2002-01-06 16:14:30 +01:00
|
|
|
|
2010-04-01 14:33:35 +02:00
|
|
|
@noindent
|
2006-11-02 21:43:19 +01:00
|
|
|
@option{-xarch=v9} specifies the SPARC-V9 architecture to the Sun toolchain
|
|
|
|
and @option{-xildoff} turns off the incremental linker.
|
2003-05-23 07:41:21 +02:00
|
|
|
|
|
|
|
@html
|
|
|
|
<hr />
|
|
|
|
@end html
|
2005-04-16 13:04:30 +02:00
|
|
|
@heading @anchor{sparcv9-x-solaris2}sparcv9-*-solaris2*
|
2003-05-23 07:41:21 +02:00
|
|
|
|
2010-04-01 14:33:35 +02:00
|
|
|
This is a synonym for @samp{sparc64-*-solaris2*}.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2011-07-15 11:36:40 +02:00
|
|
|
@html
|
|
|
|
<hr />
|
|
|
|
@end html
|
|
|
|
@heading @anchor{c6x-x-x}c6x-*-*
|
|
|
|
|
|
|
|
The C6X family of processors. This port requires binutils-2.22 or newer.
|
|
|
|
|
2012-02-14 11:02:21 +01:00
|
|
|
@html
|
|
|
|
<hr />
|
|
|
|
@end html
|
|
|
|
@heading @anchor{tilegx-*-linux}tilegx-*-linux*
|
|
|
|
|
|
|
|
The TILE-Gx processor running GNU/Linux. This port requires
|
|
|
|
binutils-2.22 or newer.
|
|
|
|
|
|
|
|
@html
|
|
|
|
<hr />
|
|
|
|
@end html
|
|
|
|
@heading @anchor{tilepro-*-linux}tilepro-*-linux*
|
|
|
|
|
|
|
|
The TILEPro processor running GNU/Linux. This port requires
|
|
|
|
binutils-2.22 or newer.
|
|
|
|
|
2002-12-16 19:23:00 +01:00
|
|
|
@html
|
|
|
|
<hr />
|
|
|
|
@end html
|
2005-04-16 13:04:30 +02:00
|
|
|
@heading @anchor{x-x-vxworks}*-*-vxworks*
|
2002-12-16 19:23:00 +01:00
|
|
|
Support for VxWorks is in flux. At present GCC supports @emph{only} the
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
very recent VxWorks 5.5 (aka Tornado 2.2) release, and only on PowerPC@.
|
2002-12-16 19:23:00 +01:00
|
|
|
We welcome patches for other architectures supported by VxWorks 5.5.
|
|
|
|
Support for VxWorks AE would also be welcome; we believe this is merely
|
|
|
|
a matter of writing an appropriate ``configlette'' (see below). We are
|
|
|
|
not interested in supporting older, a.out or COFF-based, versions of
|
|
|
|
VxWorks in GCC 3.
|
|
|
|
|
|
|
|
VxWorks comes with an older version of GCC installed in
|
|
|
|
@file{@var{$WIND_BASE}/host}; we recommend you do not overwrite it.
|
|
|
|
Choose an installation @var{prefix} entirely outside @var{$WIND_BASE}.
|
|
|
|
Before running @command{configure}, create the directories @file{@var{prefix}}
|
|
|
|
and @file{@var{prefix}/bin}. Link or copy the appropriate assembler,
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
linker, etc.@: into @file{@var{prefix}/bin}, and set your @var{PATH} to
|
2002-12-16 19:23:00 +01:00
|
|
|
include that directory while running both @command{configure} and
|
|
|
|
@command{make}.
|
|
|
|
|
|
|
|
You must give @command{configure} the
|
|
|
|
@option{--with-headers=@var{$WIND_BASE}/target/h} switch so that it can
|
|
|
|
find the VxWorks system headers. Since VxWorks is a cross compilation
|
|
|
|
target only, you must also specify @option{--target=@var{target}}.
|
|
|
|
@command{configure} will attempt to create the directory
|
|
|
|
@file{@var{prefix}/@var{target}/sys-include} and copy files into it;
|
|
|
|
make sure the user running @command{configure} has sufficient privilege
|
|
|
|
to do so.
|
|
|
|
|
|
|
|
GCC's exception handling runtime requires a special ``configlette''
|
|
|
|
module, @file{contrib/gthr_supp_vxw_5x.c}. Follow the instructions in
|
|
|
|
that file to add the module to your kernel build. (Future versions of
|
c-tree.texi, [...]: Remove trailing whitespace.
* doc/c-tree.texi, doc/cpp.texi, doc/extend.texi,
doc/frontends.texi, doc/gcov.texi, doc/gty.texi, doc/install.texi,
doc/invoke.texi, doc/libgcc.texi, doc/md.texi, doc/rtl.texi,
doc/sourcebuild.texi, doc/standards.texi, doc/tm.texi,
doc/trouble.texi: Remove trailing whitespace.
From-SVN: r76098
2004-01-18 12:57:17 +01:00
|
|
|
VxWorks will incorporate this module.)
|
2002-12-16 19:23:00 +01:00
|
|
|
|
2004-01-02 10:42:10 +01:00
|
|
|
@html
|
|
|
|
<hr />
|
|
|
|
@end html
|
2005-05-01 15:39:37 +02:00
|
|
|
@heading @anchor{x86-64-x-x}x86_64-*-*, amd64-*-*
|
2004-01-02 10:42:10 +01:00
|
|
|
|
|
|
|
GCC supports the x86-64 architecture implemented by the AMD64 processor
|
c-tree.texi, [...]: Correct end-of-sentence markup and markup of "etc.", "e.g." and "i.e.".
* doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
doc/libgcc.texi, doc/md.texi, doc/passes.texi,
doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
doc/trouble.texi: Correct end-of-sentence markup and markup of
"etc.", "e.g." and "i.e.". Use @code in various places where
appropriate.
From-SVN: r90101
2004-11-05 02:36:57 +01:00
|
|
|
(amd64-*-* is an alias for x86_64-*-*) on GNU/Linux, FreeBSD and NetBSD@.
|
2004-01-02 10:42:10 +01:00
|
|
|
On GNU/Linux the default is a bi-arch compiler which is able to generate
|
|
|
|
both 64-bit x86-64 and 32-bit x86 code (via the @option{-m32} switch).
|
|
|
|
|
2011-07-07 11:24:16 +02:00
|
|
|
@html
|
|
|
|
<hr />
|
|
|
|
@end html
|
2011-11-13 17:39:22 +01:00
|
|
|
@heading @anchor{x86-64-x-solaris210}x86_64-*-solaris2.1[0-9]*
|
2011-07-07 11:24:16 +02:00
|
|
|
|
|
|
|
GCC also supports the x86-64 architecture implemented by the AMD64
|
|
|
|
processor (@samp{amd64-*-*} is an alias for @samp{x86_64-*-*}) on
|
|
|
|
Solaris 10 or later. Unlike other systems, without special options a
|
|
|
|
bi-arch compiler is built which generates 32-bit code by default, but
|
|
|
|
can generate 64-bit x86-64 code with the @option{-m64} switch. Since
|
|
|
|
GCC 4.7, there is also configuration that defaults to 64-bit code, but
|
|
|
|
can generate 32-bit code with @option{-m32}. To configure and build
|
|
|
|
this way, you have to provide all support libraries like @file{libgmp}
|
|
|
|
as 64-bit code, configure with @option{--target=x86_64-pc-solaris2.1x}
|
|
|
|
and @samp{CC=gcc -m64}.
|
|
|
|
|
2002-01-25 18:10:46 +01:00
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2002-01-25 18:10:46 +01:00
|
|
|
@end html
|
2008-08-06 18:02:16 +02:00
|
|
|
@heading @anchor{xtensa-x-elf}xtensa*-*-elf
|
2002-01-25 18:10:46 +01:00
|
|
|
|
|
|
|
This target is intended for embedded Xtensa systems using the
|
|
|
|
@samp{newlib} C library. It uses ELF but does not support shared
|
|
|
|
objects. Designed-defined instructions specified via the
|
|
|
|
Tensilica Instruction Extension (TIE) language are only supported
|
|
|
|
through inline assembly.
|
|
|
|
|
|
|
|
The Xtensa configuration information must be specified prior to
|
2003-07-01 02:14:33 +02:00
|
|
|
building GCC@. The @file{include/xtensa-config.h} header
|
2002-01-25 18:10:46 +01:00
|
|
|
file contains the configuration information. If you created your
|
|
|
|
own Xtensa configuration with the Xtensa Processor Generator, the
|
|
|
|
downloaded files include a customized copy of this header file,
|
|
|
|
which you can use to replace the default header file.
|
|
|
|
|
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2002-01-25 18:10:46 +01:00
|
|
|
@end html
|
2008-08-06 18:02:16 +02:00
|
|
|
@heading @anchor{xtensa-x-linux}xtensa*-*-linux*
|
2002-01-25 18:10:46 +01:00
|
|
|
|
|
|
|
This target is for Xtensa systems running GNU/Linux. It supports ELF
|
|
|
|
shared objects and the GNU C library (glibc). It also generates
|
|
|
|
position-independent code (PIC) regardless of whether the
|
|
|
|
@option{-fpic} or @option{-fPIC} options are used. In other
|
2002-02-23 13:59:09 +01:00
|
|
|
respects, this target is the same as the
|
2008-08-06 18:02:16 +02:00
|
|
|
@uref{#xtensa*-*-elf,,@samp{xtensa*-*-elf}} target.
|
2002-01-25 18:10:46 +01:00
|
|
|
|
2001-05-12 00:10:54 +02:00
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-05-12 00:10:54 +02:00
|
|
|
@end html
|
2008-06-30 14:21:19 +02:00
|
|
|
@heading @anchor{windows}Microsoft Windows
|
|
|
|
|
|
|
|
@subheading Intel 16-bit versions
|
2011-05-05 01:34:37 +02:00
|
|
|
The 16-bit versions of Microsoft Windows, such as Windows 3.1, are not
|
2008-06-30 14:21:19 +02:00
|
|
|
supported.
|
|
|
|
|
2011-05-05 01:34:37 +02:00
|
|
|
However, the 32-bit port has limited support for Microsoft
|
2008-06-30 14:21:19 +02:00
|
|
|
Windows 3.11 in the Win32s environment, as a target only. See below.
|
|
|
|
|
|
|
|
@subheading Intel 32-bit versions
|
|
|
|
|
2011-05-05 01:34:37 +02:00
|
|
|
The 32-bit versions of Windows, including Windows 95, Windows NT, Windows
|
|
|
|
XP, and Windows Vista, are supported by several different target
|
|
|
|
platforms. These targets differ in which Windows subsystem they target
|
2008-06-30 14:21:19 +02:00
|
|
|
and which C libraries are used.
|
|
|
|
|
|
|
|
@itemize
|
2011-05-05 01:34:37 +02:00
|
|
|
@item Cygwin @uref{#x-x-cygwin,,*-*-cygwin}: Cygwin provides a user-space
|
2008-06-30 14:21:19 +02:00
|
|
|
Linux API emulation layer in the Win32 subsystem.
|
2011-05-05 01:34:37 +02:00
|
|
|
@item Interix @uref{#x-x-interix,,*-*-interix}: The Interix subsystem
|
2008-06-30 14:21:19 +02:00
|
|
|
provides native support for POSIX.
|
2011-05-05 01:34:37 +02:00
|
|
|
@item MinGW @uref{#x-x-mingw32,,*-*-mingw32}: MinGW is a native GCC port for
|
2008-06-30 14:21:19 +02:00
|
|
|
the Win32 subsystem that provides a subset of POSIX.
|
2011-05-05 01:34:37 +02:00
|
|
|
@item MKS i386-pc-mks: NuTCracker from MKS. See
|
2008-06-30 14:21:19 +02:00
|
|
|
@uref{http://www.mkssoftware.com/} for more information.
|
|
|
|
@end itemize
|
|
|
|
|
|
|
|
@subheading Intel 64-bit versions
|
|
|
|
|
|
|
|
GCC contains support for x86-64 using the mingw-w64
|
|
|
|
runtime library, available from @uref{http://mingw-w64.sourceforge.net/}.
|
|
|
|
This library should be used with the target triple x86_64-pc-mingw32.
|
|
|
|
|
|
|
|
Presently Windows for Itanium is not supported.
|
|
|
|
|
|
|
|
@subheading Windows CE
|
|
|
|
|
2012-03-02 10:37:30 +01:00
|
|
|
Windows CE is supported as a target only on Hitachi
|
2008-06-30 14:21:19 +02:00
|
|
|
SuperH (sh-wince-pe), and MIPS (mips-wince-pe).
|
|
|
|
|
|
|
|
@subheading Other Windows Platforms
|
|
|
|
|
|
|
|
GCC no longer supports Windows NT on the Alpha or PowerPC.
|
|
|
|
|
2011-05-05 01:34:37 +02:00
|
|
|
GCC no longer supports the Windows POSIX subsystem. However, it does
|
2008-06-30 14:21:19 +02:00
|
|
|
support the Interix subsystem. See above.
|
|
|
|
|
|
|
|
Old target names including *-*-winnt and *-*-windowsnt are no longer used.
|
|
|
|
|
2011-05-05 01:34:37 +02:00
|
|
|
PW32 (i386-pc-pw32) support was never completed, and the project seems to
|
2008-06-30 14:21:19 +02:00
|
|
|
be inactive. See @uref{http://pw32.sourceforge.net/} for more information.
|
|
|
|
|
|
|
|
UWIN support has been removed due to a lack of maintenance.
|
|
|
|
|
|
|
|
@html
|
|
|
|
<hr />
|
|
|
|
@end html
|
|
|
|
@heading @anchor{x-x-cygwin}*-*-cygwin
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2005-06-26 15:40:20 +02:00
|
|
|
Ports of GCC are included with the
|
2001-05-12 00:10:54 +02:00
|
|
|
@uref{http://www.cygwin.com/,,Cygwin environment}.
|
|
|
|
|
2005-06-26 15:40:20 +02:00
|
|
|
GCC will build under Cygwin without modification; it does not build
|
|
|
|
with Microsoft's C++ compiler and there are no plans to make it do so.
|
2003-06-05 05:54:44 +02:00
|
|
|
|
2010-01-12 00:43:21 +01:00
|
|
|
The Cygwin native compiler can be configured to target any 32-bit x86
|
|
|
|
cpu architecture desired; the default is i686-pc-cygwin. It should be
|
|
|
|
used with as up-to-date a version of binutils as possible; use either
|
|
|
|
the latest official GNU binutils release in the Cygwin distribution,
|
|
|
|
or version 2.20 or above if building your own.
|
2008-06-30 14:21:19 +02:00
|
|
|
|
|
|
|
@html
|
|
|
|
<hr />
|
|
|
|
@end html
|
|
|
|
@heading @anchor{x-x-interix}*-*-interix
|
|
|
|
|
2011-05-05 01:34:37 +02:00
|
|
|
The Interix target is used by OpenNT, Interix, Services For UNIX (SFU),
|
|
|
|
and Subsystem for UNIX-based Applications (SUA). Applications compiled
|
|
|
|
with this target run in the Interix subsystem, which is separate from
|
2008-06-30 14:21:19 +02:00
|
|
|
the Win32 subsystem. This target was last known to work in GCC 3.3.
|
|
|
|
|
|
|
|
@html
|
|
|
|
<hr />
|
|
|
|
@end html
|
|
|
|
@heading @anchor{x-x-mingw32}*-*-mingw32
|
|
|
|
|
|
|
|
GCC will build with and support only MinGW runtime 3.12 and later.
|
2007-12-12 21:54:10 +01:00
|
|
|
Earlier versions of headers are incompatible with the new default semantics
|
|
|
|
of @code{extern inline} in @code{-std=c99} and @code{-std=gnu99} modes.
|
|
|
|
|
2001-05-12 00:10:54 +02:00
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-05-12 00:10:54 +02:00
|
|
|
@end html
|
2001-06-02 20:21:37 +02:00
|
|
|
@heading @anchor{older}Older systems
|
2001-06-27 01:23:32 +02:00
|
|
|
|
|
|
|
GCC contains support files for many older (1980s and early
|
|
|
|
1990s) Unix variants. For the most part, support for these systems
|
|
|
|
has not been deliberately removed, but it has not been maintained for
|
config.gcc: Remove all stanzas for previously obsoleted systems.
* config.gcc: Remove all stanzas for previously obsoleted
systems. Where necessary, add explicit error stanzas to
prevent removed systems from being misidentified as something
else. Begin a fresh obsoletions list, with the systems that
were reprieved last round.
* doc/install.texi: Remove all mention of dead targets.
* fixinc/mkfixinc.sh: Likewise.
* config/arm/arm.h: Bit 31 of target_flags is no longer
reserved.
* config/1750a/1750a-protos.h, config/1750a/1750a.c,
config/1750a/1750a.h, config/1750a/1750a.md, config/1750a/ms1750.inc,
config/a29k/a29k-protos.h, config/a29k/a29k.c, config/a29k/a29k.h,
config/a29k/a29k.md, config/a29k/rtems.h, config/a29k/t-a29kbare,
config/a29k/t-vx29k, config/a29k/unix.h, config/a29k/vx29k.h,
config/alpha/osf12.h, config/alpha/osf2or3.h,
config/arm/arm-wince-pe.h, config/arm/arm.h, config/arm/riscix.h,
config/arm/riscix1-1.h, config/arm/rix-gas.h, config/arm/t-riscix,
config/clipper/clipper-protos.h, config/clipper/clipper.c,
config/clipper/clipper.h, config/clipper/clipper.md,
config/clipper/clix.h, config/convex/convex-protos.h,
config/convex/convex.c, config/convex/convex.h,
config/convex/convex.md, config/convex/fixinc.convex,
config/convex/proto.h, config/elxsi/elxsi-protos.h,
config/elxsi/elxsi.c, config/elxsi/elxsi.h, config/elxsi/elxsi.md,
config/i386/386bsd.h, config/i386/aix386.h, config/i386/aix386ng.h,
config/i386/bsd386.h, config/i386/dgux.h, config/i386/djgpp-rtems.h,
config/i386/isc.h, config/i386/iscdbx.h, config/i386/linux-oldld.h,
config/i386/next.h, config/i386/osf1-ci.asm, config/i386/osf1-cn.asm,
config/i386/osf1elf.h, config/i386/osf1elfgdb.h, config/i386/osfelf.h,
config/i386/osfrose.h, config/i386/rtems.h, config/i386/seq-gas.h,
config/i386/seq-sysv3.h, config/i386/seq2-sysv3.h,
config/i386/sequent.h, config/i386/sun.h, config/i386/sun386.h,
config/i386/t-dgux, config/i386/t-next, config/i386/t-osf,
config/i386/t-osf1elf, config/i860/bsd-gas.h, config/i860/bsd.h,
config/i860/fx2800.h, config/i860/i860-protos.h, config/i860/i860.c,
config/i860/i860.h, config/i860/i860.md, config/i860/mach.h,
config/i860/paragon.h, config/i860/sysv3.h, config/i860/sysv4.h,
config/i860/t-fx2800, config/i860/varargs.asm, config/m68k/a-ux.h,
config/m68k/altos3068.h, config/m68k/apollo68.h,
config/m68k/aux-crt1.c, config/m68k/aux-crt2.asm,
config/m68k/aux-crtn.asm, config/m68k/aux-exit.c,
config/m68k/aux-low.gld, config/m68k/aux-mcount.c,
config/m68k/auxas.h, config/m68k/auxgas.h, config/m68k/auxgld.h,
config/m68k/auxld.h, config/m68k/ctix.h, config/m68k/dpx2.h,
config/m68k/dpx2.ifile, config/m68k/dpx2cdbx.h, config/m68k/dpx2g.h,
config/m68k/isi-nfp.h, config/m68k/isi.h, config/m68k/lynx-ng.h,
config/m68k/lynx.h, config/m68k/math-3300.h, config/m68k/news.h,
config/m68k/news3.h, config/m68k/news3gas.h, config/m68k/newsgas.h,
config/m68k/next.h, config/m68k/next21.h, config/m68k/rtems.h,
config/m68k/t-aux, config/m68k/t-lynx, config/m68k/t-next,
config/m68k/x-next, config/m88k/dgux.h, config/m88k/dgux.ld,
config/m88k/dguxbcs.h, config/m88k/dolph.h, config/m88k/dolphin.ld,
config/m88k/luna.h, config/m88k/m88k-coff.h, config/m88k/sysv3.h,
config/m88k/t-bug, config/m88k/t-dgux, config/m88k/t-dgux-gas,
config/m88k/t-dguxbcs, config/m88k/t-dolph, config/m88k/t-m88k-gas,
config/m88k/t-tekXD88, config/m88k/tekXD88.h, config/m88k/tekXD88.ld,
config/mips/bsd-4.h, config/mips/bsd-5.h, config/mips/dec-bsd.h,
config/mips/dec-osf1.h, config/mips/elflorion.h,
config/mips/iris4loser.h, config/mips/mips-5.h, config/mips/news4.h,
config/mips/news5.h, config/mips/nws3250v4.h, config/mips/osfrose.h,
config/mips/svr3-4.h, config/mips/svr3-5.h, config/mips/svr4-4.h,
config/mips/svr4-5.h, config/mips/svr4-t.h, config/mips/t-bsd,
config/mips/t-bsd-gas, config/mips/t-svr3, config/mips/t-svr3-gas,
config/mips/t-svr4, config/mips/t-svr4-gas, config/mips/t-ultrix,
config/mips/ultrix.h, config/nextstep-protos.h, config/nextstep.c,
config/nextstep.h, config/nextstep21.h, config/ns32k/encore.h,
config/ns32k/merlin.h, config/ns32k/pc532-mach.h,
config/ns32k/pc532-min.h, config/ns32k/pc532.h,
config/ns32k/sequent.h, config/ns32k/tek6000.h,
config/ns32k/tek6100.h, config/ns32k/tek6200.h, config/pj/lib1funcs.S,
config/pj/linux.h, config/pj/pj-protos.h, config/pj/pj.c,
config/pj/pj.h, config/pj/pj.md, config/pj/pjl.h, config/pj/t-pj,
config/sparc/rtems.h, config/we32k/we32k-protos.h,
config/we32k/we32k.c, config/we32k/we32k.h, config/we32k/we32k.md:
Delete file.
From-SVN: r53862
2002-05-25 04:10:46 +02:00
|
|
|
several years and may suffer from bitrot.
|
2001-06-27 01:23:32 +02:00
|
|
|
|
config.gcc: Remove all stanzas for previously obsoleted systems.
* config.gcc: Remove all stanzas for previously obsoleted
systems. Where necessary, add explicit error stanzas to
prevent removed systems from being misidentified as something
else. Begin a fresh obsoletions list, with the systems that
were reprieved last round.
* doc/install.texi: Remove all mention of dead targets.
* fixinc/mkfixinc.sh: Likewise.
* config/arm/arm.h: Bit 31 of target_flags is no longer
reserved.
* config/1750a/1750a-protos.h, config/1750a/1750a.c,
config/1750a/1750a.h, config/1750a/1750a.md, config/1750a/ms1750.inc,
config/a29k/a29k-protos.h, config/a29k/a29k.c, config/a29k/a29k.h,
config/a29k/a29k.md, config/a29k/rtems.h, config/a29k/t-a29kbare,
config/a29k/t-vx29k, config/a29k/unix.h, config/a29k/vx29k.h,
config/alpha/osf12.h, config/alpha/osf2or3.h,
config/arm/arm-wince-pe.h, config/arm/arm.h, config/arm/riscix.h,
config/arm/riscix1-1.h, config/arm/rix-gas.h, config/arm/t-riscix,
config/clipper/clipper-protos.h, config/clipper/clipper.c,
config/clipper/clipper.h, config/clipper/clipper.md,
config/clipper/clix.h, config/convex/convex-protos.h,
config/convex/convex.c, config/convex/convex.h,
config/convex/convex.md, config/convex/fixinc.convex,
config/convex/proto.h, config/elxsi/elxsi-protos.h,
config/elxsi/elxsi.c, config/elxsi/elxsi.h, config/elxsi/elxsi.md,
config/i386/386bsd.h, config/i386/aix386.h, config/i386/aix386ng.h,
config/i386/bsd386.h, config/i386/dgux.h, config/i386/djgpp-rtems.h,
config/i386/isc.h, config/i386/iscdbx.h, config/i386/linux-oldld.h,
config/i386/next.h, config/i386/osf1-ci.asm, config/i386/osf1-cn.asm,
config/i386/osf1elf.h, config/i386/osf1elfgdb.h, config/i386/osfelf.h,
config/i386/osfrose.h, config/i386/rtems.h, config/i386/seq-gas.h,
config/i386/seq-sysv3.h, config/i386/seq2-sysv3.h,
config/i386/sequent.h, config/i386/sun.h, config/i386/sun386.h,
config/i386/t-dgux, config/i386/t-next, config/i386/t-osf,
config/i386/t-osf1elf, config/i860/bsd-gas.h, config/i860/bsd.h,
config/i860/fx2800.h, config/i860/i860-protos.h, config/i860/i860.c,
config/i860/i860.h, config/i860/i860.md, config/i860/mach.h,
config/i860/paragon.h, config/i860/sysv3.h, config/i860/sysv4.h,
config/i860/t-fx2800, config/i860/varargs.asm, config/m68k/a-ux.h,
config/m68k/altos3068.h, config/m68k/apollo68.h,
config/m68k/aux-crt1.c, config/m68k/aux-crt2.asm,
config/m68k/aux-crtn.asm, config/m68k/aux-exit.c,
config/m68k/aux-low.gld, config/m68k/aux-mcount.c,
config/m68k/auxas.h, config/m68k/auxgas.h, config/m68k/auxgld.h,
config/m68k/auxld.h, config/m68k/ctix.h, config/m68k/dpx2.h,
config/m68k/dpx2.ifile, config/m68k/dpx2cdbx.h, config/m68k/dpx2g.h,
config/m68k/isi-nfp.h, config/m68k/isi.h, config/m68k/lynx-ng.h,
config/m68k/lynx.h, config/m68k/math-3300.h, config/m68k/news.h,
config/m68k/news3.h, config/m68k/news3gas.h, config/m68k/newsgas.h,
config/m68k/next.h, config/m68k/next21.h, config/m68k/rtems.h,
config/m68k/t-aux, config/m68k/t-lynx, config/m68k/t-next,
config/m68k/x-next, config/m88k/dgux.h, config/m88k/dgux.ld,
config/m88k/dguxbcs.h, config/m88k/dolph.h, config/m88k/dolphin.ld,
config/m88k/luna.h, config/m88k/m88k-coff.h, config/m88k/sysv3.h,
config/m88k/t-bug, config/m88k/t-dgux, config/m88k/t-dgux-gas,
config/m88k/t-dguxbcs, config/m88k/t-dolph, config/m88k/t-m88k-gas,
config/m88k/t-tekXD88, config/m88k/tekXD88.h, config/m88k/tekXD88.ld,
config/mips/bsd-4.h, config/mips/bsd-5.h, config/mips/dec-bsd.h,
config/mips/dec-osf1.h, config/mips/elflorion.h,
config/mips/iris4loser.h, config/mips/mips-5.h, config/mips/news4.h,
config/mips/news5.h, config/mips/nws3250v4.h, config/mips/osfrose.h,
config/mips/svr3-4.h, config/mips/svr3-5.h, config/mips/svr4-4.h,
config/mips/svr4-5.h, config/mips/svr4-t.h, config/mips/t-bsd,
config/mips/t-bsd-gas, config/mips/t-svr3, config/mips/t-svr3-gas,
config/mips/t-svr4, config/mips/t-svr4-gas, config/mips/t-ultrix,
config/mips/ultrix.h, config/nextstep-protos.h, config/nextstep.c,
config/nextstep.h, config/nextstep21.h, config/ns32k/encore.h,
config/ns32k/merlin.h, config/ns32k/pc532-mach.h,
config/ns32k/pc532-min.h, config/ns32k/pc532.h,
config/ns32k/sequent.h, config/ns32k/tek6000.h,
config/ns32k/tek6100.h, config/ns32k/tek6200.h, config/pj/lib1funcs.S,
config/pj/linux.h, config/pj/pj-protos.h, config/pj/pj.c,
config/pj/pj.h, config/pj/pj.md, config/pj/pjl.h, config/pj/t-pj,
config/sparc/rtems.h, config/we32k/we32k-protos.h,
config/we32k/we32k.c, config/we32k/we32k.h, config/we32k/we32k.md:
Delete file.
From-SVN: r53862
2002-05-25 04:10:46 +02:00
|
|
|
Starting with GCC 3.1, each release has a list of ``obsoleted'' systems.
|
2002-04-23 00:25:14 +02:00
|
|
|
Support for these systems is still present in that release, but
|
|
|
|
@command{configure} will fail unless the @option{--enable-obsolete}
|
config.gcc: Remove all stanzas for previously obsoleted systems.
* config.gcc: Remove all stanzas for previously obsoleted
systems. Where necessary, add explicit error stanzas to
prevent removed systems from being misidentified as something
else. Begin a fresh obsoletions list, with the systems that
were reprieved last round.
* doc/install.texi: Remove all mention of dead targets.
* fixinc/mkfixinc.sh: Likewise.
* config/arm/arm.h: Bit 31 of target_flags is no longer
reserved.
* config/1750a/1750a-protos.h, config/1750a/1750a.c,
config/1750a/1750a.h, config/1750a/1750a.md, config/1750a/ms1750.inc,
config/a29k/a29k-protos.h, config/a29k/a29k.c, config/a29k/a29k.h,
config/a29k/a29k.md, config/a29k/rtems.h, config/a29k/t-a29kbare,
config/a29k/t-vx29k, config/a29k/unix.h, config/a29k/vx29k.h,
config/alpha/osf12.h, config/alpha/osf2or3.h,
config/arm/arm-wince-pe.h, config/arm/arm.h, config/arm/riscix.h,
config/arm/riscix1-1.h, config/arm/rix-gas.h, config/arm/t-riscix,
config/clipper/clipper-protos.h, config/clipper/clipper.c,
config/clipper/clipper.h, config/clipper/clipper.md,
config/clipper/clix.h, config/convex/convex-protos.h,
config/convex/convex.c, config/convex/convex.h,
config/convex/convex.md, config/convex/fixinc.convex,
config/convex/proto.h, config/elxsi/elxsi-protos.h,
config/elxsi/elxsi.c, config/elxsi/elxsi.h, config/elxsi/elxsi.md,
config/i386/386bsd.h, config/i386/aix386.h, config/i386/aix386ng.h,
config/i386/bsd386.h, config/i386/dgux.h, config/i386/djgpp-rtems.h,
config/i386/isc.h, config/i386/iscdbx.h, config/i386/linux-oldld.h,
config/i386/next.h, config/i386/osf1-ci.asm, config/i386/osf1-cn.asm,
config/i386/osf1elf.h, config/i386/osf1elfgdb.h, config/i386/osfelf.h,
config/i386/osfrose.h, config/i386/rtems.h, config/i386/seq-gas.h,
config/i386/seq-sysv3.h, config/i386/seq2-sysv3.h,
config/i386/sequent.h, config/i386/sun.h, config/i386/sun386.h,
config/i386/t-dgux, config/i386/t-next, config/i386/t-osf,
config/i386/t-osf1elf, config/i860/bsd-gas.h, config/i860/bsd.h,
config/i860/fx2800.h, config/i860/i860-protos.h, config/i860/i860.c,
config/i860/i860.h, config/i860/i860.md, config/i860/mach.h,
config/i860/paragon.h, config/i860/sysv3.h, config/i860/sysv4.h,
config/i860/t-fx2800, config/i860/varargs.asm, config/m68k/a-ux.h,
config/m68k/altos3068.h, config/m68k/apollo68.h,
config/m68k/aux-crt1.c, config/m68k/aux-crt2.asm,
config/m68k/aux-crtn.asm, config/m68k/aux-exit.c,
config/m68k/aux-low.gld, config/m68k/aux-mcount.c,
config/m68k/auxas.h, config/m68k/auxgas.h, config/m68k/auxgld.h,
config/m68k/auxld.h, config/m68k/ctix.h, config/m68k/dpx2.h,
config/m68k/dpx2.ifile, config/m68k/dpx2cdbx.h, config/m68k/dpx2g.h,
config/m68k/isi-nfp.h, config/m68k/isi.h, config/m68k/lynx-ng.h,
config/m68k/lynx.h, config/m68k/math-3300.h, config/m68k/news.h,
config/m68k/news3.h, config/m68k/news3gas.h, config/m68k/newsgas.h,
config/m68k/next.h, config/m68k/next21.h, config/m68k/rtems.h,
config/m68k/t-aux, config/m68k/t-lynx, config/m68k/t-next,
config/m68k/x-next, config/m88k/dgux.h, config/m88k/dgux.ld,
config/m88k/dguxbcs.h, config/m88k/dolph.h, config/m88k/dolphin.ld,
config/m88k/luna.h, config/m88k/m88k-coff.h, config/m88k/sysv3.h,
config/m88k/t-bug, config/m88k/t-dgux, config/m88k/t-dgux-gas,
config/m88k/t-dguxbcs, config/m88k/t-dolph, config/m88k/t-m88k-gas,
config/m88k/t-tekXD88, config/m88k/tekXD88.h, config/m88k/tekXD88.ld,
config/mips/bsd-4.h, config/mips/bsd-5.h, config/mips/dec-bsd.h,
config/mips/dec-osf1.h, config/mips/elflorion.h,
config/mips/iris4loser.h, config/mips/mips-5.h, config/mips/news4.h,
config/mips/news5.h, config/mips/nws3250v4.h, config/mips/osfrose.h,
config/mips/svr3-4.h, config/mips/svr3-5.h, config/mips/svr4-4.h,
config/mips/svr4-5.h, config/mips/svr4-t.h, config/mips/t-bsd,
config/mips/t-bsd-gas, config/mips/t-svr3, config/mips/t-svr3-gas,
config/mips/t-svr4, config/mips/t-svr4-gas, config/mips/t-ultrix,
config/mips/ultrix.h, config/nextstep-protos.h, config/nextstep.c,
config/nextstep.h, config/nextstep21.h, config/ns32k/encore.h,
config/ns32k/merlin.h, config/ns32k/pc532-mach.h,
config/ns32k/pc532-min.h, config/ns32k/pc532.h,
config/ns32k/sequent.h, config/ns32k/tek6000.h,
config/ns32k/tek6100.h, config/ns32k/tek6200.h, config/pj/lib1funcs.S,
config/pj/linux.h, config/pj/pj-protos.h, config/pj/pj.c,
config/pj/pj.h, config/pj/pj.md, config/pj/pjl.h, config/pj/t-pj,
config/sparc/rtems.h, config/we32k/we32k-protos.h,
config/we32k/we32k.c, config/we32k/we32k.h, config/we32k/we32k.md:
Delete file.
From-SVN: r53862
2002-05-25 04:10:46 +02:00
|
|
|
option is given. Unless a maintainer steps forward, support for these
|
|
|
|
systems will be removed from the next release of GCC@.
|
2001-06-27 01:23:32 +02:00
|
|
|
|
|
|
|
Support for old systems as hosts for GCC can cause problems if the
|
|
|
|
workarounds for compiler, library and operating system bugs affect the
|
c-tree.texi, [...]: Replace . at end of sentences preceded by a capital letter with @..
* doc/c-tree.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppinternals.texi, doc/extend.texi, doc/gcc.texi,
doc/gcov.texi, doc/install-old.texi, doc/install.texi,
doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi: Replace
. at end of sentences preceded by a capital letter with @..
From-SVN: r43611
2001-06-27 17:04:16 +02:00
|
|
|
cleanliness or maintainability of the rest of GCC@. In some cases, to
|
2001-06-27 01:23:32 +02:00
|
|
|
bring GCC up on such a system, if still possible with current GCC, may
|
|
|
|
require first installing an old version of GCC which did work on that
|
config.gcc: Remove all stanzas for previously obsoleted systems.
* config.gcc: Remove all stanzas for previously obsoleted
systems. Where necessary, add explicit error stanzas to
prevent removed systems from being misidentified as something
else. Begin a fresh obsoletions list, with the systems that
were reprieved last round.
* doc/install.texi: Remove all mention of dead targets.
* fixinc/mkfixinc.sh: Likewise.
* config/arm/arm.h: Bit 31 of target_flags is no longer
reserved.
* config/1750a/1750a-protos.h, config/1750a/1750a.c,
config/1750a/1750a.h, config/1750a/1750a.md, config/1750a/ms1750.inc,
config/a29k/a29k-protos.h, config/a29k/a29k.c, config/a29k/a29k.h,
config/a29k/a29k.md, config/a29k/rtems.h, config/a29k/t-a29kbare,
config/a29k/t-vx29k, config/a29k/unix.h, config/a29k/vx29k.h,
config/alpha/osf12.h, config/alpha/osf2or3.h,
config/arm/arm-wince-pe.h, config/arm/arm.h, config/arm/riscix.h,
config/arm/riscix1-1.h, config/arm/rix-gas.h, config/arm/t-riscix,
config/clipper/clipper-protos.h, config/clipper/clipper.c,
config/clipper/clipper.h, config/clipper/clipper.md,
config/clipper/clix.h, config/convex/convex-protos.h,
config/convex/convex.c, config/convex/convex.h,
config/convex/convex.md, config/convex/fixinc.convex,
config/convex/proto.h, config/elxsi/elxsi-protos.h,
config/elxsi/elxsi.c, config/elxsi/elxsi.h, config/elxsi/elxsi.md,
config/i386/386bsd.h, config/i386/aix386.h, config/i386/aix386ng.h,
config/i386/bsd386.h, config/i386/dgux.h, config/i386/djgpp-rtems.h,
config/i386/isc.h, config/i386/iscdbx.h, config/i386/linux-oldld.h,
config/i386/next.h, config/i386/osf1-ci.asm, config/i386/osf1-cn.asm,
config/i386/osf1elf.h, config/i386/osf1elfgdb.h, config/i386/osfelf.h,
config/i386/osfrose.h, config/i386/rtems.h, config/i386/seq-gas.h,
config/i386/seq-sysv3.h, config/i386/seq2-sysv3.h,
config/i386/sequent.h, config/i386/sun.h, config/i386/sun386.h,
config/i386/t-dgux, config/i386/t-next, config/i386/t-osf,
config/i386/t-osf1elf, config/i860/bsd-gas.h, config/i860/bsd.h,
config/i860/fx2800.h, config/i860/i860-protos.h, config/i860/i860.c,
config/i860/i860.h, config/i860/i860.md, config/i860/mach.h,
config/i860/paragon.h, config/i860/sysv3.h, config/i860/sysv4.h,
config/i860/t-fx2800, config/i860/varargs.asm, config/m68k/a-ux.h,
config/m68k/altos3068.h, config/m68k/apollo68.h,
config/m68k/aux-crt1.c, config/m68k/aux-crt2.asm,
config/m68k/aux-crtn.asm, config/m68k/aux-exit.c,
config/m68k/aux-low.gld, config/m68k/aux-mcount.c,
config/m68k/auxas.h, config/m68k/auxgas.h, config/m68k/auxgld.h,
config/m68k/auxld.h, config/m68k/ctix.h, config/m68k/dpx2.h,
config/m68k/dpx2.ifile, config/m68k/dpx2cdbx.h, config/m68k/dpx2g.h,
config/m68k/isi-nfp.h, config/m68k/isi.h, config/m68k/lynx-ng.h,
config/m68k/lynx.h, config/m68k/math-3300.h, config/m68k/news.h,
config/m68k/news3.h, config/m68k/news3gas.h, config/m68k/newsgas.h,
config/m68k/next.h, config/m68k/next21.h, config/m68k/rtems.h,
config/m68k/t-aux, config/m68k/t-lynx, config/m68k/t-next,
config/m68k/x-next, config/m88k/dgux.h, config/m88k/dgux.ld,
config/m88k/dguxbcs.h, config/m88k/dolph.h, config/m88k/dolphin.ld,
config/m88k/luna.h, config/m88k/m88k-coff.h, config/m88k/sysv3.h,
config/m88k/t-bug, config/m88k/t-dgux, config/m88k/t-dgux-gas,
config/m88k/t-dguxbcs, config/m88k/t-dolph, config/m88k/t-m88k-gas,
config/m88k/t-tekXD88, config/m88k/tekXD88.h, config/m88k/tekXD88.ld,
config/mips/bsd-4.h, config/mips/bsd-5.h, config/mips/dec-bsd.h,
config/mips/dec-osf1.h, config/mips/elflorion.h,
config/mips/iris4loser.h, config/mips/mips-5.h, config/mips/news4.h,
config/mips/news5.h, config/mips/nws3250v4.h, config/mips/osfrose.h,
config/mips/svr3-4.h, config/mips/svr3-5.h, config/mips/svr4-4.h,
config/mips/svr4-5.h, config/mips/svr4-t.h, config/mips/t-bsd,
config/mips/t-bsd-gas, config/mips/t-svr3, config/mips/t-svr3-gas,
config/mips/t-svr4, config/mips/t-svr4-gas, config/mips/t-ultrix,
config/mips/ultrix.h, config/nextstep-protos.h, config/nextstep.c,
config/nextstep.h, config/nextstep21.h, config/ns32k/encore.h,
config/ns32k/merlin.h, config/ns32k/pc532-mach.h,
config/ns32k/pc532-min.h, config/ns32k/pc532.h,
config/ns32k/sequent.h, config/ns32k/tek6000.h,
config/ns32k/tek6100.h, config/ns32k/tek6200.h, config/pj/lib1funcs.S,
config/pj/linux.h, config/pj/pj-protos.h, config/pj/pj.c,
config/pj/pj.h, config/pj/pj.md, config/pj/pjl.h, config/pj/t-pj,
config/sparc/rtems.h, config/we32k/we32k-protos.h,
config/we32k/we32k.c, config/we32k/we32k.h, config/we32k/we32k.md:
Delete file.
From-SVN: r53862
2002-05-25 04:10:46 +02:00
|
|
|
system, and using it to compile a more recent GCC, to avoid bugs in the
|
|
|
|
vendor compiler. Old releases of GCC 1 and GCC 2 are available in the
|
|
|
|
@file{old-releases} directory on the @uref{../mirrors.html,,GCC mirror
|
|
|
|
sites}. Header bugs may generally be avoided using
|
|
|
|
@command{fixincludes}, but bugs or deficiencies in libraries and the
|
|
|
|
operating system may still cause problems.
|
|
|
|
|
|
|
|
Support for older systems as targets for cross-compilation is less
|
|
|
|
problematic than support for them as hosts for GCC; if an enthusiast
|
|
|
|
wishes to make such a target work again (including resurrecting any of
|
2006-04-05 07:21:32 +02:00
|
|
|
the targets that never worked with GCC 2, starting from the last
|
config.gcc: Remove all stanzas for previously obsoleted systems.
* config.gcc: Remove all stanzas for previously obsoleted
systems. Where necessary, add explicit error stanzas to
prevent removed systems from being misidentified as something
else. Begin a fresh obsoletions list, with the systems that
were reprieved last round.
* doc/install.texi: Remove all mention of dead targets.
* fixinc/mkfixinc.sh: Likewise.
* config/arm/arm.h: Bit 31 of target_flags is no longer
reserved.
* config/1750a/1750a-protos.h, config/1750a/1750a.c,
config/1750a/1750a.h, config/1750a/1750a.md, config/1750a/ms1750.inc,
config/a29k/a29k-protos.h, config/a29k/a29k.c, config/a29k/a29k.h,
config/a29k/a29k.md, config/a29k/rtems.h, config/a29k/t-a29kbare,
config/a29k/t-vx29k, config/a29k/unix.h, config/a29k/vx29k.h,
config/alpha/osf12.h, config/alpha/osf2or3.h,
config/arm/arm-wince-pe.h, config/arm/arm.h, config/arm/riscix.h,
config/arm/riscix1-1.h, config/arm/rix-gas.h, config/arm/t-riscix,
config/clipper/clipper-protos.h, config/clipper/clipper.c,
config/clipper/clipper.h, config/clipper/clipper.md,
config/clipper/clix.h, config/convex/convex-protos.h,
config/convex/convex.c, config/convex/convex.h,
config/convex/convex.md, config/convex/fixinc.convex,
config/convex/proto.h, config/elxsi/elxsi-protos.h,
config/elxsi/elxsi.c, config/elxsi/elxsi.h, config/elxsi/elxsi.md,
config/i386/386bsd.h, config/i386/aix386.h, config/i386/aix386ng.h,
config/i386/bsd386.h, config/i386/dgux.h, config/i386/djgpp-rtems.h,
config/i386/isc.h, config/i386/iscdbx.h, config/i386/linux-oldld.h,
config/i386/next.h, config/i386/osf1-ci.asm, config/i386/osf1-cn.asm,
config/i386/osf1elf.h, config/i386/osf1elfgdb.h, config/i386/osfelf.h,
config/i386/osfrose.h, config/i386/rtems.h, config/i386/seq-gas.h,
config/i386/seq-sysv3.h, config/i386/seq2-sysv3.h,
config/i386/sequent.h, config/i386/sun.h, config/i386/sun386.h,
config/i386/t-dgux, config/i386/t-next, config/i386/t-osf,
config/i386/t-osf1elf, config/i860/bsd-gas.h, config/i860/bsd.h,
config/i860/fx2800.h, config/i860/i860-protos.h, config/i860/i860.c,
config/i860/i860.h, config/i860/i860.md, config/i860/mach.h,
config/i860/paragon.h, config/i860/sysv3.h, config/i860/sysv4.h,
config/i860/t-fx2800, config/i860/varargs.asm, config/m68k/a-ux.h,
config/m68k/altos3068.h, config/m68k/apollo68.h,
config/m68k/aux-crt1.c, config/m68k/aux-crt2.asm,
config/m68k/aux-crtn.asm, config/m68k/aux-exit.c,
config/m68k/aux-low.gld, config/m68k/aux-mcount.c,
config/m68k/auxas.h, config/m68k/auxgas.h, config/m68k/auxgld.h,
config/m68k/auxld.h, config/m68k/ctix.h, config/m68k/dpx2.h,
config/m68k/dpx2.ifile, config/m68k/dpx2cdbx.h, config/m68k/dpx2g.h,
config/m68k/isi-nfp.h, config/m68k/isi.h, config/m68k/lynx-ng.h,
config/m68k/lynx.h, config/m68k/math-3300.h, config/m68k/news.h,
config/m68k/news3.h, config/m68k/news3gas.h, config/m68k/newsgas.h,
config/m68k/next.h, config/m68k/next21.h, config/m68k/rtems.h,
config/m68k/t-aux, config/m68k/t-lynx, config/m68k/t-next,
config/m68k/x-next, config/m88k/dgux.h, config/m88k/dgux.ld,
config/m88k/dguxbcs.h, config/m88k/dolph.h, config/m88k/dolphin.ld,
config/m88k/luna.h, config/m88k/m88k-coff.h, config/m88k/sysv3.h,
config/m88k/t-bug, config/m88k/t-dgux, config/m88k/t-dgux-gas,
config/m88k/t-dguxbcs, config/m88k/t-dolph, config/m88k/t-m88k-gas,
config/m88k/t-tekXD88, config/m88k/tekXD88.h, config/m88k/tekXD88.ld,
config/mips/bsd-4.h, config/mips/bsd-5.h, config/mips/dec-bsd.h,
config/mips/dec-osf1.h, config/mips/elflorion.h,
config/mips/iris4loser.h, config/mips/mips-5.h, config/mips/news4.h,
config/mips/news5.h, config/mips/nws3250v4.h, config/mips/osfrose.h,
config/mips/svr3-4.h, config/mips/svr3-5.h, config/mips/svr4-4.h,
config/mips/svr4-5.h, config/mips/svr4-t.h, config/mips/t-bsd,
config/mips/t-bsd-gas, config/mips/t-svr3, config/mips/t-svr3-gas,
config/mips/t-svr4, config/mips/t-svr4-gas, config/mips/t-ultrix,
config/mips/ultrix.h, config/nextstep-protos.h, config/nextstep.c,
config/nextstep.h, config/nextstep21.h, config/ns32k/encore.h,
config/ns32k/merlin.h, config/ns32k/pc532-mach.h,
config/ns32k/pc532-min.h, config/ns32k/pc532.h,
config/ns32k/sequent.h, config/ns32k/tek6000.h,
config/ns32k/tek6100.h, config/ns32k/tek6200.h, config/pj/lib1funcs.S,
config/pj/linux.h, config/pj/pj-protos.h, config/pj/pj.c,
config/pj/pj.h, config/pj/pj.md, config/pj/pjl.h, config/pj/t-pj,
config/sparc/rtems.h, config/we32k/we32k-protos.h,
config/we32k/we32k.c, config/we32k/we32k.h, config/we32k/we32k.md:
Delete file.
From-SVN: r53862
2002-05-25 04:10:46 +02:00
|
|
|
version before they were removed), patches
|
|
|
|
@uref{../contribute.html,,following the usual requirements} would be
|
|
|
|
likely to be accepted, since they should not affect the support for more
|
|
|
|
modern targets.
|
2001-06-27 01:23:32 +02:00
|
|
|
|
|
|
|
For some systems, old versions of GNU binutils may also be useful,
|
install.texi (Specific): Markup, spelling and typo fixes.
* doc/install.texi (Specific): Markup, spelling and typo fixes.
Fixed sorting.
Consistently require binutils 2.11.2, not prereleases.
(Specific, decstation-*): Canonicalize as mips-dec-*.
(Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
always necessary.
(Specific, m68k-altos): Removed reference to README.altos, deleted.
(Specific, mips-*): Reword MIPS C compiler requirements.
(Specific, powerpc*-*-*): New, mention --with-cpu once.
(Specific, sunv5): Removed, obsolete.
From-SVN: r43779
2001-07-05 15:10:59 +02:00
|
|
|
and are available from @file{pub/binutils/old-releases} on
|
2007-01-17 21:10:57 +01:00
|
|
|
@uref{http://sourceware.org/mirrors.html,,sourceware.org mirror sites}.
|
2001-06-27 01:23:32 +02:00
|
|
|
|
|
|
|
Some of the information on specific systems above relates to
|
|
|
|
such older systems, but much of the information
|
|
|
|
about GCC on such systems (which may no longer be applicable to
|
2001-05-12 00:10:54 +02:00
|
|
|
current GCC) is to be found in the GCC texinfo manual.
|
2001-06-27 01:23:32 +02:00
|
|
|
|
2001-05-12 00:10:54 +02:00
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-05-12 00:10:54 +02:00
|
|
|
@end html
|
2005-05-01 15:39:37 +02:00
|
|
|
@heading @anchor{elf}all ELF targets (SVR4, Solaris 2, etc.)
|
2001-05-12 00:10:54 +02:00
|
|
|
|
2001-06-01 20:08:19 +02:00
|
|
|
C++ support is significantly better on ELF targets if you use the
|
|
|
|
@uref{./configure.html#with-gnu-ld,,GNU linker}; duplicate copies of
|
|
|
|
inlines, vtables and template instantiations will be discarded
|
|
|
|
automatically.
|
2001-05-12 00:10:54 +02:00
|
|
|
|
|
|
|
|
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-05-12 00:10:54 +02:00
|
|
|
<p>
|
|
|
|
@end html
|
|
|
|
@ifhtml
|
|
|
|
@uref{./index.html,,Return to the GCC Installation page}
|
|
|
|
@end ifhtml
|
|
|
|
@end ifset
|
|
|
|
|
2001-12-07 17:57:28 +01:00
|
|
|
@c ***Old documentation******************************************************
|
|
|
|
@ifset oldhtml
|
|
|
|
@include install-old.texi
|
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-12-07 17:57:28 +01:00
|
|
|
<p>
|
|
|
|
@end html
|
|
|
|
@ifhtml
|
|
|
|
@uref{./index.html,,Return to the GCC Installation page}
|
|
|
|
@end ifhtml
|
|
|
|
@end ifset
|
|
|
|
|
2001-12-04 10:21:56 +01:00
|
|
|
@c ***GFDL********************************************************************
|
|
|
|
@ifset gfdlhtml
|
|
|
|
@include fdl.texi
|
|
|
|
@html
|
2002-10-15 17:52:33 +02:00
|
|
|
<hr />
|
2001-12-04 10:21:56 +01:00
|
|
|
<p>
|
|
|
|
@end html
|
|
|
|
@ifhtml
|
|
|
|
@uref{./index.html,,Return to the GCC Installation page}
|
|
|
|
@end ifhtml
|
|
|
|
@end ifset
|
|
|
|
|
2001-05-12 00:10:54 +02:00
|
|
|
@c ***************************************************************************
|
|
|
|
@c Part 6 The End of the Document
|
|
|
|
@ifinfo
|
|
|
|
@comment node-name, next, previous, up
|
2001-12-04 10:21:56 +01:00
|
|
|
@node Concept Index, , GNU Free Documentation License, Top
|
2001-05-12 00:10:54 +02:00
|
|
|
@end ifinfo
|
|
|
|
|
|
|
|
@ifinfo
|
|
|
|
@unnumbered Concept Index
|
|
|
|
|
|
|
|
@printindex cp
|
|
|
|
|
|
|
|
@contents
|
|
|
|
@end ifinfo
|
|
|
|
@bye
|