I usually install MacPorts from the tarball. In my experience, in order for macports itself to compile, you'll have to 1) install Xcode 2) install the Command Line Tools 3) open Xcode and let it install it's components otherwise, you'll get the error, that the c-compiler can't create an executable
-- Bjarne D Mathiesen Korsør ; Danmark ; Europa ----------------------------------------------------------------------- denne besked er skrevet i et totalt M$-frit miljø MacPro 2010 ; OpenCore + macOS 10.15.7 Catalina 2 x 3,46 GHz 6-Core Intel Xeon ; 256 GB 1333 MHz DDR3 ECC RDIMM ATI Radeon RX 590 8 GB
