Mercurial > hg-old > index.cgi
comparison extra/README @ 249:b34071013404 2.x
Updated hint for using gcc6809
author | lost |
---|---|
date | Thu, 26 Nov 2009 21:12:28 +0000 |
parents | 06effa2faea1 |
children |
comparison
equal
deleted
inserted
replaced
248:e8d70b95ec41 | 249:b34071013404 |
---|---|
25 cross compiler. The basics are that you put the as, ld, and ar scripts | 25 cross compiler. The basics are that you put the as, ld, and ar scripts |
26 whereever you plan to put your cross-development binaries. Then, when | 26 whereever you plan to put your cross-development binaries. Then, when |
27 building the cross compiler, you tell it where the scripts are. | 27 building the cross compiler, you tell it where the scripts are. |
28 | 28 |
29 You should probably name them m6809-unknown-none-{ar,as,ld} or similar | 29 You should probably name them m6809-unknown-none-{ar,as,ld} or similar |
30 depending on your gcc build target. Then you'll want to get the gcc6809 | 30 depending on your gcc build target. You will probably need to ensure that |
31 patch and patch the correct gcc source code. Then use a configure line | 31 the m6809-* binaries are in your execution path. Then you'll want to get |
32 similar to the following: | 32 the gcc6809 patch and patch the correct gcc source code. Then use a |
33 configure line similar to the following: | |
33 | 34 |
34 configure --enable-languages=c --target=m6809-coco | 35 configure --enable-languages=c --target=m6809-coco |
35 --program-prefix=m6809-coco-lwos- --enable-obsolete | 36 --program-prefix=m6809-coco-lwos- --enable-obsolete |
36 --srcdir=/home/lost/gcc6809/src/gcc-4.3.3 --disable-threads --disable-nls | 37 --srcdir=/home/lost/gcc6809/src/gcc-4.3.3 --disable-threads --disable-nls |
37 --disable-libssp --prefix=/usr/local/coco --with-as=/usr/local/coco/bin/as | 38 --disable-libssp --prefix=/usr/local/coco --with-as=/usr/local/coco/bin/as |