Where do i find the 32 bit libraries on my 64 bit ubuntu system

Grant Edwards grant.b.edwards at gmail.com
Mon Jun 27 13:54:47 EDT 2016


On 2016-06-27, Steven Truppe <steven.truppe at chello.at> wrote:

> i want to write an application that works for both 32 bit and 64bit on 
> my 64bit ubuntu system, my problem i only find 64bit libraries under 
> /usr/lib, there is also a path callled /x86_64-linux-gnu/ <- are these 
> the libraries i should use for 32 bit and 64 bit programming ??

In my experience all you have to do is pass "-m32" to gcc.  It should
know where the 32-bit libraries are.

-- 
Grant Edwards               grant.b.edwards        Yow! UH-OH!!  I put on
                                  at               "GREAT HEAD-ON TRAIN
                              gmail.com            COLLISIONS of the 50's"
                                                   by mistake!!!




More information about the Python-list mailing list