Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 510400 | Differences between
and this patch

Collapse All | Expand All

(-)gcc-4.9.4/gcc/config.gcc.back (+24 lines)
Lines 1362-1367 Link Here
1362
	;;
1362
	;;
1363
x86_64-*-freebsd*)
1363
x86_64-*-freebsd*)
1364
	tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/x86-64.h i386/freebsd.h i386/freebsd64.h"
1364
	tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/x86-64.h i386/freebsd.h i386/freebsd64.h"
1365
	tmake_file="${tmake_file} i386/t-freebsd64"
1366
	x86_multilibs="${with_multilib_list}"
1367
	if test "$x86_multilibs" = "default"; then
1368
		case ${with_abi} in
1369
#		x32 | mx32)
1370
#			x86_multilibs="mx32"
1371
#			;;
1372
		*)
1373
			x86_multilibs="m64,m32"
1374
			;;
1375
		esac
1376
	fi
1377
	x86_multilibs=`echo $x86_multilibs | sed -e 's/,/ /g'`
1378
	for x86_multilib in ${x86_multilibs}; do
1379
		case ${x86_multilib} in
1380
		m32 | m64)
1381
			TM_MULTILIB_CONFIG="${TM_MULTILIB_CONFIG},${x86_multilib}"
1382
			;;
1383
		*)
1384
			echo "--with-multilib-list=${x86_with_multilib} not supported."
1385
			exit 1
1386
		esac
1387
	done
1388
	TM_MULTILIB_CONFIG=`echo $TM_MULTILIB_CONFIG | sed 's/^,//'`
1365
	;;
1389
	;;
1366
i[34567]86-*-netbsdelf*)
1390
i[34567]86-*-netbsdelf*)
1367
	tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/netbsd-elf.h"
1391
	tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/netbsd-elf.h"
(-) (+33 lines)
Added Link Here
1
# Copyright (C) 2002-2014 Free Software Foundation, Inc.
2
#
3
# This file is part of GCC.
4
#
5
# GCC is free software; you can redistribute it and/or modify
6
# it under the terms of the GNU General Public License as published by
7
# the Free Software Foundation; either version 3, or (at your option)
8
# any later version.
9
#
10
# GCC is distributed in the hope that it will be useful,
11
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
# GNU General Public License for more details.
14
#
15
# You should have received a copy of the GNU General Public License
16
# along with GCC; see the file COPYING3.  If not see
17
# <http://www.gnu.org/licenses/>.
18
19
# On FreeBSD 64bit the 32bit libraries are found in /lib32 and /usr/lib32,
20
# 64bit libraries are found in /lib and /usr/lib
21
# Set MULTILIB_OSDIRNAMES according to what is found on the target.
22
23
# To support i386 and x86-64, the directory structure
24
# should be:
25
#
26
# 	/lib32 has i386 libraries.
27
# 	/lib has x86-64 libraries.
28
#
29
comma=,
30
MULTILIB_OPTIONS    = $(subst $(comma),/,$(TM_MULTILIB_CONFIG))
31
MULTILIB_DIRNAMES   = $(patsubst m%, %, $(subst /, ,$(MULTILIB_OPTIONS)))
32
MULTILIB_OSDIRNAMES = m64=../lib
33
MULTILIB_OSDIRNAMES+= m32=../lib32

Return to bug 510400