This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Discussion about merging Go frontend


On Fri, Oct 29, 2010 at 4:39 PM, Ian Lance Taylor <iant@google.com> wrote:
> "H.J. Lu" <hjl.tools@gmail.com> writes:
>
>> On Fri, Oct 29, 2010 at 4:15 PM, Ian Lance Taylor <iant@google.com> wrote:
>>> Paolo Bonzini <bonzini@gnu.org> writes:
>>>
>>>> On 10/24/2010 07:40 AM, Ian Lance Taylor wrote:
>>>>> configure.ac
>>>>> ? ?Add libgo. ?If building Go, build C++ as a boot language.
>>>>
>>>> Can you generalize this using something in gcc/go/config-lang.in?
>>>
>>> I have now done this on the gccgo branch. ?If language X's
>>> config-lang.in sets the shell variable lang_requires_boot_language, then
>>> if X is enabled all those languages are built during stage 1.
>>>
>>
>> Don't we have boot_language for this purpose?
>
> No, boot_language serves a different purpose. ?It says that the language
> itself should be built during stage 1. ?What I need for Go is to say
> that C++ should be built during stage 1. ?That is, boot_language is a
> yes or no value. ?I have added lang_requires_boot_language, which takes


Will put

if [ Go is enabled ]; then
  boot_language=yes
fi

in cp/config-lang.in work?


-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]