Mail Archives: djgpp/1993/06/03/19:55:43
Hi,
> Also, what do I do for a library? Can I just get the libraries
> from the djgpp distribution?
I understand that you can just use previous versions of the library. I
haven't got my cross-compiler to work yet but here is where I got to (this
might possibly help you):
1) I configured for the nearest machine i.e.
./configure --target=i386-bsd --host=sparc --prefix=/usr/gnu
Make sure you eventually read note (6) below.
2) Then replaced two links:
tm.h -> ./config/i386/386bsd.h was changed to
tm.h -> ./config/i386/go32.h
and
tconfig.h -> ./config/i386/xm-i386.h was changed to
tconfig.h -> ./config/i386/xm-dos.h
3) make LANGUAGES=C
4) This stopped at the stage that looked for an initial libgcc1.a so
I used the original djgpp libgcc.a as my libgcc1.a library, and
restarted the make.
5) I made the bunutils to get a cross linker and ar (they are very easy to
install).
6) The make stopped because I had not specified where the cross compiler
includes were going to be kept. This should have been an additional
configure parameter at the very beginning i.e. add a
"--local-prefix=AREA WHERE THE DJGPP include AND libS ARE KEPT"
If anyone has a detailed installation sequence, I sure would like to hear
about it.
phillip
- Raw text -