[MacPorts] #42375: i386-elf-gcc error while compiling: cannot find crt0.o

MacPorts noreply at macports.org
Sat Apr 25 14:02:35 UTC 2020


#42375: i386-elf-gcc error while compiling:  cannot find crt0.o
----------------------------+----------------------
  Reporter:  waves_no.13@…  |      Owner:  (none)
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.2.1
Resolution:                 |   Keywords:
      Port:  i386-elf-gcc   |
----------------------------+----------------------

Comment (by mojca):

 I hope that Rainer answers, I can only tell you why
 `x86_64-w64-mingw32-gcc` is so much different from the others.

 If you look at #40174, you'll notice that it took us some 2.5-3.5 years to
 even figure out how to build & package it (and that's after we already had
 a functional albeit abandoned `i386-mingw32` port), and we still don't
 even have the dependencies sorted out correctly (they are still cyclic
 after all these years).

 I have no clue how to properly test some random `arch-platform-gcc` short
 of having some special hardware available, but I really needed to build
 some binaries for Windows that would eventually run on the same machine
 (MacBook) where I built them. And if things didn't work, I had to keep
 trying.

 At least the MinGW-w64 cross-compiler requires a bunch of special Windows
 libraries that come from special packages, and there's a separate project
 devoted just to that. Lots of other boards need special support files to
 work.

 It might make sense to check how other distributions are addressing the
 problem.

-- 
Ticket URL: <https://trac.macports.org/ticket/42375#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list