https://github.com/onlyuser/gnu-tools
gnu-tools is a collection of recipes for building gnu-tools from scratch
https://github.com/onlyuser/gnu-tools
gnu-linux makefile
Last synced: 22 days ago
JSON representation
gnu-tools is a collection of recipes for building gnu-tools from scratch
- Host: GitHub
- URL: https://github.com/onlyuser/gnu-tools
- Owner: onlyuser
- Created: 2013-03-09T13:35:33.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2018-05-20T11:41:18.000Z (over 7 years ago)
- Last Synced: 2023-03-24T06:31:59.467Z (almost 3 years ago)
- Topics: gnu-linux, makefile
- Language: Makefile
- Homepage: http://onlyuser.github.io/
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](http://travis-ci.org/onlyuser/gnu-tools)
gnu-tools
=========
Copyright (C) 2011-2017
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:
* gcc 4.6.3
* bison 2.5
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)
---------------------
1. git clone https://github.com/onlyuser/gnu-tools.git
2. sudo aptitude install make
3. sudo aptitude install gcc
4. sudo aptitude install wget
5. sudo aptitude install curl
Usage
-----
1. 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)
2. 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