We successfully ported an big ERP-like C based project a couple of months ago in s390x. The code were designed for run under Intel, along with some Java code running under Oracle Forms. We had only to change a couple flags on Makefile regarding gcc (to optimization, and to create 32bit code because of some hacks in the code), but the source code haven't been changed one bit. Compiled like a charm, executed as expected. I would say that if you aren't using hardware specific code, Assembly and alike, you (as McKown said) most likely would be able to compile your code in any Linux platform.
Mauro http://mauro.limeiratem.com - registered Linux User: 294521 Scripture is both history, and a love letter from God. On Sun, Nov 29, 2009 at 5:24 PM, John McKown <joa...@swbell.net> wrote: > But I think the answer to your question, in general, is "most likely". > It depends on the release levels of any subroutines you used. And I'm > thinking of glibc,mainly. > > If you want true transportability, then I'd suggest a scripting > language, if possible (ruby, Perl, ...). Or, maybe, Java. I have > successfully written __small__ applications in Java, compiled on 32 bit > Linux/Intel, which ran on Linux/Intel, Windows, MacOSX, and z/OS. I > don't have a Linux on z any more, but we may retry that option. I know > that Java has a "bad rap" about "write once, debug everywhere", but my > rather simple GUI application did work the first time. I debugged it on > Linux/Intel and simply ftp'ed the jar file to the other systems and it > did run correctly. > > On Sun, 2009-11-29 at 11:11 -0800, Paul Dembry wrote: > > > There is no IBM Linux for System z (or any other platform for that > > > matter). Commercially, there is either Novell's SUSE Linux (SUSE Linux > > > Enterprise) or RedHat (Redhat Enterprise Linux). > > Perfect, thanks. > > Paul > > > -- > John McKown > Maranatha! <>< > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or > visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390