Generate 32bit programs on x86_64 architecture?

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



I'm trying to run purify on CentOS on an Intel Pentium 4/630
processor.  Purify does not like the 64bit code.  Is there
some way to compile and run programs so that they are
only using the 32 bit model?

I tried gcc -m32 but then the system libraries come
up missing.

Purify engine: Error: Couldn't open the file crt1.o

Purify engine: Error: Couldn't open the file crti.o

Purify engine: Error: Couldn't resolve library directive: -ltcl8.4,
(couldn't find library libtcl8.4.so or libtcl8.4.a).

Purify engine: Error: Couldn't resolve library directive: -ldl,
(couldn't find library libdl.so or libdl.a).

Purify engine: Error: Couldn't resolve library directive: -lieee,
(couldn't find library libieee.so or libieee.a).

Purify engine: Error: Couldn't resolve library directive: -lm,
(couldn't find library libm.so or libm.a).

Purify engine: Error: Couldn't resolve library directive: -lc,
(couldn't find library libc.so or libc.a).

Purify engine: Error: Couldn't open the file crtn.o

Purify engine: Error: Couldn't resolve library directive: -ldl,
(couldn't find library libdl.so or libdl.a).


[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