[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
More build oddities
- Date: Mon, 07 Apr 2008 07:29:25 +0200
- From: ralf.corsepius at rtems.org (Ralf Corsepius)
- Subject: More build oddities
On Mon, 2008-04-07 at 15:47 +1200, Nigel Spon wrote:
> I'm trying to use scripts to build RTEMS under MacOS X, but I'm having
> persistent difficulties with the PATH variable. I may be being over-
> optimistic, but I thought I could avoid the nasty detail of having to
> put the path to the RTEMS tools into my global .tcshrc file, by
> invoking make from a script, like this:
> export PATH
> cd b-rtems
> make RTEMS_BSP="$BSP"
> make RTEMS_BSP="$BSP" install
> This fails. The log file says:
> checking for style of include used by make... GNU
> checking for powerpc-rtems4.8-gcc... /Developer/usr/bin/cc
> checking for powerpc-rtems4.8-gcc... (cached) /Developer/usr/bin/cc
> checking for C compiler default output file name...
> configure: error: C compiler cannot create executables
> See `config.log' for more details.
> - which I presume means that it didn't find the cross-compiler.
Probably, but cf. below. The causes can be manifold.
> really strange thing is that the Platform section in config.log
> appears to show that the path is just fine:
> PATH: /Developer/usr/bin
> PATH: /usr/bin
> PATH: /bin
> PATH: /usr/sbin
> PATH: /sbin
> PATH: /Users/frederickspon/Documents/RTEMSX_4.8/RTEMS_Xcode/Build~~/bin
> The last entry is the right path to the build directory, and powerpc-
> rtems4.8-gcc is there.
> I'm not sure what else to try here, can anyone suggest what I could do
> to further debug this? Are there switches that will get it to log
> exactly what it looked at in trying to find powerpc-rtems4.8-gcc?
You need to look into the config.log which fails.
Unfortunately, you cut out the corresponding line (similar to
"configuring in <directory> ") from the log above to be able to help