tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: How to generate 32-bit binary on 64-bit machine
@ 1998-07-08 14:33 Xihong Yang
  0 siblings, 0 replies; only message in thread
From: Xihong Yang @ 1998-07-08 14:33 UTC (permalink / raw)
  To: tru64-unix-managers

Thanks to:
	Oisin McGuinness <oisin@sbcm.com>
	Joe Spanicek <joe@resptk.bhp.com.au>
	Lucio Chiappetti <lucio@ifctr.mi.cnr.it>

They all suggest to use -taso option in Digital Fortran and C/C++
compiler. I knew -taso option but such option does not exist in
gcc/g++. We had decided to use gcc/g++ to compile C/C++ codes on 
all platforms. I am still looking for other solution.

-- Xihong

My original question:

> 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@nevis1.columbia.edu          /) 
     -----       WWW: http://nevis1.columbia.edu/~yang

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-07-08 14:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-08 14:33 SUMMARY: How to generate 32-bit binary on 64-bit machine Xihong Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox