Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: martin.kahlert@keksy.mchp.siemens.de (Martin Kahlert)
To: rwassens@thewatercooler.com
Subject: Re: crosscompile
Date: 1999/06/29	[thread overview]
Message-ID: <7la49f$l9h$1@news.mch.sbs.de> (raw)
In-Reply-To: 3776747d.2017228@news.wish.net

[Posted and mailed]

In article <3776747d.2017228@news.wish.net>,
	rwassens@thewatercooler.com writes:
> I want to cross-compile alph linux code on an i586 host. But I can't
> configure gcc-2.7.2.3 for target alpha-linux (is not supported). What
> do I have to do to make it work?

You won't have any luck to do that. It would work the other way round:
a compiler running on Linux Alpha which produces code for intel586

The problem is, that gcc (egcs, too!) assumes e.g., that a long on the
target fits in a long on the host. That's a gcc inherent problem, which
is not easy to fix.

PS: gcc-2.7.2.3 is very old. Use egcs instead (http://egcs.cygnus.com)

Bye,
Martin.

-- 
esa$ gcc -Wall -o ariane5 ariane5.c
ariane5.c: 666: warning: long float implicitly truncated to unsigned type
esa$ ariane5



      reply	other threads:[~1999-06-29  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-27  4:00 crosscompile rwassens
1999-06-29  4:00 ` Martin Kahlert [this message]
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