This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: i370 port
On Sat, 6 Jun 2009, Paul Edwards wrote:
> The port is to a pure C90 environment (ie not posix, not unix). It was a
> major effort to achieve that, and it has only just been completed to the
> point where the compiler recompiles itself with full optimization. The
> environment where it runs is not set up to run shell scripts or makes
> or test suites. It's set up to run JCL, and there's a stack of JCL card
> decks to allow GCC to compile, which would be good to have included
> in the i370 directory.
You can test a cross compiler if you have some way of copying a test
executable to the i370 system, running it and getting its output and exit
status back (actually you don't need to be able to get the exit status
since DejaGnu has wrappers to include it in the output if needed). There
is no need for the target to be able to run shell scripts or makes. You
would need to write your own DejaGnu board file that deals with copying
to/from the i370 system and running programs there. The testsuite
routinely runs for much more limited embedded systems (using appropriate
board files).
--
Joseph S. Myers
joseph@codesourcery.com