From patchwork Sun Jun 20 20:47:47 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerald Pfeifer X-Patchwork-Id: 56275 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id C35FA1007D1 for ; Mon, 21 Jun 2010 06:47:56 +1000 (EST) Received: (qmail 18637 invoked by alias); 20 Jun 2010 20:47:54 -0000 Received: (qmail 18627 invoked by uid 22791); 20 Jun 2010 20:47:54 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from vexpert.dbai.tuwien.ac.at (HELO vexpert.dbai.tuwien.ac.at) (128.131.111.2) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 20 Jun 2010 20:47:48 +0000 Received: from acrux.dbai.tuwien.ac.at (acrux.dbai.tuwien.ac.at [128.131.111.60]) by vexpert.dbai.tuwien.ac.at (Postfix) with ESMTP id 5CF1A1E057; Sun, 20 Jun 2010 22:47:43 +0200 (CEST) Received: by acrux.dbai.tuwien.ac.at (Postfix, from userid 1203) id 1AAD31604A; Sun, 20 Jun 2010 22:47:48 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by acrux.dbai.tuwien.ac.at (Postfix) with ESMTP id 0A16816048; Sun, 20 Jun 2010 22:47:48 +0200 (CEST) Date: Sun, 20 Jun 2010 22:47:47 +0200 (CEST) From: Gerald Pfeifer To: gcc-patches@gcc.gnu.org, Loren James Rittle Subject: [doc] update install.texi wrt. FreeBSD Message-ID: User-Agent: Alpine 1.99 (LSU 1142 2008-08-13) MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org The doc patch below follows some of the changes to the compiler that I backport recently and adjusts the flow a bit. I have not installed this yet to give Loren a couple of days to comment. Gerald 2010-06-20 Gerald Pfeifer * doc/install.texi (Specific, *-*-freebsd*): Adjust to recent changes. Streamline paragraph on compatibility with the system compiler. Index: doc/install.texi =================================================================== --- doc/install.texi (revision 161051) +++ doc/install.texi (working copy) @@ -3207,12 +3207,13 @@ FreeBSD 2 (and any mutant a.out variants of FreeBSD 3) was discontinued in GCC 4.0. -In GCC 4.5, we enabled the use of @code{dl_iterate_phdr} inside boehm-gc on -FreeBSD 7 or later. In order to better match the configuration of the -FreeBSD system compiler: We also enabled the check to see if libc -provides SSP support (which it does on FreeBSD 7), the use of -@code{dl_iterate_phdr} inside @file{libgcc_s.so.1} (on FreeBSD 7 or later) -and the use of @code{__cxa_atexit} by default (on FreeBSD 6 or later). +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 enable +by GCC 4.5 and above. We support FreeBSD using the ELF file format with DWARF 2 debugging for all CPU architectures. You may use @option{-gstabs} instead of