Date: Sun, 7 Mar 2021 19:30:47 -0500 From: Curtis Hamilton <clhamilto@gmail.com> To: freebsd-ppc@freebsd.org Subject: FreeBASIC port to PowerPC Message-ID: <CAP9EAie7toQH4kOzu=Gv2tvQBzQr-gs0VFw%2BaiYDdSJ=WE86%2Bg@mail.gmail.com>
index | next in thread | raw e-mail
With the help of others I’ve made significant progress and now have freebasic working for PowerPC. The ability for fbc to locate needed libraries and files seems to be broken on FreeBSD. I had to manually add the needed libs to build and link fbc-tests. I’ve successfully built and run the log tests with no failures. The unit tests build, but get errors running the test. There are endian issues with the tests. This is still a work in-progress. However, anyone interested in helping or trying fbc on FreeBSD can find my work at: https://GitHub.com/lenoil98/fbc <https://github.com/lenoil98/fbc> To build fbc, all you need to clone my repo and type “gmake bootstrap”. If all goes well, you should have the compiler “fbc” in the bin directory and runtime in lib/freebasic/freebsd-[arch]. Due to the issue noted above, you will need to copy the files crtend.o, crti.o, crtsavres.o, crtbegin.o, crtn.o and gcrt1.o to the lib/freebasic/freebsd-powerpc[64] directory before attempting to compile any of the example code. If you install fbc, you’ll also need to copy these same files to /usr/local/lib/freebasic/freebsd-powerpc[64]. There is also support for arm and aarch64, but I’ve not tested this.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAP9EAie7toQH4kOzu=Gv2tvQBzQr-gs0VFw%2BaiYDdSJ=WE86%2Bg>
