From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,53d1d1eed63370ea X-Google-Attributes: gid103376,public From: dewar@cs.nyu.edu (Robert Dewar) Subject: Re: compile on a pc to a sparc Date: 1996/07/09 Message-ID: #1/1 X-Deja-AN: 167836858 references: <4rrivk$naf@cville-srv.wam.umd.edu> organization: Courant Institute of Mathematical Sciences newsgroups: comp.lang.ada Date: 1996-07-09T00:00:00+00:00 List-Id: Eric says "I'm successfully using Gnat on my OS/2 Pentium system at home. However, I'd like to run my finished ada program on my sparc at work (it's much faster). Rather than having to remake the compiler at work, I'd like to recompile on my Pentium so that the result is an executable that will run on the Sparc architecture. Can this be done?" In theory yes, in practice, building cross-compilers from OS/2 is pretty tricky, since OS/2 is enough non-Unix like to make it difficult to use the normal make files and procedures, but if you know what you are doing with GCC, and you know OS/2 well, you can probably succeed. It would be an easier task to build a Linux to Solaris cross-port. Incidentally, I am not sure what you mean by "remake the compiler". Installable binary ports are available for both SunOS and Solaris.