* v850 simulator build issue
@ 2014-05-15 14:18 Joel Sherrill
2014-05-15 15:35 ` Ralf Corsepius
2014-08-02 15:47 ` Mike Frysinger
0 siblings, 2 replies; 3+ messages in thread
From: Joel Sherrill @ 2014-05-15 14:18 UTC (permalink / raw)
To: gdb, Chris Johns
Hi
We have a build failure for the v850 simulator on a FreeBSD
host to run on mingw because igen/configure.ac does this
$ grep gcc * | grep -v ure:
configure.ac: CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
There is no gcc on FreeBSD 10
gcc -O2 -pipe -fbracket-depth=1024 -I/mnt/data0/chrisj/rtems/rsb/rtems-source-builder.master/rtems/build/tmp/sb-chrisj/4.11/rtems-v850.bset/opt/rtems/4.11/include -Wall -Wdeclaration-after-statement -Wpointer-arith -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wformat-nonliteral -I. -I../../../gdb-7.7/sim/igen -I../../../gdb-7.7/sim/igen/../../include -c ../../../gdb-7.7/sim/igen/igen.c
gmake[4]: gcc: Command not found
Any suggestion on the correct modification to pick up
either cc or gcc?
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: v850 simulator build issue
2014-05-15 14:18 v850 simulator build issue Joel Sherrill
@ 2014-05-15 15:35 ` Ralf Corsepius
2014-08-02 15:47 ` Mike Frysinger
1 sibling, 0 replies; 3+ messages in thread
From: Ralf Corsepius @ 2014-05-15 15:35 UTC (permalink / raw)
To: gdb
On 05/15/2014 04:18 PM, Joel Sherrill wrote:
> Hi
>
> We have a build failure for the v850 simulator on a FreeBSD
> host to run on mingw because igen/configure.ac does this
>
> $ grep gcc * | grep -v ure:
> configure.ac: CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
>
> There is no gcc on FreeBSD 10
>
> gcc -O2 -pipe -fbracket-depth=1024 -I/mnt/data0/chrisj/rtems/rsb/rtems-source-builder.master/rtems/build/tmp/sb-chrisj/4.11/rtems-v850.bset/opt/rtems/4.11/include -Wall -Wdeclaration-after-statement -Wpointer-arith -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wformat-nonliteral -I. -I../../../gdb-7.7/sim/igen -I../../../gdb-7.7/sim/igen/../../include -c ../../../gdb-7.7/sim/igen/igen.c
> gmake[4]: gcc: Command not found
>
>
> Any suggestion on the correct modification to pick up
> either cc or gcc?
>
.../configure CC_FOR_BUILD=clang
or
.../configure CC_FOR_BUILD=cc
or similar should do.
Ralf
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: v850 simulator build issue
2014-05-15 14:18 v850 simulator build issue Joel Sherrill
2014-05-15 15:35 ` Ralf Corsepius
@ 2014-08-02 15:47 ` Mike Frysinger
1 sibling, 0 replies; 3+ messages in thread
From: Mike Frysinger @ 2014-08-02 15:47 UTC (permalink / raw)
To: gdb; +Cc: Joel Sherrill, Chris Johns
[-- Attachment #1: Type: text/plain, Size: 746 bytes --]
On Thu 15 May 2014 09:18:45 Joel Sherrill wrote:
> We have a build failure for the v850 simulator on a FreeBSD
> host to run on mingw because igen/configure.ac does this
>
> $ grep gcc * | grep -v ure:
> configure.ac: CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
this isn't specific to igen. if you look through the tree, you'll see this
pattern duplicated many times. it'd be nice if there was a single m4 in
config/ so we'd just call that, and then i think you could make a reasonable
argument for expanding the default CC_FOR_BUILD search path to be more like
the existing AC_PROG_CC.
would be even nicer if autoconf itself had a AC_PROG_BUILD_CC (or however you
want to name it), but let's start in the pond we control :).
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-08-02 15:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-15 14:18 v850 simulator build issue Joel Sherrill
2014-05-15 15:35 ` Ralf Corsepius
2014-08-02 15:47 ` Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox