This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 4.3 target deprecation proposals
On Thu, Jan 24, 2008 at 11:34:56AM +1100, Ben Elliston wrote:
> > I've tried. The problem is communication between the DOS system (or
> > emulator) and the host system. DOS isn't kind to networking,
> > semaphores, or anything else that hints at multiprocessing.
>
> If you're trying to at least test code generation, etc., you could treat
> the DOS system like a basic target board and cross-compile tests and
> transfer them over a serial line to execute them. That's the way it was
> done in the bad old days.
>
> However, it's just occurred to me that you are probably wanting to test
> djgpp as a native compiler. Yeah?
What if you had a set of scripts that would fire up the DJGPP compiler
inside a DOS emulator on a Unix/Linux/whatever box and execute that? Then
if those scripts were named "gcc", "g++" etc. it would seem that you could
test native compilation that way. I haven't tried to hack dejagnu in
about a decade so I'm probably missing something, but it should be
feasible.