GCC47 was marked NOT-FOR-DRAGONFLY, so support has been added. * DragonFly-specific files added via patch mechanism * Some existing patches modified to add DragonFly configuration items * dl_iterate_phdr error handling support added (FreeBSD support was altered, NetBSD and OpenBSD support is commented out) * The java language is taken off as a default option On the i386 platform, the compiler will build from a full bootstrap, but one of the later stages fails on x86_64. It fails to find libstdc++.so.6 even though the previous stage library was built and -B, -L flags point to it. The cause of the platform-specific build failure isn't clear -- The workaround is to disable the bootstrap on DragonFly so that the compiler is built in one stage instead of three. This workaround could have been limited to the x86_64-DragonFly platform only, but currently is applied to i386-DragonFly too.
70 lines
1.5 KiB
Text
70 lines
1.5 KiB
Text
$NetBSD: patch-gcc_config_dragonfly.opt,v 1.1 2012/06/23 22:13:02 marino Exp $
|
|
|
|
--- gcc/config/dragonfly.opt.orig 2012-06-22 10:35:29.000000000 +0000
|
|
+++ gcc/config/dragonfly.opt
|
|
@@ -0,0 +1,65 @@
|
|
+; DragonFlyBSD options.
|
|
+
|
|
+; Copyright (C) 2010, 2011
|
|
+; Free Software Foundation, Inc.
|
|
+;
|
|
+; This file is part of GCC.
|
|
+;
|
|
+; GCC is free software; you can redistribute it and/or modify it under
|
|
+; the terms of the GNU General Public License as published by the Free
|
|
+; Software Foundation; either version 3, or (at your option) any later
|
|
+; version.
|
|
+;
|
|
+; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
+; WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
+; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
+; for more details.
|
|
+;
|
|
+; You should have received a copy of the GNU General Public License
|
|
+; along with GCC; see the file COPYING3. If not see
|
|
+; <http://www.gnu.org/licenses/>.
|
|
+
|
|
+; See the GCC internals manual (options.texi) for a description of this file's format.
|
|
+
|
|
+; Please try to keep this file in ASCII collating order.
|
|
+
|
|
+assert
|
|
+Driver Separate
|
|
+
|
|
+assert=
|
|
+Driver JoinedOrMissing
|
|
+
|
|
+defsym
|
|
+Driver Separate
|
|
+
|
|
+defsym=
|
|
+Driver JoinedOrMissing
|
|
+
|
|
+posix
|
|
+Driver
|
|
+
|
|
+profile
|
|
+Driver
|
|
+
|
|
+pthread
|
|
+Driver
|
|
+
|
|
+rdynamic
|
|
+Driver
|
|
+
|
|
+rpath-link
|
|
+Driver Separate
|
|
+
|
|
+rpath-link=
|
|
+Driver JoinedOrMissing
|
|
+
|
|
+rpath=
|
|
+Driver JoinedOrMissing
|
|
+
|
|
+soname
|
|
+Driver Separate
|
|
+
|
|
+soname=
|
|
+Driver JoinedOrMissing
|
|
+
|
|
+; This comment is to ensure we retain the blank line above.
|