https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118414
Bug ID: 118414 Summary: cross compiling fails Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2 Assignee: gaius at gcc dot gnu.org Reporter: gaius at gcc dot gnu.org Target Milestone: --- Forwarded from the gm2 mailing list: """ The Modula-2 compiler is not cross-compilable. During configuration, they simply forgot to add the --host triplet (which fails immediately) and additionally, the mlink, mc utilities, which are supposed to run on the build machine, are cross-compiled for the target. This, of course, results in an error when running mlink on the build machine (during the GCC build). There are many such errors, for example, when assembling the gmp library, improper build, host, target triplets are used and without applying patches to Makefile.in, it will not be possible to cross-compile with GCC. People forget that (in the case of GCC): - build - is the machine where GCC is compiled; - host - is the machine where the built collection of compilers (GCC) will run; - target - is the machine for which programs are prepared with GCC on the host machine. """