A versatile (cross-)toolchain generator.
Go to file
Daniel Price 77705cdfe1 scripts: refine static linking check to better guide the user
The current mechanism to check if static linking is possible, and the mesage
displayed on failure, can be puzzling to the unsuspecting user.

Also, the current implementation is not using the existing infrastructure,
and is thus difficult to enhance with new tests.

So, switch to using the standard CT_DoExecLog infra, and use four tests to
check for the host compiler:
  - check we can run it
  - check it can build a trivial program
  - check it can statically link that program
  - check if it statically link with libstdc++

That should cover most of the problems. Hopefully.

(At the same time, fix a typo in a comment)

Signed-off-by: Daniel Price <daniel.price@gmail.com>
[yann.morin.1998@free.fr: split original patch for self-contained changes]
[yann.morin.1998@free.fr: use steps to better see gcc's output]
[yann.morin.1998@free.fr: commit log]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <163f86b5216fc08c672a.1353459722@nipigon.dssd.com>
Patchwork-Id: 200536
2012-11-20 16:59:17 -08:00
config scripts: fix mis-alignment due to new variables 2012-11-19 22:13:11 +01:00
contrib docs: update my e-mail 2012-03-06 21:36:10 +01:00
docs samples: add rule to dump current .config into a defconfig 2012-08-15 22:06:22 +02:00
kconfig samples: add rule to dump current .config into a defconfig 2012-08-15 22:06:22 +02:00
licenses.d Rename directory "licenses" to "licenses.d" for those filesystems unable to handle lower/upper case. 2007-03-11 09:46:22 +00:00
patches libc/mingw: replace mingw32 with generic mingw 2012-11-14 14:05:49 +01:00
samples libc/mingw: replace mingw32 with generic mingw 2012-11-14 14:05:49 +01:00
scripts scripts: refine static linking check to better guide the user 2012-11-20 16:59:17 -08:00
.hgignore scripts: fix tools override 2012-01-16 23:36:42 +01:00
.hgtags update tags 2009-06-14 18:19:22 +00:00
.version [configure] Use hg to compute the version string 2009-06-17 10:46:28 +02:00
bootstrap configure: use autoconf to generate configure 2011-11-07 22:28:40 +01:00
configure.ac configure: remove trailing cruft 2012-10-07 23:15:57 +02:00
COPYING Update and clarify COPYING (plus a typo). 2008-09-14 18:20:03 +00:00
ct-ng.comp samples: add rule to dump current .config into a defconfig 2012-08-15 22:06:22 +02:00
ct-ng.in docs: update my e-mail 2012-03-06 21:36:10 +01:00
LICENSES Add the full crosstool-NG sources to the new repository of its own. 2007-02-24 11:00:05 +00:00
Makefile.in Makefile.in: Use only standard options compatible with BSD install 2012-11-06 17:02:06 +01:00
README configure: use autoconf to generate configure 2011-11-07 22:28:40 +01:00
steps.mk binutils: introduce the infrastructure to support binutils alternatives 2012-11-19 11:21:31 +01:00
TODO misc: fix more typos here and there... 2011-07-17 16:53:40 +02:00

This is the README for crosstool-NG

Crosstool-NG follows the autoconf dance. So, to get you
kick-started, just run:
    ./configure --help

If you are using a development snapshot, you'll have to
create the configure script, first. Just run:
    ./bootstrap

You will find the documentation in the directory 'docs'.
Here is a quick overview of what you'll find there:
  0 - Table of content
  1 - Introduction
  2 - Installing crosstool-NG
  3 - Configuring a toolchain
  4 - Building the toolchain
  5 - Using the toolchain
  6 - Toolchain types
  7 - Contributing
  8 - Internals
  A - Credits
  B - Known issues
  C - Misc. tutorials

You can also point your browser at:
  http://crosstool-ng.org/

Aloha!