Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: reig@dcs.gla.ac.uk
To: axp-list@redhat.com
Cc: reig@dcs.gla.ac.uk (Fermin Reig)
Subject: Re: 32-bit binaries (howto?)
Date: Wed, 29 Nov 2000 17:36:54 +0000 (GMT)	[thread overview]
Message-ID: <200011291736.RAA21886@crab.dcs.gla.ac.uk> (raw)
In-Reply-To: <Pine.LNX.4.21.0011291207290.18158-100000@imhotep.zk3.dec.com> from "Ross A Knepper" at Nov 29, 2000 12:08:36 PM

Ross A Knepper wrote:
> 
> On Wed, 29 Nov 2000 reig@dcs.gla.ac.uk wrote:
> > I need to build a 32 bit binary on an alpha.
> 
> before getting into a prolonged discussion, i think it might be worth
> asking why you need to do this?  perhaps there's some other way to
> accomplish your goal.
> 

I'm trying to port the SML/NJ compiler
(http://cm.bell-labs.com/cm/cs/what/smlnj/) to alpha-linux. It only
runs on alpha OSF or DUNIX now.

The runtime system is written in C, and I need to compile this for
alpha linux first. I got this from one of the authors of SML/NJ:

> > > The main issue is that you need to create a 32-bit executable during
> > > the linking process.  I've been told the following URL explains how
> > > to do this:
> > > 
> > > 	http://www.alphalinux.org/archives/debian-alpha/September1999/0078.html

I'm afraid I don't know the exact reason why I must produce 32-bit
binaries for the runtime, but I suspect that SML/NJ's code generator
only emits 32 bit code, and that has to be linked with the
runtime. All I know at this point is that this is required. For ex,
they do this for the DUNIX port:

CC =         cc -std
LDFLAGS =    -non_shared -T 20000000 -D 40000000

So assuming I *really* need 32-bit binaries, does anyone know of an
easy way to do it?

Thanks

Fermin




  reply	other threads:[~2000-11-29 17:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-29 16:49 32-bit binaries (howto?) reig
2000-11-29 17:00 ` Ron Farrer
2000-11-29 17:08 ` Ross A Knepper
2000-11-29 17:36   ` reig [this message]
2000-11-30  3:07     ` Greg Lindahl
2000-11-30 11:05       ` reig
2000-12-01  6:27         ` Greg Lindahl
2000-12-02 21:39           ` Ivan Kokshaysky
2000-12-14 12:56           ` reig
2000-12-14 16:13             ` Greg Lindahl
2000-12-14 16:38               ` reig
2000-11-30  3:05 ` Greg Lindahl
read-only archive

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