[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Building 32-bit libraries on 64-bit machine



    On 07.06.2013 12:05, Ashwin Kumar wrote:
     > On Fri, Jun 7, 2013 at 3:04 PM, Christian Manal <
     > moenoel@informatik.uni-bremen.de
    <mailto:moenoel@informatik.uni-bremen.de>> wrote:
     >
     >> -m32
     >
     >
     > Can I not pass "-m32" flag to make while compiling?


    I'm note sure about that. You could just try to run

        make CFLAGS=-m64

    but that'd override whatever else configure put in there in the Makefiles.

Safer to use
	make CC="gcc -m32"
for that reason

--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/