How to generate 32-bit binary on 64-bit machine

From: Xihong Yang <yang_at_nevis1.nevis.columbia.edu>
Date: Tue, 07 Jul 1998 16:44:23 -0400 (EDT)

Hi,

Greeting! I am working on exporting a big package to DEC3000/700 running
DU4.0B. The codes are writing in C, C++ and Fortran. It also needs to link
to a library developed by other institute. We are using Digital f77 to
compile the Fortran codes and gcc/g++ to compile C/C++. The generated
object files are 64-bit binaries. But the library we got from other
institute is compiled as 32-bit binary (also under DU4.0, but I do not
know what kind machine they are using). I can recompile this library but
some codes in the library explicitly assume addresses can fit into 32-bit
varibales. I is not easy to modify the library codes. So I my question is:

Can I use Digital f77 and GNU gcc/g++ to generate 32-bit binaries? and
how?

-- Xihong
       + Nevis Lab, Columbia University
    _ O _ Tel:(914)591-2840 (office) __o
   ( `-|-' ) (212)749-8849 (home) /\
    \_+|+_/ Email: yang_at_nevis1.columbia.edu /)
     ----- WWW: http://nevis1.columbia.edu/~yang
Received on Tue Jul 07 1998 - 22:45:23 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT