Mail Archives: djgpp/1994/08/29/20:10:39
From: Nigel Stephens <nigel AT algor DOT co DOT uk>
Date: Fri, 26 Aug 94 20:06:06 +0100
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
References: <9408261359 DOT AA14019 AT copernic DOT lasinc DOT qc DOT ca>
Khalil Foundy (kf AT copernic DOT lasinc DOT qc DOT ca ) writes:
> Hi everybody,
> I have just discovered that gcc can be installed as a cross-compiler which
> means taht it can compile a program for an architecture different from
> the one which is installed on. I am now wondering if I can use my Dec Unix
> station to compile programs that can be executed on an masdos machine
> with go32 ?
> Has someone did it ? and how ?
>
> please let me know.
> thanks a lot.
It's pretty simple. Apply the patches in the DJGPP DIFFS directory to
the standard GNU releases, then configure each sub-system with
configure --target=i386-go32
I looked to my DJGPP DIFFS directory and found no patch for gcc, and without
this patch gcc-2.6.0 configure does not recongnize the i386-go32 target, but
the gcc-2.6.0 comes with a go32.h in the config/i386 directory.
Questions:
- where can I find the content of the DJGPP DIFFS directory ?
- Is it possible to install a cross compiler by hand, without using
configure ?
thanks a lot.
+---------------------------------------------------------------+
| Khalil Foundy kf AT copernic DOT lasinc DOT qc DOT ca |
+---------------------------------------------------------------|
- Raw text -