Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-12-30libgloss: check for objcopy & objdump properlyMike Frysinger
A bunch of ports hack together these values rather than setting them up in the configure script for everyone.
2023-12-30libgloss: sparc: add missing m4 includeMike Frysinger
Commit 8d758283785042589e95c93d7899cecf28ef00ea ("libgloss: merge sparc configure script up a level") missed including the sparc acinclude.m4 file which meant none of the sparc-specific vars were propagating to the sub-makefile.
2023-12-19Add generated files for Revert patchJeff Johnston
2023-08-24libgloss: add Xtensa portAlexey Lapshin
Supported esp32 and esp32s2 boards: https://github.com/espressif/esp-toolchain-docs/blob/main/gcc/build-and-run-native-app.md
2023-02-22Fix libgloss/newlib build to conditionally use top include dirJeff Johnston
- conditionally use -idirafter option for arm
2023-01-14libgloss: merge csky into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit. A csky-elf build shows installed objects & libs produce same code.
2023-01-12libgloss: merge nios2 into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit. A nios2-elf build shows installed objects & libs produce same code.
2023-01-11libgloss: merge d30v into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit.
2023-01-11libgloss: merge arc into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit.
2023-01-11libgloss: merge arm into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit.
2023-01-10libgloss: merge aarch64 into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit.
2022-12-20libgloss: merge arm configure script up a levelMike Frysinger
Move the minor arm-specific logic to a dedicated variable so we can merge its configure logic up a level.
2022-12-20libgloss: merge aarch64 configure script up a levelMike Frysinger
Move the minor aarch64-specific logic to a dedicated variable so we can merge its configure logic up a level.
2022-08-26libgloss: riscv: Convert to non-recursive automakePalmer Dabbelt
PR 29515 points out our documentation builds are broken, let's just move over to the new non-recursive builds. Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
2022-03-02libgloss: merge lm32 into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit. This drops the header install logic because the lm32/ subdir doesn't actually have any header files to install.
2022-03-02libgloss: use m4_foreach_w to simplify the logic a bitMike Frysinger
It's functionally the same, but the configure.ac code is simpler and less boiler plate duplicated.
2022-02-26libgloss: switch to AM_PROG_ARMike Frysinger
Now that we require Automake 1.15, we can use this macro rather than set the tool up ourselves. The current code doesn't properly search for a prefixed ar tool as-is.
2022-02-25libgloss: finish migration to AM_PROG_ASMike Frysinger
When merging iq2000 up a level, it included a partial conversion to AM_PROG_AS in the common directory. Finish it for all directories to kill off the custom LIB_AM_PROG_AS which we no longer need since we require Automake 1.15 now.
2022-02-25libgloss: switch to standard AC_PROG_CCMike Frysinger
Now that we use AC_NO_EXECUTABLES, and we require a recent version of autoconf, we don't need to define our own copies of these macros. So switch to the standard AC_PROG_CC.
2022-02-24libgloss: merge sparc configure script up a levelMike Frysinger
Move the minor sparc-specific logic to a dedicated variable so we can merge its configure logic up a level.
2022-02-23libgloss: enable maintainer mode supportMike Frysinger
Use AM_MAINTAINER_MODE so devs have to opt-in to automatic rebuilds of autotools. This matches what newlib (and most every other GNU toolchain package) does with automake.
2022-02-18libgloss: merge mips configure script up a levelMike Frysinger
Move the minor mips-specific logic to a dedicated file & namespace them so we can merge its configure logic up a level.
2022-02-18libgloss: merge wince configure script up a levelMike Frysinger
Move the minor wince-specific logic to a dedicated file & namespace them so we can merge its configure logic up a level. The makefile is a bit tricky, but maybe it still works.
2022-02-17libgloss: build with -nostdincMike Frysinger
We don't want libgloss building against C library headers that happened to be installed with the toolchain, so add -nostdinc to the build. We still need access to the compiler internal headers, so probe those and include them via -isystem. This uses a similar probing style as glibc, which has used it for over a decade, so it should be safe & stable. This should prevent any latent bugs due to testing with a toolchain that is fully configured & installed already.
2022-02-17libgloss: merge mn10300 configure script up a levelMike Frysinger
Move the minor mn10300-specific logic to a dedicated file & namespace them so we can merge its configure logic up a level. part_specific_obj wasn't used anywhere (looks like copy & paste left over from mips), so drop it entirely.
2022-02-17libgloss: merge mn10200 configure script up a levelMike Frysinger
The mn10200-specific logic (setting up part_specific_obj) isn't used by the build anywhere -- looks like copy & paste left overs from mips. So punt that & merge the target_makefile_frag_path up to the top-level.
2022-02-17libgloss: merge m68k configure script up a levelMike Frysinger
Move the minor m68k-specific logic to a dedicated file & namespace them so we can merge its configure logic up a level.
2022-02-17libgloss: merge mcore configure script up a levelMike Frysinger
Move the minor mcore-specific logic to a dedicated file & namespace them so we can merge its configure logic up a level.
2022-02-17libgloss: merge moxie configure script up a levelMike Frysinger
Move the minor moxie-specific logic to a dedicated file & namespace them so we can merge its configure logic up a level.
2022-02-17libgloss: merge i386 configure script up a levelMike Frysinger
Move the minor i386-specific logic to a dedicated variable so we can merge its configure logic up a level.
2022-02-11libgloss: merge csky configure script up a levelMike Frysinger
Now that the csky-specific logic ($DO) has been deleted, we can fold it up a level easily enough.
2022-02-11libgloss: merge bfin into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit.
2022-02-11libgloss: merge iq2000 into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit.
2022-02-11libgloss: merge libnosys into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit.
2022-02-10libgloss: merge doc into top-level MakefileMike Frysinger
Avoid a recursive make with this tiny subdir to speed things up a bit.
2022-02-10libgloss: convert top level to automakeMike Frysinger
The top level dir isn't doing anything interesting, just recursing into subdirs. So this change isn't terribly exciting. But it sets us up for doing more fun stuff in follow up commits. [TODO] Check test targets
2022-02-05libgloss: restore multilib settings in subdir makefilesMike Frysinger
Commit 754f8def0dfeeb43afa5a96ad1971fd0ef02c419 ("libgloss: merge stub arch configure scripts up a level") had an unintended side-effect: the MULTI* variables in the Makefiles no longer get rewritten at configure time in the subdirs. Only the top-level Makefile still is. This is because the configure integration of multilib (both the way libgloss did it manually and the way AM_ENABLE_MULTILIB does it) only rewrites "Makefile". We could try propagating the MULTI* variables from libgloss/Makefile down via FLAGS_TO_PASS, but this runs into a limitation: the multilib logic uses this variable to switch from libgloss/ to each multilib libgloss/, and libgloss uses this variable to enter subdirectories. The latter we want, but the former ends up overridding the Makefile environment. We could side-step that with some GNU Make directives, but it feels like we're getting a bit too deep down the rabbit hole. Instead, let's call config-ml.in ourselves for each subdir Makefile that the top-level configure generates. This restores the previous behavior and should be less risky in general. This logic should be unnecessary when/if we switch libgloss over to a non-recursive Automake build (since all build+install settings are in the single libgloss/Makefile), but it'll be a while before we can land that rework, so let's fix this up now.
2022-02-02libgloss: move to ../config/multi.m4 for multilib logicMike Frysinger
The current libgloss multilib logic is almost exactly the same as the config/multi.m4, and the differences should be minor, so switch over to that to delete custom logic on ourside. The insertions here look larger and that's because none of the scripts were declaring --enable-multilib explicitly even though they checked the flag and changed behavior.
2022-02-02libgloss: merge subdirs that have unique makefile_frags up a levelMike Frysinger
Merge the subdir configure scripts up that only existed to set unique values for their target/host makefile_frags.
2022-02-02libgloss: merge epiphany & libnosys & or1k configure scripts up a levelMike Frysinger
These subdirs have unique configure scripts to do some compiler tests. The checks should work for all targets, so hoist them up to the top libgloss dir. This should allow us to delete these subdir configure scripts. It means the top-level gains autoheader support, but that's fine. It wasn't exporting any defines previously (i.e. -D into CPPFLAGS), and all of the defines it now exports are only used by code in the libnosys subdir which was expecting to have a config.h.
2022-01-26libgloss: merge stub iq2000 configure scripts up a levelMike Frysinger
This was supposed to be included in the previous commit.
2022-01-26libgloss: merge stub arch configure scripts up a levelMike Frysinger
For about half the ports, we don't need a subdir configure script. They're using the config/default.m[ht] rules, and they aren't doing any unique configure tests, so they exist just to pass top-level settings down to create the arch Makefile. We can just as easily do that from the top-level Mkaefile directly and skip configure. Most of the remaining configure scripts could be migrated up to the top-level too, but that would require care in each subdir. So let's be lazy and put that off to another day.
2022-01-26libgloss: define default target_makefile_frag in top-levelMike Frysinger
A bunch of subdirs want this, so make it available in the common dir to ease future merges. It isn't used directly in libgloss so it should be harmless as-is.
2022-01-17libgloss: clean up redundant shared lib warningsMike Frysinger
Use standard AC_MSG_WARN macro in the top-level configure, and delete the message from all the subdirs. There's no need to issue this more than once per libgloss build.
2022-01-14require autoconf-2.69 exactlyMike Frysinger
The newlib & libgloss dirs are already generated using autoconf-2.69. To avoid merging new code and/or accidental regeneration using diff versions, leverage config/override.m4 to pin to 2.69 exactly. This matches what gcc/binutils/gdb are already doing. The README file already says to use autoconf-2.69. To accomplish this, it's just as simple as adding -I flags to the top-level config/ dir when running aclocal. This is because the override.m4 file overrides AC_INIT to first require the specific autoconf version before calling the real AC_INIT.
2022-01-11libgloss: hardcode AC_CONFIG_AUX_DIR pathMike Frysinger
In order to transition to automake, we have to use hardcoded paths in the AC_CONFIG_AUX_DIR macro call (since automake evaluates the path itself, and doesn't expand vars), so simplify all the calls here.
2021-11-06libgloss: regenerate aclocal.m4 & configure w/newer versionsMike Frysinger
Regenerate the files using automake-1.15 & autoconf-2.69 to match the binutils/gdb/gcc projects. Ran: libgloss $ find -name configure.ac -printf '%h\n' | while read d; do (cd $d; export WANT_AUTOCONF=2.69 WANT_AUTOMAKE=1.15; aclocal-1.15 -I.. && autoconf-2.69); done
2020-09-25Add C-SKY port for libglossJojo R
This patch contain all libgloss for C-SKY Contributor list: - Lifang Xia <lifang_xia@c-sky.com> - Jojo R <jiejie_rong@c-sky.com> - Xianmiao Qu <xianmiao_qu@c-sky.com> - Yunhai Shang <yunhai_shang@c-sky.com>
2019-12-16MSP430: Support new msp430-elfbare targetJozef Lawrynowicz
Update the target triplet glob used when configuring for msp430 to support a new msp430-elfbare target being added to gcc.
2019-11-02Fix libgloss being built for disabled multilibsJozef Lawrynowicz
Target libraries are considered to be built for GCC's "host", not GCC's "target". The "host" variable must be set by configure scripts using "config-ml.in" to determine multilib support, otherwise disabled multilibs (specified as a configure argument with --disable-<multilib>) will still be built for the subdirectories those configure scripts reside in.