[LV] gcc-4.1.1 build failure

Jan-Benedict Glaw jbglaw at lug-owl.de
Fri Sep 22 02:18:13 CEST 2006


On Fri, 2006-09-22 10:04:04 +1000, Neale Banks <neale at id.oz.au> wrote:
> Just for kicks (and to get my feet wet, so to speak), I tried
> downloading gcc-4.1.1 (-core and -g++), patching from
> $CVS/toolchain/patches/ and building for target vax-linux-uclibc
> 
> The patches seemed to apply OK (albeit with some offsets), and configure
> didn't complain.  But... the build (make all-gcc) dies with:
> 
> ==============================8<==============================
> cp ../.././gcc/../fixincludes/README-fixinc include/README
> chmod a+r include/README
> echo timestamp > stmp-int-hdrs
> make[1]: *** No rule to make target
> `/home/neale/VAXen/WORKING/build-20060921-120326-UTC-vax-linux-uclibc/install/usr/bin/vax-linux-uclibc-as',
> needed by `stamp-as'.  Stop.
> make[1]: Leaving directory
> `/home/neale/VAXen/WORKING/gcc-4.1.1/host-i686-pc-linux-gnu/gcc'
> make: *** [all-gcc] Error 2
> ==============================8<==============================

That's why there's a script (scripts/build_toolchain.sh) to build it :-)

You downloaded GCC, but GCC itself is quite useless without an
assembler (vax-linux-uclibc-as).  Because GCC builds libgcc.a, which
already contains VAX code, you need to have a working assembler before
starting to build GCC.

So you'd first go and download/build/install the binutils package.

> Any suggestions on where I went wrong or where I start to investigate
> this?

Check-out the "toolchain" module (SF.net CVS). Read the scripts/README
file, set-up your vax_toolchain_config, download all the stuff with
initial_cvs_checkout.sh and build it with build_toolchain.sh .

MfG, JBG

-- 
      Jan-Benedict Glaw      jbglaw at lug-owl.de              +49-172-7608481
  Signature of:                        Lauf nicht vor Deinem Glück davon:
  the second  :                             Es könnte hinter Dir stehen!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lug-owl.de/pipermail/vax-linux/attachments/20060922/9286a5f2/attachment.pgp>
-------------- next part --------------
_______________________________________________
Linux-Vax mailing list
Linux-Vax at pergamentum.com
http://www.pergamentum.com/mailman/listinfo/linux-vax


More information about the Vax-linux mailing list