gcc languages

Ryan Schmidt ryandesign at macports.org
Fri Dec 22 15:50:09 PST 2006

On Dec 22, 2006, at 17:33, Alexy Khrabrov wrote:

> On 12/22/06, Yves de Champlain wrote:
>> Le 06-12-22 à 04:55, Alexy Khrabrov a écrit :
>> > What's the way to specify languages when I get gcc via macports?
>> > Specifically, I need  Ada and Fortran.
>> gcc-4.1 is installed with configure.args  --enable-languages=c,c+
>> +,java,objc,obj-c++,fortran
>> I don't know why ada is not included, but the only way to change this
>> is to change this specific Portfile line (or add a variant)
> What's the proper way -- for a new ports user -- to alter the
> configure.args?  I assume you download it somewhere locally, alter the
> profile, and do build from that source a lá src rpm?  An outline of
> steps/options would be instructive!

One way is to just "port edit gcc-4.1" and make the changes. They'll  
be overwritten the next time you "port sync".

More information about the macports-users mailing list