Subject: Building current doing cross-compile?
To: None <netbsd-users@netbsd.org>
From: Alex <AlexSorg@gmx.de>
List: netbsd-users
Date: 09/25/2003 14:32:25
Hello,
while making progress compiling the tools to be finally able to build
current' I detect, that the build
process seems to make a cross-compilation. I've seen the line
Links are now set up to build a cross-compiler for i386--netbsdelf
from i386-unknown-netbsdelf1.6.1..
printed out and the compiler using -DCROSS_COMPILE, here's an example:
cc -c -DCROSS_COMPILE -DIN_GCC -O -W -Wall -I. -I..
-I/storage/usr/src/tools/toolchain/../../gnu/dist/toolchain/gcc/f
-I/storage/usr/src/tools/toolchain/../../gnu/dist/toolchain/gcc/f/..
-I/storage/usr/src/tools/toolchain/../../gnu/dist/toolchain/gcc/f/../config
-I/storage/usr/src/tools/toolchain/../../gnu/dist/toolchain/gcc/f/../../include
/storage/usr/src/tools/toolchain/../../gnu/dist/toolchain/gcc/f/str.c
Is that correct, or are the arguments to build.sh wrong? I thought, that
when compiling on NetBSD the
script automatically get's the idea of doing a build on a native machine.
Kind regards,
Alex.