An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

[![Build Status](https://secure.travis-ci.org/onlyuser/gnu-tools.png)](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