#
3cb07398 |
| 01-Dec-2009 |
uebayasi <uebayasi@NetBSD.org> |
Skip parameters for multilib build for now.
|
#
87bb5586 |
| 01-Dec-2009 |
uebayasi <uebayasi@NetBSD.org> |
Handle cases where *.asm is listed in LIB2FUNCS_EXTRA (gcc/config/rs6000).
|
#
3a3e6990 |
| 30-Nov-2009 |
uebayasi <uebayasi@NetBSD.org> |
Handle cases where database text files don't exist.
|
#
d77ecd45 |
| 30-Nov-2009 |
uebayasi <uebayasi@NetBSD.org> |
Call "template sources" as "tmplsrcs", not "tmpsrcs". Requested by mrg@.
|
#
970b30eb |
| 30-Nov-2009 |
uebayasi <uebayasi@NetBSD.org> |
Prefix per-library *.mk files with libs.*.
|
#
d3180e0c |
| 30-Nov-2009 |
uebayasi <uebayasi@NetBSD.org> |
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 t
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.
show more ...
|
#
2c455e26 |
| 30-Nov-2009 |
uebayasi <uebayasi@NetBSD.org> |
For each library, generate a makefile of the list of template sources too.
|
#
c91d9ec3 |
| 30-Nov-2009 |
uebayasi <uebayasi@NetBSD.org> |
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 #defin
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.
show more ...
|
#
263a9a2c |
| 30-Nov-2009 |
uebayasi <uebayasi@NetBSD.org> |
Move these analyzing functions into one place, get_libgcc_new_analyze().
|
#
b98c2399 |
| 30-Nov-2009 |
uebayasi <uebayasi@NetBSD.org> |
Typo.
|
#
1380d82f |
| 30-Nov-2009 |
uebayasi <uebayasi@NetBSD.org> |
Generate lists of template sources ("tmpsrcs") for each libraries. We'll need these to create wrappers of tmpsrcs and define correct dependencies.
|
#
141ef6c4 |
| 30-Nov-2009 |
uebayasi <uebayasi@NetBSD.org> |
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.
|
#
96a4ab5a |
| 30-Nov-2009 |
uebayasi <uebayasi@NetBSD.org> |
- 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 opti
- 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().)
show more ...
|
#
7e684b1d |
| 30-Nov-2009 |
uebayasi <uebayasi@NetBSD.org> |
- 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
- 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.
show more ...
|
#
12ee13e8 |
| 30-Nov-2009 |
uebayasi <uebayasi@NetBSD.org> |
Generate lists of functions built in libgcc libraries. This is known by pattern matching dependency lines in libgcc.mk.
|
#
00c7a5b6 |
| 30-Nov-2009 |
uebayasi <uebayasi@NetBSD.org> |
Generate a list of functions provided as *.S.
|
#
b0edbfb0 |
| 30-Nov-2009 |
uebayasi <uebayasi@NetBSD.org> |
Define paths of newly generated files.
|
#
ffa99e7e |
| 30-Nov-2009 |
uebayasi <uebayasi@NetBSD.org> |
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/li
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.
show more ...
|
#
9917d709 |
| 11-Oct-2008 |
mrg <mrg@NetBSD.org> |
- add a i386/t-netbsd64 makefile fragment to build 32/64 bit libgcc/multilib on amd64 - enable the 32/64 bit libgcc/multilib support on sparc64 - adapt mknative-gcc to grab multilib.h - use --enabl
- add a i386/t-netbsd64 makefile fragment to build 32/64 bit libgcc/multilib on amd64 - enable the 32/64 bit libgcc/multilib support on sparc64 - adapt mknative-gcc to grab multilib.h - use --enable-multilib on amd64 and sparc64
none of this affects the installed tools yet, just the src/tools one.
show more ...
|
#
9bb78116 |
| 19-Sep-2008 |
skrll <skrll@NetBSD.org> |
Grab libgcov stuff.
|
#
11670328 |
| 08-Feb-2008 |
skrll <skrll@NetBSD.org> |
Collect the libobjc config.h
|
#
51763b55 |
| 25-Jun-2006 |
mrg <mrg@NetBSD.org> |
convert build/ggc-none.o to build-ggc-none.lo.
|
#
212755b9 |
| 24-Jun-2006 |
mrg <mrg@NetBSD.org> |
also grab ${_extravars} for GCC4 in the get_gcc() function.
|
#
27d5fc1b |
| 09-Jun-2006 |
skrll <skrll@NetBSD.org> |
Fixes for mknative runs on gcc3.
- get the information from a gcc3 .native - don't get gcc4 variables - put back the getvars for SHLIB_LINK SHLIB_MULTILIB as they work on gcc3 and leave as XXX
Fixes for mknative runs on gcc3.
- get the information from a gcc3 .native - don't get gcc4 variables - put back the getvars for SHLIB_LINK SHLIB_MULTILIB as they work on gcc3 and leave as XXX'd on gcc4.
I've re-arranged some of the variables to minimise the differences, but didn't do them all.
show more ...
|
#
e6744c22 |
| 02-Jun-2006 |
mrg <mrg@NetBSD.org> |
make this work for GCC3 one again.
|