Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jun 2006 18:25:20 +0200
From:      Karel Miklav <karel.miklav@siol.net>
To:        ports@freebsd.org
Cc:        gerald@FreeBSD.org
Subject:   GCC with GNAT Ada compiler
Message-ID:  <448EE6F0.3040003@siol.net>

next in thread | raw e-mail | index | archive | help
Hello,

I've put together a gnat34 port and updated gcc41
so that it can build the GNAT Ada compiler too. I'm
new to this and I'd like to have some feedback.

The gnat34 port is made of GCC 3.4.6, where I used
some features of the existing GNAT port (binary
distribution of GNAT 3.15p...). The port is pretty
clean, but I made it for bootstrapping purposes
and the resulting compiler is not tested beyond
compilation of some simple utilities. It installs
binaries in ${PREFIX}/bin/gcc34, user is required
to modify his PATH and s/he's ready to go.

The gcc41 port with GNAT is in preliminary stage.
Everything but C and Ada is blocked and I didn't
touch the PLIST so it doesn't uninstall. My
questions:

  1. why gcc41 installs binaries in ${PREFIX}/
     bin/? Isn't this a problem if multiple
     compilers are installed?

  2. with default configure parameters Ada library
     gets installed into ${PREFIX}/lib/gcc/
     i386-portbld-freebsd6.1/4.1.2/gcc/
     i386-portbld-freebsd6.1/4.1.2/. Would it be
     OK for other compilers to configure with
     --bindir=${PREFIX}/bin/gcc41? Maybe this is
     a GNAT bug and should be fixed?

  3. Is it OK to build in switches for excluding
     Objective C and C++?

Ports are at:

  - http://lovetemple.net/gnat-gcc.tbz

--

Regards,
Karel Miklav



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?448EE6F0.3040003>