On Jan 4, 2017, at 9:20 AM, John L. Ries jries@salford-systems.com wrote:
Has anyone tried to build GPC using the MacPorts toolchain?
Won't work since a modern Mac OS X compatible GNU ld linker is no longer to be found in current versions of the GNU binutils (or odcctools) package. Last time I searched for a solution to linker related GPC building problems it looked like Mac OS X GNU ld support in the binutils (or odcctools) package was dropped starting with Mac OS X 10.11. Since there's no alternative to using Apple's linker you'll still be stuck with the show stopper linker issues.
Apple's made a lot of changes in the software build tool chain since Adriaan's last 10.6 compatible update to the GPC/gcc Mac OS X build package. Over the years the mainline GNU tool chain maintainers have continually updated the software to keep modern version of most GNU tools working will all the Apple related changes. Using an old OS X version SDK and some of the modern GNU tools, you can get through quite a bit of that decades old pile of GPC/gcc source code but without a linker alternative some changes are going to be needed GPC/gcc source code base to fix the linker related problems.
Note: You'll still need a modern version of gcc and GNU as to get the old GPC/gcc source code version to compile and assemble to object code with newer Mac OS X XCode llvm based tool chains. There's some old style GNU C version source code in the old code that Apple's llvm based clang barfs on and there's some assembly source code compatibility issues with what clang's integrated assembler will accept.
On Wed, 4 Jan 2017, Gale Paeper wrote:
On Jan 2, 2017, at 8:27 AM, Paul Isaacs paul@redpineinstruments.org wrote:
Hello,
For Macs,
Will gcc-3.4.4 and gpc20060325 compile and run on a current Mac?
Not at present. As I discussed in an e-mail to the list a few days ago, Starting with 10.8 and later versions, Apple's changes to the stock tool chain and system header and libraries are such that none of the gcc/GPC supported source code combinations will not build.
If not, will a cross compile of same run on a current Mac?
I don't think it will. One big stopper is the linker invoking command that is compiled into the GPC/gcc driver program when cross compiler is built. The linking command that are compiled into the gcc-3.4.4 and gpc20060325 combination won't work with Mac OS X 10.8 or later.
Gale Paeper gpaeper@empirenet.com