From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: Date: Sat, 10 Jan 1998 08:20:45 -0800 (PST) From: Tom Linden Subject: Re: xanim, radius cinepak codec 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 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