Commit Graph

66 Commits

Author SHA1 Message Date
Christophe de Dinechin 131463c503 Add arm-linux-gnu cross-compiler support
(No support for selecting include and library path yet)
2018-04-04 10:21:03 +02:00
Christophe de Dinechin 4cabbde4b4 Change the way standard conformance is specified 2018-04-04 10:20:57 +02:00
Christophe de Dinechin 11093b9e66 Facilitate the creation of cross-compilation config.cross-gcc.mk
In order to create such a variant, you only need to override CC and CXX.
2018-04-04 10:20:15 +02:00
Christophe de Dinechin 93d13f8ecd File name mangling when building configuration steps
This is to avoid problems on Windows, where a file name cannot
contain < or > and as a result, tests for HAVE_<unistd.h> failed.
2018-04-04 10:20:15 +02:00
Christophe de Dinechin 11393dc8af Make sure we find configuration checks in build directory 2018-04-04 10:20:15 +02:00
Christophe de Dinechin 0f1266d53b Append output of executing the test program, so that we can add other #define's
The sbrk example shows the result of sbrk(0) first run.
2018-04-04 10:20:15 +02:00
Christophe de Dinechin 5ee5fafc3f Some factorization 2018-04-04 10:20:15 +02:00
Christophe de Dinechin 26dedc59e1 Check for library presence 2018-04-04 10:20:15 +02:00
Christophe de Dinechin 3293ab17f8 Link and execute the test program for completeness 2018-04-04 10:20:15 +02:00
Christophe de Dinechin 0a88f02d71 Add check for functions using a configuration file check 2018-04-04 10:20:15 +02:00
Christophe de Dinechin a1f04b6cf4 Separate configuration generation rules in config.arch.mk 2018-04-04 10:19:40 +02:00
Christophe de Dinechin 28c8dda7c6 Single-pass dependency generation 2018-04-04 10:19:40 +02:00
Christophe de Dinechin 649859601c Leave debug information for opt builds 2018-04-04 10:19:40 +02:00
Christophe de Dinechin c745b4411b Use GNU extensions also for C++11 2018-04-04 10:19:39 +02:00
Christophe de Dinechin b80031f737 Activate standard C++11, not older standard 2018-04-04 10:19:39 +02:00
Christophe de Dinechin 1c3c0e606c Initial state 2018-04-04 10:19:24 +02:00