From: Tom Linden <tom@kednos.com>
Subject: Re: xanim, radius cinepak codec
Date: Sat, 10 Jan 1998 08:20:45 -0800 (PST) [thread overview]
Message-ID: <eaba378be45ad59b25bd08967112da4b.axp-list@archive.invalid> (raw)
In-Reply-To: <199801101226.NAA05124@kotter.atko.at>
Stefan,
I think you missed the point, as well as sleeping in class when
syllogistic reasoning was discussed. The original writer was under the
impression that the cross-compiler had to have the concept of a 64bit
register on the host as well as the target. This is not the case. The
difference between the (32bit, say) host compiler and the (32->64)
cross-compiler is that the latter has a specially crafted code generator,
which reads the same RTL as the former but produces output that can be
assembled on the target. I believe the original writer was confusing an
emulator with a cross-compiler. (BTW, I have been writing compilers for
over 20 years, the last one I did was PL/I for DU on alpha, which was
bootstrapped by cross-compiling from Ultrix).
Books to read:
"Compilers, Priciples, Techniques and Tools" Aho, Sethi & Ullman
Addison Wesley 1986
"Engineering a Compiler" Anklam, Cutler, Heinen & MacLaren
Digital Press 1982 (Yes, same Cutler as NT)
On Sat, 10 Jan 1998, Stefan Traby wrote:
>
> > tom@kednos.com said:
> > > A cross-compiler is just a program that reads an input file and
> > > produces an output file. The fact that the output file is object
> > > code and maybe for a 64bit architecture is irrelevant.
> >
> > Yes, one would think that. In practice, though, there are a lot of cases
> > where expressions need to be evaluated from the source being compiled,
>
> Hey think !
> His definition is far from reality. :-)
>
> I read it four times and now I finally accept that "cp" is a
> cross-compiler under Tom's definition. (only when used with two args.)
>
> His definition depends on exact one input file.
> It's impossible to cross-compile C-code that uses "#include"-statements.
> (but this is a special case, Tom talks about abstract cross-compilers)
>
> His definition may be valid for some "filter" programs, but
> not for something known as cross-compilers.
>
> In fact, it's no problem to cross-compile from 16-Bit with 128-Bit
> target (maybe the cross-compiler should use a mp-library) but
> gcc is something special. It's not a simple stupid
> abstract cross-compiler it's a real-world solution.
>
> For a definition write to Richard Stallman <rms@gnu.org> with
> body "I'm using Linux. What is a cross-compiler ?"
>
> I bet (2 US$) that you get two replies.
>
> One contains "That is unfair. Your are using GNU-Linux. That is a modified
> variant of the GNU operating system...."
>
> ... and the second includes a useful exact definition.
>
> It's really important that you are careful when you write and speak.
> [And it's even harder if English is a foreign language for you.]
>
> --
> ciao -
> Stefan
>
> Stefan Traby phone: +43-3133-6107-2
> Mitterlasznitzstr. 13 fax: +43-3133-6107-9
> 8302 Nestelbach mailto://stefan@sime.com
> Austria
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
>
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next prev parent reply other threads:[~1998-01-10 16:20 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-01-10 12:26 xanim, radius cinepak codec Stefan Traby
1998-01-10 16:20 ` Tom Linden [this message]
-- strict thread matches above, loose matches on Subject: below --
1998-01-10 20:24 Stefan Traby
1998-01-10 8:11 Stephen Williams
[not found] <Pine.LNX.3.96.980108212149.5456S-100000@hvdkooij.dyn.ml.org>
1998-01-09 16:26 ` Tom Linden
[not found] <34B394F9.32F28B18@jrp.tiac.net>
1998-01-08 20:23 ` Hugo van der Kooij
[not found] <Pine.LNX.3.96.980106181845.29526B-100000@bean.xtdnet.nl>
1998-01-08 19:35 ` Tad Grosvenor
1998-01-08 6:33 Stephen Williams
1998-01-07 14:45 Jim Paradis
1998-01-06 21:35 Philip Blundell
1998-01-06 18:14 David Alan Gilbert
[not found] <Pine.LNX.3.95.980106130401.5475A-100000@frodo.ho.com>
1998-01-06 16:48 ` Matti Aarnio
1998-01-06 17:22 ` Paul Wouters
1998-01-06 16:26 Dragisa Duric
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