diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2011-03-07 02:53:37 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2011-03-07 02:53:37 +0000 |
commit | 89406239aa3790cc6a4f8afa64dbae3cfa2228ad (patch) | |
tree | 283523ab8c113f44f7cee4d75b7e8c4deac85b71 /misc | |
parent | 1fea66fa6342d9598328975b1b5b4e378f223964 (diff) |
Add i486 toolchain support
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@3349 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'misc')
-rw-r--r-- | misc/buildroot/ChangeLog | 9 | ||||
-rw-r--r-- | misc/buildroot/ReleaseNotes | 22 | ||||
-rw-r--r-- | misc/buildroot/configs/README.txt | 9 | ||||
-rw-r--r-- | misc/buildroot/configs/i486-defconfig-4.3.3 | 103 |
4 files changed, 136 insertions, 7 deletions
diff --git a/misc/buildroot/ChangeLog b/misc/buildroot/ChangeLog index 927bc96a19..3ea2b60f32 100644 --- a/misc/buildroot/ChangeLog +++ b/misc/buildroot/ChangeLog @@ -81,3 +81,12 @@ buildroot-1.10 2011-xx-xx <spudmonkey@racsa.co.cr> * Add patch submitted by Dimiter Georgiev to work around problems in building GDB 6.8 with versions of Cygwin > 1.7. + * configs/i486-defconfig-4.3.3 - Builds an i486 cross development toolchain + using gcc 4.3.3. Why wouldyou want such a thing? On Linux, of course, + such a thing is not needed because you can use the installed GCC to build + i486 ELF binaries. But that will not work under Cygwin! The Cygwin + toolchain (and probably MinGW), build DOS MZ format executables (i.e., + .exe files). That is probably not usable for most NuttX targets. + Instead, you should use this i486-elf-gcc to generate true ELF binaries + under Cygwin. + diff --git a/misc/buildroot/ReleaseNotes b/misc/buildroot/ReleaseNotes index 8206a15f46..d0077d613a 100644 --- a/misc/buildroot/ReleaseNotes +++ b/misc/buildroot/ReleaseNotes @@ -21,6 +21,20 @@ can be used to build the following NuttX-compatible toolchains: o avr-elf toolchain needed for use with the ATmega128 ports provided with the NuttX releases. + o H8/300 toolchain (not currently used in any NuttX + configuration). + + o i486-elf toochain. Why would you want such a thing? On Linux, of + course, such a thing is not needed because you can use the installed GCC + to build i486 ELF binaries. But that will not work under Cygwin! The + Cygwin toolchain (and probably MinGW), build DOS MZ format executables + (i.e., .exe files). That is probably not usable for most NuttX targets. + Instead, you should use this i486-elf-gcc to generate true ELF binaries + under Cygwin. + + o bfin-elf toolchain not currently used in any NuttX + configuration). + o m68k-elf toolchain (not currently used in any NuttX configuration). @@ -34,15 +48,9 @@ can be used to build the following NuttX-compatible toolchains: binutils 2.18 and gcc 3.3.6 and patches available from http://www.msextra.com/tools courtesy of James Cortina. - o sh-elf toolchain needed for the SH-1 NuttX port. - o m32c-elf toolchain needed for the Renesas M16C NuttX port. - o H8/300 toolchain (not currently used in any NuttX - configuration). - - o bfin-elf toolchain not currently used in any NuttX - configuration). + o sh-elf toolchain needed for the SH-1 NuttX port. Supported tool versions include: diff --git a/misc/buildroot/configs/README.txt b/misc/buildroot/configs/README.txt index 6421afaa6b..91c2fcc428 100644 --- a/misc/buildroot/configs/README.txt +++ b/misc/buildroot/configs/README.txt @@ -61,6 +61,15 @@ bfin-defconfig-4.2.4 h8300_config Builds an H8/300 toolchain using gcc 3.4.6 +i486-defconfig-4.3.3 + Builds an i486 cross development toolchain using gcc 4.3.3. Why would + you want such a thing? On Linux, of course, such a thing is not needed + because you can use the installed GCC to build i486 ELF binaries. But + that will not work under Cygwin! The Cygwin toolchain (and probably + MinGW), build DOS MZ format executables (i.e., .exe files). That is + probably not usable for most NuttX targets. Instead, you should use this + i486-elf-gcc to generate true ELF binaries under Cygwin. + m32c_defconfig_4.2.4 m32c_defconfig_4.3.3 Build a toolchain for use with the M16C port using eith gcc 4.2.4 or 4.3.3 diff --git a/misc/buildroot/configs/i486-defconfig-4.3.3 b/misc/buildroot/configs/i486-defconfig-4.3.3 new file mode 100644 index 0000000000..c99130521f --- /dev/null +++ b/misc/buildroot/configs/i486-defconfig-4.3.3 @@ -0,0 +1,103 @@ +# +# Automatically generated make config: don't edit +# +BR2_HAVE_DOT_CONFIG=y +# BR2_alpha is not set +# BR2_arm is not set +# BR2_armeb is not set +# BR2_avr is not set +# BR2_avr32 is not set +# BR2_bfin is not set +# BR2_cris is not set +BR2_i386=y +# BR2_m32c is not set +# BR2_m68k is not set +# BR2_m68hc11 is not set +# BR2_m68hc12 is not set +# BR2_m9s12x is not set +# BR2_mips is not set +# BR2_mipsel is not set +# BR2_nios2 is not set +# BR2_powerpc is not set +# BR2_sh is not set +# BR2_sh64 is not set +# BR2_h8300 is not set +# BR2_sparc is not set +# BR2_x86_64 is not set +# BR2_x86_i386 is not set +BR2_x86_i486=y +# BR2_x86_i586 is not set +# BR2_x86_i686 is not set +BR2_ARCH="i486" +BR2_GCC_TARGET_TUNE="i486" +BR2_GCC_TARGET_ARCH="i486" +BR2_ENDIAN="LITTLE" + +# +# Build options +# +BR2_WGET="wget --passive-ftp" +BR2_SVN="svn co" +BR2_ZCAT="zcat" +BR2_BZCAT="bzcat" +BR2_TAR_OPTIONS="" +BR2_DL_DIR="$(BASE_DIR)/../archives" +BR2_STAGING_DIR="$(BUILD_DIR)/staging_dir" +BR2_NUTTX_DIR="$(TOPDIR)/../../nuttx" +BR2_TOPDIR_PREFIX="" +BR2_TOPDIR_SUFFIX="" +BR2_GNU_BUILD_SUFFIX="pc-elf" +BR2_GNU_TARGET_SUFFIX="elf" +# BR2_PREFER_IMA is not set + +# +# Toolchain Options +# + +# +# Binutils Options +# +# BR2_BINUTILS_VERSION_2_17 is not set +# BR2_BINUTILS_VERSION_2_18 is not set +# BR2_BINUTILS_VERSION_2_19 is not set +BR2_BINUTILS_VERSION_2_19_1=y +BR2_BINUTILS_VERSION="2.19.1" +BR2_EXTRA_BINUTILS_CONFIG_OPTIONS="" + +# +# GCC Options +# +BR2_PACKAGE_GCC=y +# BR2_GCC_VERSION_3_3_6 is not set +# BR2_GCC_VERSION_3_4_6 is not set +# BR2_GCC_VERSION_4_2_4 is not set +BR2_GCC_VERSION_4_3_3=y +BR2_GCC_SUPPORTS_SYSROOT=y +BR2_GCC_VERSION="4.3.3" +# BR2_GCC_USE_SJLJ_EXCEPTIONS is not set +BR2_EXTRA_GCC_CONFIG_OPTIONS="" +BR2_INSTALL_LIBSTDCPP=y +# BR2_INSTALL_LIBGCJ is not set +# BR2_INSTALL_OBJC is not set +# BR2_INSTALL_FORTRAN is not set + +# +# Gdb Options +# +# BR2_PACKAGE_GDB is not set +# BR2_PACKAGE_GDB_SERVER is not set +# BR2_PACKAGE_GDB_HOST is not set + +# +# NuttX Binary Support +# +BR2_PACKAGE_GENROMFS=y + +# +# Common Toolchain Options +# +# BR2_PACKAGE_SSTRIP_TARGET is not set +# BR2_PACKAGE_SSTRIP_HOST is not set +# BR2_ENABLE_MULTILIB is not set +BR2_LARGEFILE=y +BR2_TARGET_OPTIMIZATION="-Os -pipe" |