bebbo / gcc

Bebbo's gcc-6-branch for m68k-amigaos
GNU General Public License v2.0
33 stars 11 forks source link

compiler doesn't run correctly on freebsd - finding current exec path is broken #185

Closed erikarn closed 2 years ago

erikarn commented 2 years ago

This code using procfs to find the current exec path, which isn't there by default on freebsd. This causes all of the amiga specific spec rules to just fail, and thus all the commands are just weirdly broken.

So, I've added a quick hack patch to use sysctl() on FreeBSD to do it. It seems to work!