Changeset 21e940b6 in rtems
- Timestamp:
- 04/12/05 16:18:14 (19 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- b5402c6
- Parents:
- 327b340d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/README.cdn-X
r327b340d r21e940b6 10 10 rpmbuild -ba xxx-rtems-yyy.spec \ 11 11 --define='_build i686-pc-linux-gnu' 12 --define='_host i 386-cygwin' \13 --target=i 386-cygwin12 --define='_host i686-pc-cygwin' \ 13 --target=i686-pc-cygwin 14 14 15 15 [If using rpm < 4.1, use "rpm" instead of "rpmbuild".] … … 31 31 http://packman.links2linux.de 32 32 33 We further on assume this toolchain to be installed in /opt/i 386-cygwin,34 i.e. /opt/i 386-cygwin/bin/i386-cygwin-gcc is assumed to be the linux->cygwin33 We further on assume this toolchain to be installed in /opt/i686-pc-cygwin, 34 i.e. /opt/i686-pc-cygwin/bin/i686-pc-cygwin-gcc is assumed to be the linux->cygwin 35 35 cross compiler. 36 36 … … 38 38 --------------- 39 39 40 * Make sure to have /usr/bin and /opt/i 386-cygwin/bin in $PATH.40 * Make sure to have /usr/bin and /opt/i686-pc-cygwin/bin in $PATH. 41 41 42 42 * Download the source-tarballs and patches. Put them into a directory where … … 52 52 The spec-files you are looking for are: 53 53 binutils/xxx-rtems-binutils.spec 54 gcc 3newlib/xxx-rtems-gccnewlib.spec54 gccnewlib/xxx-rtems-gccnewlib.spec 55 55 gdb/xxx-rtems-gdb.spec 56 56 … … 63 63 rpmbuild -ba binutils/xxx-rtems-binutils-<binutilsvers>.spec \ 64 64 --define='_build=i686-pc-linux-gnu' \ 65 --define='_host=i 386-cygwin' \66 --target=i 386-cygwin65 --define='_host=i686-pc-cygwin' \ 66 --target=i686-pc-cygwin 67 67 68 rpmbuild -ba gcc 3newlib/xxx-rtems-gcc-<gccvers>-newlib-<newlibvers>.spec \68 rpmbuild -ba gccnewlib/xxx-rtems-gcc-<gccvers>-newlib-<newlibvers>.spec \ 69 69 --define='_build=i686-pc-linux-gnu' \ 70 --define='_host=i 386-cygwin' \71 --target=i 386-cygwin70 --define='_host=i686-pc-cygwin' \ 71 --target=i686-pc-cygwin 72 72 73 73 rpmbuild -ba 74 74 gdb/xxx-rtems-gdb-<gdbvers>.spec \ 75 75 --define='_build=i686-pc-linux-gnu' \ 76 --define='_host=i 386-cygwin' \77 --target=i 386-cygwin76 --define='_host=i686-pc-cygwin' \ 77 --target=i686-pc-cygwin 78 78 79 79 Each of these commands builds several corresponding rpms. … … 112 112 ------------------ 113 113 The procedure to build for other platforms (Solaris, ...) is analogous. Just 114 replace i 386-cygwin with your target, eg sun-sparc-solaris2.8114 replace i686-pc-cygwin with your target, eg sun-sparc-solaris2.8 115 115 116 116 Ralf Corsepius 2003-01-31
Note: See TracChangeset
for help on using the changeset viewer.