[haiku-commits] Re: r36636 - haiku/trunk/build/jam

  • From: Matt Madia <mattmadia@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 6 May 2010 21:43:35 +0000

On Thu, May 6, 2010 at 19:39, Ingo Weinhold <ingo_weinhold@xxxxxx> wrote:
>> +# GetText
>> +if [ IsOptionalHaikuImagePackageAdded GetText ] {
>> +    if $(TARGET_ARCH) != x86 {
>> +        Echo "No optional package GetText available for $(TARGET_ARCH)" ;
>> +    } else {
>> +        if $(HAIKU_GCC_VERSION[1]) >= 4 {
>> +        InstallOptionalHaikuImagePackage
>> +            gettext-0.17-x86-gcc4-2010-05-06.zip
>> +            : $(baseURL)/gettext-0.17-x86-gcc4-2010-05-06.zip
>> +            :
>> +            : true
>> +        ;
>> +        InstallSourceArchive gettext-0.17_haiku-2010-05-06.tar.xz
>> +            : $(baseSourceURL)/gettext-0.17_haiku-2010-05-06.tar.xz ;
>> +        } else if $(HAIKU_GCC_VERSION[1]) = 2 && $(isHybridBuild) {
>> +        InstallOptionalHaikuImagePackage
>> +            gettext-0.17-x86-gcc2h-2010-05-06.zip
>> +            : $(baseURL)/gettext-0.17-x86-gcc2h-2010-05-06.zip
>> +            :
>> +            : true
>> +        ;
>
> I'm confused: A gcc 4 package and a gcc 2 hybrid only package? How are they
> different?

The gcc2hybrid package is the gcc4 zip reorganized such that it's libs
under gcc4/

A while back, there was an  email thread that suggested doing this
when a package for one of the gcc's weren't available & the package is
gcc sensitive. Since all 3 packages also link to libnetwork, i'm
assuming that they're gcc-specific.

--mmadia

Other related posts: