[LV] Newbie - where to start?

Jan-Benedict Glaw jbglaw at lug-owl.de
Tue Sep 19 15:15:44 CEST 2006


On Tue, 2006-09-19 20:58:07 +1000, Neale Banks <neale at id.oz.au> wrote:
> Firstly, thanks for the feedback.
> 
> I'm not convinced we're thinking along the same lines here:
> 
> * if I'm not likely to get into compiler hacking, will I need a SVN
> checkout of GCC (as distinct from a recent release, e.g. 4.1.1 from May,
> possibly plus a patch or three)?

You'll need the sources for sure. Patches are there, but they're only
agains current SVN/CVS head.

> * Would a similar approach to binutils be OK?

I'm not sure, but IIRC there are no outstanding binutils patches.
AFAIR, I've checked them all in into the upstream repository.

> * I haven't got near having a built, let alone booting, kernel yet: will
> I have a use for uClibc, or is that for "later"?

The script that builds a compiler will first build a kernel-only
compiler, then use uClibc to build a (quite thin) userland compiler.
Though no support for threads or any other fancy stuff.

There's a script
(http://linux-vax.cvs.sourceforge.net/linux-vax/toolchain/scripts/initial_cvs_checkout.sh?view=log)
that'll check-out all the repositories, and another one
(http://linux-vax.cvs.sourceforge.net/linux-vax/toolchain/scripts/update_upstream_cvs_sandboxes.sh?view=log)
that'll update those.

The README
(http://linux-vax.cvs.sourceforge.net/linux-vax/toolchain/scripts/README?view=log)
has some documentation about it.


> What I think needs to happen here is that I build a working
> cross-compiler/binutils - so I can cross-compile a kernel.  Or have I
> missed something?

You're 100% right on this one. That's where the build_toolchain.sh
script
(http://linux-vax.cvs.sourceforge.net/linux-vax/toolchain/scripts/build_toolchain.sh?view=log)
is used for.  Its result is a cross-compiler, which you can use to
build a vax-linnux kernel.

> For the kernel, what are the options?  Are there "linux-vax" patches to
> apply against a current kernel.org release (e.g. latest -rcX)?  Or must
> I track sources/patches with GIT?

http://www.kernel.org/git/?p=linux/kernel/git/jbglaw/vax-linux.git;a=summary

We've already got a tree, though I need to merge Linus's work of the
last months.

MfG, JBG

-- 
      Jan-Benedict Glaw      jbglaw at lug-owl.de              +49-172-7608481
Signature of:               http://www.eyrie.org/~eagle/faqs/questions.html
the second  :
-------------- 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/20060919/0443ca3d/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