4.5.0 B2 configure fun
Ralf Corsepius
corsepiu at faw.uni-ulm.de
Sun May 14 10:58:00 UTC 2000
Mike Davies wrote:
>
> In message <391A988F.BF2D5AD6 at OARcorp.com>, Joel Sherrill
> <joel.sherrill at OARcorp.com> writes
> >
> >What host are you on again? Is the native compiler
> >named "cc" or "gcc"?
> >
> >Try CC=gcc .../configure ....
> >
> >
>
> Hi, Forgive an ignorant unix neophyte's obvious question, but is that
> only for the native compiler ?
Exactly. The problem is that automake requires to have a working cc
for the host. Rtems/tools are compiled for the build-host and
therefore needs a working native c-compiler.
Some systems don't have a cc (Cygwin) or have a wrapper script
called cc which returns false unless a real cc is installed
(Solaris), i.e. in fact do not have a working cc.
The trick in setting CC=gcc is to force automake to use CC=gcc
instead of CC=cc for native compilation.
Another work-around to this issue is to have a symlink pointing from
cc to a really working cc in $PATH.
I.e. under Cygwin adding a symlink labeled cc to gcc is sufficient.
> Ie I shouldn't do
> CC=/home/whatever/i386-rtems-gcc ?
Nope.
Ralf.
--
Ralf Corsepius
Forschungsinstitut fuer Anwendungsorientierte Wissensverarbeitung
(FAW)
Helmholtzstr. 16, 89081 Ulm, Germany Tel: +49/731/501-8690
mailto:corsepiu at faw.uni-ulm.de FAX: +49/731/501-999
http://www.faw.uni-ulm.de
More information about the users
mailing list