Page 1 of 1

Need help figuring if I have the correct 32 bit packages installed for STM32 Tool Chain.

Posted: 2020/06/06 20:25:14
by kinolo
Hello there!

I am in the process of installing the STM32 Tool chain on my CentOS 7 64 bit. These are the commands for installing the packages needed on Ubuntu 64 bit.

Code: Select all

$ sudo dpkg –-add-architecture i386
$ sudo apt-get update
$ sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
I did a grep search on the installed packages with yum list installed | grep -i package-name for libc, ncurses and libstdc++. This is what was returned (there were some other search results that didn't seem relevant):

Code: Select all

ncurses.x86_64                         5.9-14.20130511.el7_4           @anaconda
ncurses-base.noarch                    5.9-14.20130511.el7_4           @anaconda
ncurses-devel.i686                     5.9-14.20130511.el7_4           @base    
ncurses-devel.x86_64                   5.9-14.20130511.el7_4           @anaconda
ncurses-libs.i686                      5.9-14.20130511.el7_4           @base    
ncurses-libs.x86_64                    5.9-14.20130511.el7_4           @anaconda

libstdc++.i686                         4.8.5-39.el7                    @base    
libstdc++.x86_64                       4.8.5-39.el7                    @anaconda
libstdc++-devel.x86_64                 4.8.5-39.el7                    @anaconda


glibc.i686                             2.17-292.el7                    @base    
glibc.x86_64                           2.17-292.el7                    @anaconda
glibc-common.x86_64                    2.17-292.el7                    @anaconda
glibc-devel.i686                       2.17-292.el7                    @base    
glibc-devel.x86_64                     2.17-292.el7                    @anaconda
glibc-headers.x86_64                   2.17-292.el7                    @anaconda
I see that the i686 versions of all 3 are already installed.

If these aren't the right packages then please help me out here. I have tried adding multilib_policy=all to yum.conf and tried yum whatprovides package-name and still got no results for the package names in the Ubuntu commands. Can someone please confirm that the ones I have installed are the CentOS equivalent packages for the Ubuntu ones?

Re: Need help figuring if I have the correct packages installed.

Posted: 2020/06/06 21:23:49
by TrevorH
CentOS and Ubuntu don't share package names but Ubuntu's libxxx-dev is usually called xxx-devel in CentOS.

Re: Need help figuring if I have the correct packages installed.

Posted: 2020/06/07 06:53:46
by kinolo
TrevorH wrote:
2020/06/06 21:23:49
CentOS and Ubuntu don't share package names but Ubuntu's libxxx-dev is usually called xxx-devel in CentOS.
Great. ncurses-devel.i686 and glibc-devel.i686 were already installed. So it seems the only one I was missing was the libstdc++-devel for i686. I installed the RPM package for it. Hope this is all the tool chain requires. I guess I'll find out. :D

Thanks for your help!