Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!bionet!agate!ucbvax!tut.cis.ohio-state.edu!rutgers!att!ulysses!andante!alice!ark From: ark@alice.UUCP (Andrew Koenig) Newsgroups: comp.lang.c++ Subject: Re: C++ --> C Message-ID: <9198@alice.UUCP> Date: 14 Apr 89 03:56:06 GMT References: <173@cs.columbia.edu> Organization: AT&T Bell Laboratories, Liberty Corner NJ Lines: 16 In article <173@cs.columbia.edu>, jordan@cs.columbia.edu (Jordan Hayes) writes: > Say you don't have a C++ compiler for a certain kind of machine, > but you do have a C compiler. > Can you get g++ or cfront to generate C on the Sun and have the > unnamed machine compile that? I can't speak for g++, but cfront will do that just fine. In fact all it does is generate C -- and there are ways to talk it into generating C for a machine that differs from the one it's running on. I think it's the +x option. -- --Andrew Koenig ark@europa.att.com