[brailleblaster] Compiling 32-bit binaries on a 64-bit gcc]

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
  • To: brailleblaster@xxxxxxxxxxxxx
  • Date: Thu, 22 Dec 2011 21:17:24 -0600

Here is a reply from the blind Linux list, blinux@xxxxxxxxxx 

John

----- Forwarded message from Koichi INOUE <inoue@xxxxxxxx> -----

Subject: Re: Compiling 32-bit binaries on a 64-bit gcc 
From: Koichi INOUE <inoue@xxxxxxxx>
Date: Fri, 23 Dec 2011 11:19:18 +0900 (JST)
To: blinux-list@xxxxxxxxxx, john.boyer@xxxxxxxxxxxxxxxxx

Hi,

gcc -m32 sample.c
works.
You will need to install 32-bit libc and development headers to do this.

"John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx> writes:

> Is there a gcc option that will do this? I need to compile liblouis and 
> liblouisutdml for both architectures, but my system is 64-bit.
> 
> Thanks,
> John

--
Koichi Inoue, ARGV

----- End forwarded message -----

-- 
John J. Boyer; President, Chief Software Developer
Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing software for people with disabilities


Other related posts: