Add gcc4 and gcc4-armhf packages (!216)
Successfully tested both the gcc4 compiler on x86_64 with a simple program (fbdebug) and the gcc4-armhf cross-compiler to build a very old u-boot port for Galaxy Nexus (a MR will follow soon) which failed to boot with either newer version (6 and 8). [skip ci]: already went through
This commit is contained in:
parent
2f4da158d0
commit
7b3702e2dd
96 changed files with 7800 additions and 0 deletions
25
main/gcc4/05_all_gcc48_gcc.c.patch
Normal file
25
main/gcc4/05_all_gcc48_gcc.c.patch
Normal file
|
@ -0,0 +1,25 @@
|
|||
2013-03-24 Magnus Granberg <zorry@gentoo.org>
|
||||
|
||||
* gcc/gcc.c include esp.h
|
||||
static const char *cc1_spec We set that in esp.h if ENABLE_ESP.
|
||||
|
||||
--- ./gcc/gcc.c 2010-01-21 10:29:30.000000000 -0500
|
||||
+++ ./gcc/gcc.c 2010-01-29 23:29:16.000000000 -0500
|
||||
@@ -44,6 +44,7 @@
|
||||
#include "opts.h"
|
||||
#include "params.h"
|
||||
#include "vec.h"
|
||||
+#include "config/esp.h" /* for --enable-esp support */
|
||||
#include "filenames.h"
|
||||
|
||||
/* By default there is no special suffix for target executables. */
|
||||
@@ -822,7 +823,9 @@
|
||||
|
||||
static const char *asm_debug;
|
||||
static const char *cpp_spec = CPP_SPEC;
|
||||
+#ifndef ENABLE_ESP
|
||||
static const char *cc1_spec = CC1_SPEC;
|
||||
+#endif
|
||||
static const char *cc1plus_spec = CC1PLUS_SPEC;
|
||||
static const char *link_gcc_c_sequence_spec = LINK_GCC_C_SEQUENCE_SPEC;
|
||||
static const char *link_ssp_spec = LINK_SSP_SPEC;
|
Loading…
Add table
Add a link
Reference in a new issue