📄 demo-newlib.sh
字号:
#!/bin/shset -ex# To use all.sh, just set the eight or nine environment variables it wants, then run it.# Or better yet, read it, understand it, and *then* run it.# See also doc/crosstool-howto.html# Options to all.sh:# --nounpack avoids unpacking the source tarballs and re-configuring; useful for quick redos.# --nobuild avoids building; useful if you just want to unpack sources or rerun regression tests.# --notest avoids running regression tests; they're hard to set up, so this is recommended when starting.## Here's a demo for the impatient, showing all the configurations I've tested.# It uses eval so it can store some of the environment variables in a file.# If you don't like eval, you can set the environment variables some other way.# Uncomment the one(s) you want to build, and comment out the others.# Once that works, please try running the regression test by removing the --notest arg# and setting up a chroot environment as described in doc/crosstool-howto.html.# Total disk requirement: about 1.5GB per toolchain.## This demo can build various toolchains for eleven processors: # alpha, arm, cris, i686, ia64, m68k, mips, powerpc750, powerpc405, sh4, and sparc.# It can almost, but not quite, build toolchains for three processors:# hppa, s390 and x86_64.## Arm eval `cat arm-elf.dat` `cat gcc3.3-newlib1.11.0.dat` sh all-newlib.sh --notest
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -