[Bug ada/64492] Disabling libada prevents building gnattools-cross

laguest at archeia dot com gcc-bugzilla@gcc.gnu.org
Mon Jan 5 05:34:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64492

Luke A. Guest <laguest at archeia dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |laguest at archeia dot com

--- Comment #2 from Luke A. Guest <laguest at archeia dot com> ---
I haven't sent in my copyright assignment yet.

But, I noticed this in the gnat makefile a while back and was going to
investigate, but haven't got around to it yet:

# *-elf, *-eabi, or *-eabispe
ifeq ($(strip $(filter-out elf eabi eabispe,$(target_os))),)
  TOOLS_TARGET_PAIRS=\
  mlib-tgt-specific.adb<mlib-tgt-specific-xi.adb \
  indepsw.adb<indepsw-gnu.adb
endif

Essentially, we just need for that to include a specific system or build with
just those two files and it's sorted.

It may require a custom target, such as the gnatlib-shared-win32/darwin targets
to do this cleanly without hacking up the configure scripts.

I don't know which is the best route to take.



More information about the Gcc-bugs mailing list