Mercurial > hg-old > index.cgi
view extra/README @ 417:f792faf877bb
Fixed minor layout glitch in listing code
author | lost@l-w.ca |
---|---|
date | Tue, 10 Aug 2010 23:08:07 -0600 |
parents | acaafc70044b |
children |
line wrap: on
line source
These files are extra utility type scripts that can be used for various purposes. as This is a sort of front-end script that makes lwasm look approximately like gnu as which is useful for using lwasm as a backend to gcc. You will probably need to edit it to make it work fully. Simply put this in place of whatever gcc6809 installed for "as" (in the "m6809/bin" folder in "--prefix") after editing it to point to the real location of the "lwasm" binary. ld Similar to the "as" script above except for lwlink. ar Similar to the "as" script above except for lwar. To use these scripts, you really need to understand how to build a gcc as a cross compiler. The basics are that you put the as, ld, and ar scripts whereever you plan to put your cross-development binaries. Then, when building the cross compiler, you tell it where the scripts are. You should probably name them m6809-unknown-none-{ar,as,ld} or similar depending on your gcc build target. Then you'll want to get the gcc6809 patch and patch the correct gcc source code. You probably want to add m6809-unknown-none-ranlib as a symblink to /bin/true, too. Then, you can skip the bits in the install instructions that install "binutils" and so on. A simple "make" in the "build-6809" directory should do. At least it does with gcc6809-4.3.4-3. The exact mechanics of configuring and getting gcc to install correctly is left as an exercise to the dedicated masochist.