项目作者: onlyuser
项目描述 :
gnu-tools is a collection of recipes for building gnu-tools from scratch
高级语言: Makefile
项目地址: git://github.com/onlyuser/gnu-tools.git

Copyright (C) 2011-2017 onlyuser@gmail.com
About
gnu-tools is a collection of recipes for building gnu-tools from scratch.
Currently, only these tools & versions are supported, but you can switch versions easily:
Requirements
bash make gcc wget curl ftp://gcc.gnu.org/pub/gcc/infrastructure http://www.mr511.de/software http://ftp.gnu.org/gnu/gcc
Installation (Debian)
- git clone https://github.com/onlyuser/gnu-tools.git
- sudo aptitude install make
- sudo aptitude install gcc
- sudo aptitude install wget
- sudo aptitude install curl
Usage
- If you use Ubuntu 11.04 x86_64 and wish to build gcc, you may need two extra environment variables:
- $C_INCLUDE_PATH — where “asm/errno.h” resides (“/usr/include/x86_64-linux-gnu” on my machine)
- $CPLUS_INCLUDE_PATH — where “asm/errno.h” resides (“/usr/include/x86_64-linux-gnu” on my machine)
- Change into the directory for the tool you wish to build and enter “make”.
Make Targets
target | action |
all | make binaries |
clean | remove all intermediate files |
References
- “How to install GCC from scratch with GMP, MPFR, MPC, ELF, without shared libraries?”
- http://stackoverflow.com/questions/9450394/how-to-install-gcc-from-scratch-with-gmp-mpfr-mpc-elf-without-shared-librari
- “How to build GNU Compiler Collection”
- http://www.acsu.buffalo.edu/~charngda/cc_build.html
- “Compilation cannot find file asm/errno.h”
- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48879
Keywords
gnu, gcc, bison, Linux