Re: How best to downgrade gcc to 4.4 or 4.3?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 14/02/11 13:59, David C. Rankin wrote:
On 02/13/2011 09:52 PM, David C. Rankin wrote:
On 02/13/2011 08:52 PM, David C. Rankin wrote:
On 02/13/2011 07:07 PM, Allan McRae wrote:
That is not a downgrade but a separate package.   You will need to use something
like "CC=gcc-4.3 ./configure" in your PKGBUILD to use that gcc version.

Allan

Oh, your good...

   I would have messed that up royally. Thanks for being clairvoyant :p

   Now to figure out how that figures in to cmake builds :)


Looks like adding the following to the PKGBUILD works:

   cd ${srcdir}

   cmake ../ \
     -DCMAKE_C_COMPILER=${_c_compiler} \
     -DCMAKE_CXX_COMPILER=${_cxx_compiler} \
<snip>

is what will work. Let me know if this is the wrong way to do it. Thanks.




UUGH!

"undefined reference to `std::ctype<char>::_M_widen_init() const@GLIBCXX_3.4.11'"

Looks like I need to downgrade other parts as well - bummer. kdebase built for
10 minutes until it hit the undefined reference. Full error:

<snip>

What other parts/packages do I need to downgrade, etc. to work with gcc-4.3?


None - you probably need to rebuild earlier Trinity components with the older gcc though.

Allan


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux