Request 237 was acted upon.
_________________________________________________________________________
URL: https://rt.openpkg.org/id/237
Ticket: [OpenPKG #237]
Subject: [gcc] enabling additional languages
Requestors: [EMAIL PROTECTED]
Queue: openpkg
Owner: Nobody
Status: open
Transaction: Correspondence added by [EMAIL PROTECTED]
Time: Mon Aug 18 17:38:13 2003
________________________________________________________________________
> On Mon, Aug 18, 2003, [EMAIL PROTECTED] via RT wrote:
>
> > The current gcc package provides a build-time option to selectively
> > enable the C++ language, via the following construct:
> >
> > %if "%{with_cxx}" == "yes"
> > l_enable_languages="${l_enable_languages},c++"
> > %endif
> >
> > I would like to suggest adding a similar build-time option for Fortran
> > support. I know that this language is not the most fashionable any more,
> > but we at least have several users who would appreciate a Fortran
> > compiler.
> >
> > I imagine this would not affect the stability of the gcc package, since
> > the option could/would be disabled by default.
> >
> > Comments?
>
> Yes, this certainly can be done as an %option. The same should be done
> perhaps for the GCC Java frontend. The problem is just that additional
> frontends usually also need additional run-time libraries. The question
> is whether these also have to be included or whether we make separate
> packages out of them...
> Ralf S. Engelschall
> [EMAIL PROTECTED]
> www.engelschall.com
I have done a trial run with g77 back when GCC 3.2 was the current
package. Because the GCC team has chosen to implement the Fortran
frontend as a thin wrapper around C library calls, there are not too
many extra libraries needed.
If memory serves, there was an extra static library (.a) produced, the
g77 executable, and perhaps a few include files. All of these were
self-contained inside the gcc package.
----
Matt Hoosier
Unix administrator / Accounts manager
CIS Department, Kansas State University
______________________________________________________________________
The OpenPKG Project www.openpkg.org
Bug Database Interface www.openpkg.org/bugdb
Bug Database List [EMAIL PROTECTED]