More build oddities
ralf.corsepius at rtems.org
Wed Apr 9 22:36:49 CDT 2008
On Thu, 2008-04-10 at 13:52 +1200, Nigel Spon wrote:
> On 08/04/2008, at 2:19 PM, Angelo Fraietta wrote:
> >>> On Mac OS X (Darwin) you'll have to use the command:
> >>> make -w "CC=cc -no-cpp-precomp" all install
> >>> Let me know how you go
> >> Pardon, but what you write above would indicate that OSX's gcc
> >> would be
> >> completely bugged.
> >> Ralf
> > That may very well be true - I don't know because that is not my
> > area of expertise. I was unable to make OSX work until Eric Norum
> > showed me that.
> Completely bugged or not, I'm afraid it doesn't help. I get much the
> same thing:
> configure: creating make/virtex.cache
> checking for RTEMS_CPU_MODEL... ppc405
> checking for RTEMS_BSP_FAMILY... (cached) virtex
> checking for CPU_CFLAGS... (cached) -mcpu=403 -Dppc405 -Dvirtex
> checking for CFLAGS_OPTIMIZE_V... (cached) -O2 -g -fno-keep-inline-
> checking for style of include used by make... GNU
> checking for powerpc-rtems4.8-gcc... cc -no-cpp-precomp
> checking for powerpc-rtems4.8-gcc... (cached) cc -no-cpp-precomp
Have a look at this^^^^^^^^^^^^^^^
The configure script doesn't find your cross-compiler
One of the causes is you setting CC="cc -no-cpp-precomp"
> checking for C compiler default output file name...
> configure: error: C compiler cannot create executables
> See `config.log' for more details.
Would you please do as the configure script tells you?
More information about the rtems-users