This is the mail archive of the gcc-help@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: Make process looping


24.1.2013 11:53, Kai Ruottu kirjoitti:
24.1.2013 9:45, Syed Ahsan Ali Bokhari kirjoitti:
Simplifying it. 32bit library is already present as you can see below.


[root@pmd02 pmdtest]# yum provides "*gnu/stubs-32.h" Loaded plugins: rhnplugin, security This system is not registered with RHN. RHN support will be disabled. glibc-devel-2.5-34.i386 : Object files for development using standard C libraries. Matched from: Filename : /usr/include/gnu/stubs-32.h



[root@pmd02 pmdtest]# yum install glibc-devel-2.5-34.i386
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Parsing package install arguments
Package glibc-devel-2.5-34.i386 already installed and latest version
Nothing to do
[root@pmd02 pmdtest]#

But I dont see any stubs-32.h in /usr/include/gnu/


I don't know those yum commands but a simple check with the CentOS 5 clone archives
for the quite recent 5.8 distro told there being another RPM with the headers :


ftp://ftp.funet.fi/pub/linux/mirrors/centos/5.8/os/i386/CentOS/glibc-headers-2.5-81.i386.rpm


So maybe the 'glibc-devel-2.5-34.i386.rpm' really includes what its description says :
"Object files for development using standard C libraries". "Object files" aren't really
the same thing as "headers" which are pure "Text files" !


Oops, that was the i386 distro!!!

When checking whether the glibc-devel-2.5-34.i386 for AS5, found at :

ftp://ftp.pbone.net/mirror/www.startcom.org/AS-5.0.1/os/x86_64/StartCom/RPMS/glibc-devel-2.5-34.i386.rpm

includes what you will need, the result was :

[root@localhost host-CentOS5.3_x86_64]# rpm2cpio /home/kai/Lataukset/CentOS5.3/x86_64/glibc-devel-2.5-34.i386.rpm | cpio -idmuvB
./usr/include/gnu/stubs-32.h
./usr/lib/Mcrt1.o
./usr/lib/Scrt1.o
./usr/lib/crt1.o
./usr/lib/crti.o
./usr/lib/crtn.o
./usr/lib/gcrt1.o
./usr/lib/libBrokenLocale.a
./usr/lib/libBrokenLocale.so
......


So the RPM should include the '/usr/include/gnu/stubs-32.h' !!! It should be easy to see what
a '.rpm' has or not has via extracting it into some temporary directory (just like I did) and then
looking oneself...



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