mirror of
https://git.freebsd.org/ports.git
synced 2025-06-25 06:30:29 -04:00
FSF gcc for cross-target development. This port brings C, C++ and Objective C compillers with all target libraries (libstdc++, libsupc++, libobjc, libssp, libgcc). Gloss and libc layer are provided through newlib embedded C library. It can be used to cross-compile operating system kernels (e.g. Linux, L4, etc) for this architecture. WWW: http://gcc.gnu.org/
29 lines
1.7 KiB
Text
29 lines
1.7 KiB
Text
--- configure.orig Mon May 14 07:19:11 2007
|
|
+++ configure Thu Jun 21 21:53:48 2007
|
|
@@ -3321,7 +3321,7 @@
|
|
# For the build-side libraries, we just need to pretend we're native,
|
|
# and not use the same cache file. Multilibs are neither needed nor
|
|
# desired.
|
|
-build_configargs="--cache-file=../config.cache --build=${build_alias} --host=${build_alias} --target=${target_alias} ${baseargs}"
|
|
+build_configargs="--build=${build_alias} --host=${build_alias} --target=${target_alias} ${baseargs}"
|
|
|
|
# For host modules, accept cache file option, or specification as blank.
|
|
case "${cache_file}" in
|
|
@@ -3371,7 +3371,7 @@
|
|
# Pass the appropriate --build, --host, --target and --cache-file arguments.
|
|
# We need to pass --target, as newer autoconf's requires consistency
|
|
# for target_alias and gcc doesn't manage it consistently.
|
|
-target_configargs="--cache-file=./config.cache --build=${build_alias} --host=${target_alias} --target=${target_alias} ${target_configargs}"
|
|
+target_configargs="--build=${build_alias} --host=${target_alias} --target=${target_alias} ${target_configargs}"
|
|
|
|
FLAGS_FOR_TARGET=
|
|
case " $target_configdirs " in
|
|
@@ -3439,7 +3439,7 @@
|
|
# being built; programs in there won't even run.
|
|
if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
|
|
# Search for pre-installed headers if nothing else fits.
|
|
- FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
|
|
+ FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $$r/$(HOST_SUBDIR)/gcc -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
|
|
fi
|
|
|
|
if test "x${use_gnu_ld}" = x &&
|