Up to [DragonFly] / src / gnu / usr.bin / cc3 / cc
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Remove the GCC 3.3 build system.
Hook gcc 3.4 into the buildworld. Rearrange HOST_CCVER so it becomes the
responsibility of the Makefile element that is overriding CCVER. Get rid
of the obsolete MY_CCVER magic. Fix improper use of ${.TARGET} in
cc34/cc_tools/Makefile.tools. Do not try to override _CPUCFLAGS in
bsd.hostprog.mk, which doesn't handle the generic .nx/.no case. Instead
remove -mtune, -mcpu, and -march options in NXCFLAGS and NXCXXFLAGS.
Work-by: Joerg Sonnenberger <joerg@crater.dragonflybsd.org>
Reviewed-by: Matthew Dillon <dillon@backplane.com>
Undo the xmalloc->malloc optimization FreeBSD made in certain cases where xmalloc gets defined to malloc which gets defined to xmalloc which gets defined to malloc again which gets defined to ... and so on. Culprits: parser files, gcc/system.h, dragonfly-native.h, and various Makefile's. Add [DragonFly] to gcc3's version ident.
Update the GCC3 infrastructure Stage 1/2. This commit generates the basic infrastructure needed to support /usr/src/contrib/gcc-3.3 (a pristine gcc dist) intead of /usr/src/contrib/gcc3 (munged version taken from FreeBSD-5). This stage does not have all the fbsd/dfly specific extensions, such as -fformat-extensions.
Both cc and cc3 were built using CCVER=$(CCVER) for certain compiler path. Since this value is set to choose the build compiler, one of the two was compiled with wrong pathes for its backend. To fix this a new variable MY_CCVER is added to Makefile.inc which specifies the version of the compiler being built.
Rename GCCVER to CCVER and prepend gcc to the former values
* Starting using GCCVER when needed and other things to reflect build changess currently in progress.
* Drop the directory outline for building gcc3.
This is not ready to be used yet as everything needs to
be reworked to install in the new compiler location.