Your config-ml.in change broke cris-axis-elf newlib multilib build

Hans-Peter Nilsson hans-peter.nilsson@axis.com
Thu Apr 19 23:23:00 GMT 2007


Thanks!

> Date: Thu, 19 Apr 2007 14:36:19 -0700 (PDT)
> From: Steve Ellcey <sje@cup.hp.com>

> I am trying to test out the fix that Ralf has for this problem

Overriding _AC_OUTPUT_SUBDIRS?  The other ones don't work by
themselves.

> but it
> has been a long time since I build a cross compiler or used newlib.  Can
> you give me some basic instructions on how to configure and build so I
> can reproduce this problem?
> 
> I generally use a split tree for binutils and gcc but I can merge
> them if building in a combined tree is simpler.

Whatever works for you.  You have to combine newlib and gcc
though.  Untarring gcc over the newlib src (renamed :) works, or
pick items from simtest-howto.html.

>  My last attempt
> to build a cris-elf cross compiler setup was with a merged tree
> and a configure like:
> 
> $SRC/configure --target=$ctarget --prefix=$install_dir --disable-nls --with-x=no --disable-gdb --disable-tk --with-gmp=$BE --with-mpfr=$BE --disable-libgomp --disable-bootstrap --enable-languages="c,c++" --with-newlib

Way too many options there.  I don't know which one of these or
if other things in your setup cause the error you see and I
don't know where to start pruning...

I suggest instead using GeoffK's btest-gcc script.  It uses an
installed target binutils (and sim if you'd get that far :) but
requires a combined (gcc untarred over newlib) newlib+gcc.
Something like
 svnpath/gcc/contrib/regression/btest-gcc.sh cris-elf $srcdir $prefix gccstate $gccobjdir

> My current failure is:
> 
> make[4]: *** No rule to make target `/hpclear8/sje/svn.reg/src/trunk/bfd/../include/aout/ar.h', needed by `archive.lo'.  Stop.

I have an autotester building binutils (and one for sim and one
for gcc, forming a foodchain), but I haven't seen the error
above.

brgds, H-P



More information about the Gcc-patches mailing list