Skip Links

Network World

  • Social Web 
  • Email 
  • Close

Finding a working copy of the GNU compiler

Dr. Internet By Steve Blass , Network World , 09/18/2007
Steve Blass

I want to use the GNU compiler for Java on my Mac but the GNU compiler in the Apple XCode package does not include it. I installed all the developer tools, the X-Windows environment package and downloaded the source code for the latest GCC release but I keep getting linker errors when I try to build the compiler from source. How can I get a working copy of the GNU compiler for Java for my Mac OS X?

There are at least two open source porting projects for the Mac that provide versions of the GNU Compiler Collection (GCC) that include the GNU Compiler for Java features you are looking for. MacPorts and Fink both provide access to GNU software that has been modified for the Mac OS X environment. Fink uses Debian Linux tools like dpkg and apt-get for package management while MacPorts uses its own set of package management commands. Both projects provide source code versions of GCC that will build and run under Mac OS X. In addition to the compiler collection, both projects provide large collections of binary and source packages modified specifically for the Macintosh. Installing the tools for both projects is similar, you download and install the MacPorts or Fink installer, then run an update procedure to make sure your package is up to date and then you follow the instructions for whichever toolset you’ve chosen to download and install the GNU packages you’re interested in. Between Fink and MacPorts, Mac ready versions of most of the GNU software you could ever want are available for installation without the headache of pinpointing and fixing or working around the quirks of Mac OS during software builds.

Partner Content
CA logo

CA Network & Voice Resource Center

Comprehensive Network & Voice Management Visit CA Network & Voice Management Resource Center and get insights into industry best practices, information that helps you to address your challenges.

CA Network & Voice Management Resource Center

whitepaper

Managing Voice Over IP for Successful Convergence

Voice over IP (VoIP) has much to offer in cost savings but some customers have concerns about VoIP call quality compared to the quality of traditional voice services. This white paper will help you learn how to take the right steps so that voice quality is assured.

Managing VoIP for Successful Convergence

whitepaper

The Changing Face of Network Management

Managing your network is serious business. This paper discusses the benefits of integrating configuration change-awareness into your network fault management solution

Download Whitepaper

Comment
Login
Forgot your account info?
Add comment
Anonymous comments subject to moderator approval. Register here for member benefits.
Have a NetworkWorld account? Log in here. Register now for a free account.

Videos

rssRss Feed
Save The Date!
What They Are Saying

Look, no one wants to accidentally (how ever well intended) let sensitive corporate or personal data...- Robert (30yr IT vet)

Join the Discussion