|
From: Frank M. <fm...@sl...> - 2009-09-11 22:06:10
|
Hi Radim,
First of all, thanks a bunch for your help. The sources i try to compile are the ones in
fsp-2.8.1b24. I have a dedicated cross-toolchain that generates output for a powerpc architecture,
here is what I get (CROSS_COMPILE being ppc_6xx-):
./configure CC=${CROSS_COMPILE}gcc CPP=${CROSS_COMPILE}gcc --host=powerpc
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 for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for powerpc-strip... no
checking for strip... strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... powerpc-unknown-none
checking if bulding for DYNIX/ptx... no
checking if building for Solaris 2.x... no
checking if building for Cygwin... no
checking if we are building lamer pack... NO
checking if enabling of extra debug code is requested... no
checking If client commands can time out... yes
checking for powerpc-ranlib... no
checking for ranlib... ranlib
checking for style of include used by make... GNU
checking for powerpc-gcc... ppc_6xx-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether ppc_6xx-gcc accepts -g... yes
checking for ppc_6xx-gcc option to accept ANSI C... none needed
checking dependency style of ppc_6xx-gcc... gcc3
checking for flex... no
checking for lex... no
checking for yywrap in -lfl... no
checking for yywrap in -ll... no
checking whether ln -s works... yes
checking for powerpc-gcc... (cached) ppc_6xx-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether ppc_6xx-gcc accepts -g... (cached) yes
checking for ppc_6xx-gcc option to accept ANSI C... (cached) none needed
checking dependency style of ppc_6xx-gcc... (cached) gcc3
checking for additional compiler options... -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wfloat-equal -Wpointer-arith -Wno-system-headers -Wredundant-decls -Wmissing-noreturn -pedantic -Wlong-long -Wundef -Winline -Wno-unused-parameter
checking how to run the C preprocessor... ppc_6xx-gcc
configure: error: C preprocessor "ppc_6xx-gcc" fails sanity check
See `config.log' for more details.
-----Original Message-----
From: Radim Kolar [mailto:hs...@se...]
Sent: Fri 9/11/2009 11:25 AM
To: FSP developers mailing list
Subject: Re: [Fsp-devel] cross-compile fsp for power pc
what FSP version are you trying to compile? Can you post buildlog?
I have no experience with cross-compiling, you need to add some special
switches to gcc? Can you give me an example how to crosscompile simple C
program?
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Fsp-devel mailing list
Fsp...@li...
https://lists.sourceforge.net/lists/listinfo/fsp-devel
|