Mail Archives: djgpp/1992/03/10/15:21:14
Date: Tue, 10 Mar 92 13:54:02 EST
From: Bob Doolittle <Think.COM!rad AT uunet DOT uu DOT net>
I have built the 386 compiler on my sparc and my only problem is
with the linking. I can't get the linker to work. I belive
that part of the problem to the linker is that I'm fairly lazy
and don't have enough time. The tools work fine as cross tools
but you will need to hack the makefile so that the gen files
don't get compiled by your cross tools. This all works fine but
I have to link on the PC!
If anyone has the cross linker or knows what I have to do I
would like and information leading to successfully building the
gnu linker for the PC.
I had the exact same problem. I even tried building it for a Vax
and trying it there (on the assumption it was a byte-ordering snafu)
to no avail.
Somebody mentioned that Dr. Dobb's Journal recently ran a series of
articles on cross-compiling with GCC, and dealt with byte-ordering
problems, but I don't have access to these back issues. Perhaps you
will have better luck.
Please let me know if anyone comes up with a solution.
Thanks,
Bob
Are you tinkering with the beta version of the binutils? This is
suppose to work but I think that we need to spend a little time in
specifying a configure script for a CROSS to a 386 under GO32. I think
it can be done in a day but I don't have the time.
First of all, if you want to continue this discussion, I suggest you not
copy djgpp, since most people probably aren't interested. Anyone who is
should send mail to one of us to be included in this thread, or if they
have any information that might shed light on this problem.
Yes, I tried the beta-1.94 binutils (I think I tried 1.9 as well, I
thrashed on this for a while). GCC 2.0 came out the week after I gave up
so I wasn't using it (I used 1.40) and I don't know if it would help. I
presume that's what you're using so probably not.
To tell you the truth, I was doing this in a *slightly* different context;
I was trying to build 386 objects for Linux, a PD Unix for 386 machines,
but the issues you mentioned earlier should be similar (except that djgpp
is sufficient for me under DOS so I don't need to worry about cross-linking
GO32, but I can't imagine it should be a big deal. I think a day is
*grossly* overestimating the work required, but I know how these things go
and you could be right).
-Bob
--------
Bob Doolittle
Thinking Machines Corporation
rad AT think DOT com
(617)234-2734
- Raw text -