gmake/makeinfo's config.guss/config,sub script is too old to USETOOLS cross build on latest Cygwin

Issue #343 open
Takehiko NOZAKI repo owner created an issue

T/O

Comments (3)

  1. Takehiko NOZAKI reporter
    • changed status to open

    vax's gcc4.1 may fail to build, configure args --build=vax--netbsdelf is not working…

  2. Takehiko NOZAKI reporter

    from gnu/dist/gcc4/gcc/Makefile.in:

    # Dump a specs file to make -B./ read these specs over installed ones.
    $(SPECS): xgcc$(exeext)
            $(GCC_FOR_TARGET) -dumpspecs > tmp-specs
            mv tmp-specs $(SPECS)
    

    \$(GCC_FOR_TARGET) variable is differ if --build is set or not:

    • OK(without --build=<CONFIG_SUB>)
    /usr/obj.vax/usr/src/tools/gcc/build/./gcc/xgcc -B/usr/obj.vax/usr/src/tools/gcc/build/./gcc/ -B/usr/obj.vax/usr/src/tooldir.NetBSD-6.1_STABLE-amd64/vax--netbsdelf/bin/ -B/usr/obj.vax/usr/src/tooldir.NetBSD-6.1_STABLE-amd64/vax--netbsdelf/lib/ -isystem /usr/obj.vax/usr/src/tooldir.NetBSD-6.1_STABLE-amd64/vax--netbsdelf/include -isystem /usr/obj.vax/usr/src/tooldir.NetBSD-6.1_STABLE-amd64/vax--netbsdelf/sys-include -dumpspecs > tmp-specs
    
    • NG(with --build=<CONFIG_SUB>)
    vax--netbsdelf-gcc  -dumpspecs > tmp-specs
    

    \$(GCC_FOR_TARGET) variable is set by only following step gnu/dist/gcc4/gcc/Makefile.in:

    # The GCC to use for compiling libgcc.a and crt*.o.
    # Usually the one we just built.
    # Don't use this as a dependency--use $(GCC_PASSES) or $(GCC_PARTS).
    GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) ./xgcc -B./ -B$(build_tooldir)/bin/ -isystem $(build_tooldir)/include -isystem $(build_t
    ooldir)/sys-include -L$(objdir)/../ld
    

    who broke the value?

  3. Log in to comment