matt
e1da7aef13
Fix PPC _SOFT_FLOAT
2011-10-13 19:52:33 +00:00
christos
be84a9917e
remove pre-gcc-4.5 mknative remnants that have long ceased to function.
2011-09-26 21:16:14 +00:00
mrg
68568a44b1
since omp.h is part of libgomp, put it in the libgomp files not the
...
libstdc++ files.
2011-09-23 06:43:46 +00:00
mrg
dc04629559
add libgomp support. needed by "cc -fopenmp", that koffice 2.3 wants to use.
2011-09-21 02:15:18 +00:00
matt
cc8037f3d1
Add an inline ex script to modify configargs.h for powerpc to auto-enable
...
-msoft-float.
2011-08-17 18:34:13 +00:00
mrg
fd2a48532a
force HAVE_AS_SPARC_GOTDATA_OP to false, since those relocs seem
...
busted with our binutils. now sparc64 seems to work fine.
2011-07-10 15:28:26 +00:00
mrg
b2ad2936ae
fix the previous
2011-07-03 12:26:02 +00:00
mrg
1f61213386
-I$DESTDIR/usr/include is escaping into the generated files from
...
the native-gcc run. add some sed commands to remove them.
2011-07-03 12:11:32 +00:00
mrg
d2d81d57a9
copy sysroot-suffix.h as well, for sh3.
2011-07-03 06:47:12 +00:00
mrg
b9c57fbd15
also pull out LIB2ADD_ST for libgcc.
2011-07-02 13:25:05 +00:00
mrg
0debd27c81
avoid creating an unused directory.
2011-07-01 02:11:14 +00:00
mrg
a8847d182c
- call each ${MKNATIVE_CONFIG_TARGET_LIBS} target separately
...
- comment out maybe-all-target-libgcc
- cope with the special transformation needed for gtyp-input.list
2011-07-01 01:27:17 +00:00
mrg
425b4dd861
fix previous; they belong in _headers1
2011-06-30 07:16:59 +00:00
mrg
2703d75c7b
- repurpose MKNATIVE_CONFIG_TARGET_LIBS to list all the targets
...
- disable building pch for the mknative run
2011-06-30 07:02:17 +00:00
mrg
089e26552b
also pull tr1_impl_headers parallel_headers and decimal_headers for libstdc++
2011-06-30 07:01:14 +00:00
mrg
3e9b4b1af1
fix all-tree.def, and add gtyp-input.list
2011-06-29 05:06:03 +00:00
mrg
8d616c352f
fix the path for libdecnumber.
2011-06-29 02:13:59 +00:00
mrg
a4e3e6142c
get libdecnumber info out of GCC.
2011-06-29 02:02:38 +00:00
mrg
9897cb288e
also need bversion.h
2011-06-28 04:30:32 +00:00
mrg
c86def5214
some more updates for GCC 4.5.
2011-06-28 03:58:55 +00:00
mrg
68a31119f2
output stuff to the right libiberty dir for gcc 4.5.
2011-06-23 12:06:32 +00:00
mrg
64f6248066
get this some what working with GCC 4.5. i at least have managed to
...
get crtstuff and libgcc to build for amd64, and have linked and tested
/bin/sh with all these GCC 4.5 compiled part.
2011-06-23 05:42:37 +00:00
mrg
63da379d23
use --sysroot with GCC 4.5. (maybe could with 4.1 too? the 4.1 code
...
here is broken right now, anyway, ever since the sysroot changes were
merged into our tree.)
2011-06-21 09:37:41 +00:00
mrg
2d7ccc14fc
initial port to HAVE_GCC = 45. mknative-gcc parts are from me
...
and are largely untested, most of the rest is from chuq.
2011-06-21 04:11:12 +00:00
matt
865180f6f7
If building the cross gcc for softfloat, add --with-float=soft so it will
...
default to it.
2011-06-10 16:31:18 +00:00
joerg
333ceea9fc
Enable support for --sysroot in binutils and gcc.
2011-03-24 13:33:42 +00:00
mrg
8c0cbe863f
revert the previous; not intended to be part of that commit, or any commit
2009-12-23 20:17:13 +00:00
mrg
3fa4bcf59c
rework the main SUBDIR list here as suggested by enami. put .WAIT on
...
the same line as the target that needs to wait, but before the target,
rather than on the previous line, which led to confusion and an error
being introduced in the previous change.
2009-12-23 20:15:21 +00:00
uebayasi
656d7ae41f
get_libgcc_new: Make previous work for digit only ABI names.
2009-12-17 15:48:13 +00:00
uebayasi
eae6ecc426
get_libgcc_new: Teach multilib.
2009-12-17 15:01:33 +00:00
uebayasi
3cb0739866
Skip parameters for multilib build for now.
2009-12-01 04:59:24 +00:00
uebayasi
87bb55865b
Handle cases where *.asm is listed in LIB2FUNCS_EXTRA (gcc/config/rs6000).
2009-12-01 03:13:26 +00:00
uebayasi
3a3e699038
Handle cases where database text files don't exist.
2009-11-30 14:34:17 +00:00
uebayasi
d77ecd459a
Call "template sources" as "tmplsrcs", not "tmpsrcs". Requested by mrg@.
2009-11-30 10:03:57 +00:00
uebayasi
970b30eb96
Prefix per-library *.mk files with libs.*.
2009-11-30 09:57:59 +00:00
uebayasi
d3180e0c9b
Now that we know what sources are needed to build a given library, we need
...
the rules how to build those sources. Generate makefiles defining ${COPTS},
${CPPFLAGS}, and ${SRCS} (== template).
Note that ${CPPFLAGS} is actually dfined as _CPPFLAGS like
_CPPFLAGS.tmp___gcc_bcmp.c=-DL__gcc_bcmp
and used to generate wrapper files (e.g. tmp___gcc_bcmp.c). Otherwise it's
automagically passed to ${CC} by bsd.*.mk.
2009-11-30 09:50:59 +00:00
uebayasi
2c455e268f
For each library, generate a makefile of the list of template sources too.
2009-11-30 09:33:36 +00:00
uebayasi
c91d9ec35a
For each library, generate a list of sources (*.[cS]).
...
We create wrapper sources (tmp_*.[cS]) on-the-fly and compile them. For
example, __gcc_bcmp() is compiled using tmp___gcc_bcmp.c, which #define's
L__gcc_bcmp and #include's libgcc2.c.
2009-11-30 09:32:13 +00:00
uebayasi
263a9a2c47
Move these analyzing functions into one place, get_libgcc_new_analyze().
2009-11-30 08:20:23 +00:00
uebayasi
b98c239900
Typo.
2009-11-30 08:05:41 +00:00
uebayasi
1380d82f90
Generate lists of template sources ("tmpsrcs") for each libraries. We'll
...
need these to create wrappers of tmpsrcs and define correct dependencies.
2009-11-30 08:00:20 +00:00
uebayasi
141ef6c4d0
Generate *.o -> template *.[cS] ("tmpsrc") mapping.
...
Functions are built from a template (tmpsrc). We create wrapper sources
(src) and define necessary defines and #include tmpsrc.
2009-11-30 07:19:58 +00:00
uebayasi
96a4ab5aed
- Generate a list of CPP flags used to build *.o. Some files are build
...
repeatedly with different -DXXX to generate similar objects (e.g. different
type size).
- Generate a list of other CC options to build *.o.
(See my sed-fu using hold space in get_libgcc_list_objs_xflags().)
2009-11-30 07:08:03 +00:00
uebayasi
7e684b1d37
- Generate a list of *.o -> lib*.{a,so} mapping. This is also known by
...
parsing dependency lines in libgcc.mk.
- Generate a list of *.o -> *.{c,S} mapping. *.S files are known as
${LIB1ASMFUNCS}. Assume other *.o files are built from *.c. This information
is needed to generated wrapper sources later.
2009-11-30 06:56:15 +00:00
uebayasi
12ee13e800
Generate lists of functions built in libgcc libraries. This is known by
...
pattern matching dependency lines in libgcc.mk.
2009-11-30 06:40:17 +00:00
uebayasi
00c7a5b61c
Generate a list of functions provided as *.S.
2009-11-30 06:29:58 +00:00
uebayasi
b0edbfb088
Define paths of newly generated files.
2009-11-30 06:13:37 +00:00
uebayasi
ffa99e7e3a
Start implementing the new style libgcc "mknative" converter which generates
...
BSD makefiles to build libgcc. The goal is to build all functions rather
than managing the set of functions in gnu/lib/libgcc/Makefile.in by hand.
Because of the complexity of the build procedure, I leave not only generated
makefiles but also intermediate, analyzed data so that people can verify that
the conversion is done correctly.
2009-11-30 05:50:07 +00:00
skrll
8a770313a3
Rename MKBFD to MKBINUTILS and support HAVE_BINUTILS for set lists. This
...
makes {MK,HAVE_}BINUTILS consistent with {MK,HAVE_}{GCC,GDB}.
Allow MKBFD to defines MKBINUTILS as a backwards compatibility hook.
Update the sets lists and add conditionals for lib{bfd,opcodes}.
2009-09-08 07:08:00 +00:00
ad
e8f7cd4ed0
Enable -mtune=nocona by default on x86. I have tested on a range of CPUs
...
and this seems to give the best results.
2009-05-04 21:32:31 +00:00