Compilation with fc9 in 32 bits precision on a x86_64 computer

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

 




Hello

I ran previously my computer with fc6

I have installed fc9 on my computer which is a x86_64 one, and now I am unable to compile C programs with the -m32 (32 bits) mode.

I discovered that a lot of files and links have been removed from fc6 :

Files :

/usr/lib/*crti.o
/usr/lib/crt1.o
/usr/lib/ctrn.o

Links :

/lib/libc.so
/lib/libm.so
/lib/libz.so
/usr/lib/libltdl.so

I copied them back from fc6 (not erased, juste in a renamed partition), but may be it is a wrong idea,
since I have now the following issue ( and no key given by Google) :

> cat conftest.c; gcc -m32 conftest.c

int
main ()
{

  ;
  return 0;
}

/usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../lib/crt1.o: In function `_start':
(.text+0xc): undefined reference to `__libc_csu_fini'
/usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../lib/crt1.o: In function `_start':
(.text+0x11): undefined reference to `__libc_csu_init'
collect2: ld a retourné 1 code d'état d'exécution

> uname -a

Linux enescu.math.u-bordeaux1.fr 2.6.25.14-108.fc9.x86_64 #1 SMP Mon Aug 4 13:46:35 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux

Please can you tell me what is the correct procedure to follow to be able to compile in 32bits mode with fc9
on a x86_84 computer ?

Yours

R.Butel

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux