Hmm, I just tried ./configure-ing. I have my powerpc-linux crosscompiler tools as powerpc-linux-{gcc, ld, ar, objcopy, etc}. It seems the configuration utility makes no distinction between compiler toolchain to make system utilities and compiler chain to make bootable executables. Naturally, this being OS X, the powerpc-linux-gcc is a simple bootstrap compiler and cannot make "normal" executables (not that Linux PowerPC-ELF would be of any use on OS X). ./configure --host powerpc-linux resulted in - configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking build system type... powerpc-apple-darwin8.3.0 checking host system type... powerpc-unknown-linux-gnu checking for powerpc-linux-gcc... powerpc-linux-gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. With config log: hostname = Uruz.local uname -m = Power Macintosh uname -r = 8.3.0 uname -s = Darwin uname -v = Darwin Kernel Version 8.3.0: Mon Oct 3 20:04:04 PDT 2005; root:xnu-792.6.22.obj~2/RELEASE_PPC /usr/bin/uname -p = powerpc /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = Mach kernel version: Darwin Kernel Version 8.3.0: Mon Oct 3 20:04:04 PDT 2005; root:xnu-792.6.22.obj~2/RELEASE_PPC Kernel configured for a single processor only. 1 processor is physically available. Processor type: ppc7450 (PowerPC 7450) Processor active: 0 Primary memory available: 512.00 megabytes Default processor set: 58 tasks, 181 threads, 1 processors Load average: 1.73, Mach factor: 0.45 /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: . PATH: /sw/bin PATH: /sw/sbin PATH: /Users/andreywarkentin/crossdev/i686-linux/bin PATH: /Users/andreywarkentin/crossdev/powerpc-linux/bin PATH: /bin PATH: /sbin PATH: /usr/bin PATH: /usr/sbin PATH: /usr/X11R6/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1348: checking build system type configure:1366: result: powerpc-apple-darwin8.3.0 configure:1374: checking host system type configure:1388: result: powerpc-unknown-linux-gnu configure:1432: checking for powerpc-linux-gcc configure:1448: found /Users/andreywarkentin/crossdev/powerpc-linux/bin/powerpc-linux-gcc configure:1458: result: powerpc-linux-gcc configure:1740: checking for C compiler version configure:1743: powerpc-linux-gcc --version </dev/null >&5 powerpc-linux-gcc (GCC) 4.0.2 Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:1746: $? = 0 configure:1748: powerpc-linux-gcc -v </dev/null >&5 Using built-in specs. Target: powerpc-linux Configured with: ../gcc-4.0.2/configure --target=powerpc-linux --prefix=/Users/andreywarkentin/crossdev/powerpc-linux --disable-shared --disable-threads --enable-languages=c,c++ --with-newlib Thread model: single gcc version 4.0.2 configure:1751: $? = 0 configure:1753: powerpc-linux-gcc -V </dev/null >&5 powerpc-linux-gcc: '-V' option must have argument configure:1756: $? = 1 configure:1779: checking for C compiler default output file name configure:1782: powerpc-linux-gcc conftest.c >&5 /Users/andreywarkentin/crossdev/powerpc-linux/lib/gcc/powerpc-linux/4.0.2/../../../../powerpc-linux/bin/ld: crt1.o: No such file: No such file or directory collect2: ld returned 1 exit status configure:1785: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "GRUB" | #define PACKAGE_TARNAME "grub" | #define PACKAGE_VERSION "1.91" | #define PACKAGE_STRING "GRUB 1.91" | #define PACKAGE_BUGREPORT "bug-grub@gnu.org" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:1824: error: C compiler cannot create executables See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=powerpc-apple-darwin8.3.0 ac_cv_build_alias=powerpc-apple-darwin8.3.0 ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=powerpc-linux ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=powerpc-unknown-linux-gnu ac_cv_host_alias=powerpc-linux ac_cv_prog_CC=powerpc-linux-gcc ## ----------------- ## ## Output variables. ## ## ----------------- ## BUILD_CC='' CC='powerpc-linux-gcc' CFLAGS='' CPP='' CPPFLAGS='' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' INSTALL_DATA='' INSTALL_PROGRAM='' INSTALL_SCRIPT='' LD='' LDFLAGS='' LIBCURSES='' LIBLZO='' LIBOBJS='' LIBS='' LTLIBOBJS='' NM='' OBJCOPY='' OBJEXT='' PACKAGE_BUGREPORT='bug-grub@gnu.org' PACKAGE_NAME='GRUB' PACKAGE_STRING='GRUB 1.91' PACKAGE_TARNAME='grub' PACKAGE_VERSION='1.91' PATH_SEPARATOR=':' RUBY='' SET_MAKE='' SHELL='/bin/sh' STRIP='' YACC='' ac_ct_CC='' ac_ct_LD='' ac_ct_NM='' ac_ct_OBJCOPY='' ac_ct_STRIP='' bindir='${exec_prefix}/bin' build='powerpc-apple-darwin8.3.0' build_alias='' build_cpu='powerpc' build_os='darwin8.3.0' build_vendor='apple' datadir='${prefix}/share' exec_prefix='NONE' host='powerpc-unknown-linux-gnu' host_alias='powerpc-linux' host_cpu='powerpc' host_os='linux-gnu' host_vendor='ieee1275' includedir='${prefix}/include' infodir='${prefix}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='${prefix}/man' oldincludedir='/usr/include' prefix='NONE' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_BUGREPORT "bug-grub@gnu.org" #define PACKAGE_NAME "GRUB" #define PACKAGE_STRING "GRUB 1.91" #define PACKAGE_TARNAME "grub" #define PACKAGE_VERSION "1.91" configure: exit 77 On Dec 8, 2005, at 2:14 PM, Marco Gerards wrote:
|
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel