Re: 32-bit compat-gcc on 64-bit CentOS?

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



John Doe wrote:
> From: Alan M. Evans<ame1@xxxxxxxxxxxxx>
>
>> What set of packages would that be? Like I said, the  header in question
>> is owned by compat-gcc-34, and there is only a 64-bit  version available
>> in the repos.
>
> Not sure what you meant but there is a 32-bit version...
>
> /centos/5/os/i386/CentOS/compat-gcc-34-3.4.6-4.i386.rpm
> /centos/5/os/i386/CentOS/compat-gcc-34-c++-3.4.6-4.i386.rpm
> /centos/5/os/i386/CentOS/compat-gcc-34-g77-3.4.6-4.i386.rpm
>
> /centos/5/os/x86_64/CentOS/compat-gcc-34-3.4.6-4.x86_64.rpm
> /centos/5/os/x86_64/CentOS/compat-gcc-34-c++-3.4.6-4.x86_64.rpm
> /centos/5/os/x86_64/CentOS/compat-gcc-34-g77-3.4.6-4.x86_64.rpm
>
> But not sure you can have both installed at the same time...


As suggested by JD, you could try downloading the i386 package for 
compat-gcc-34. You will have to get the rpm manually (eg with wget) 
since it's not in the x86_64 repo. Then try to install it, hopefully any 
deps can be found in the x86_64 centos repos (eg 32-bit versions of 
libgcc and glibc are there).
If it conflicts with 64-bit compat-gcc-34, you can rpm -e this package 
and try again (assuming you only need to compile for 32-bit with gcc34).

Than see if your project builds, and if it does carefully check the 
shared libs with ldd - and test in your embedded system.
Might work, might not. But it will be a lot faster than reinstalling, so 
may be worth a shot.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux