* cross-compile tools made easy ...
@ 2000-11-29 5:41 Jun Sun
2000-11-29 13:41 ` Jamie Fifield
0 siblings, 1 reply; 4+ messages in thread
From: Jun Sun @ 2000-11-29 5:41 UTC (permalink / raw)
To: linux-mips
I found myself building cross-compile toolchains a lot recently. So I
spent sometime and wrote a script to do the whole darn thing in one shot.
If you want to build your own cross-compile tools, you can save some
effort by just getting the tar balls and then typing "build".
It is not too much different from what is in Ralf's "Linux MIPS HOW-TO"
cross-compile section. But the tarball offers some convenience by having
all the sources and patches put together and all configurations, options
lumped in one file.
You can find two tar balls at linux.junsun.net:
mips-xtool-1.1.tar.gz
binutils 2.8.1 + egcs 1.1.2 + glibc 2.0.6
(Thanks to Keith Wesolows for the glibc fix with egcs 1.1.2)
mips-xtool-0.1.tar.gz
binutils 2.8.1 + egcs 1.0.3a + glibc 2.0.6
I did some minimal tests with kernel and building a couple of packages,
and would very much like to know if you have any problems (Yes, that is
the purpose. :-0)
Enjoy!
Jun
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: cross-compile tools made easy ...
2000-11-29 5:41 cross-compile tools made easy Jun Sun
@ 2000-11-29 13:41 ` Jamie Fifield
0 siblings, 0 replies; 4+ messages in thread
From: Jamie Fifield @ 2000-11-29 13:41 UTC (permalink / raw)
To: linux-mips; +Cc: chris
On that vein. I've got a trvial patch against the binutils in Debian (woody)
for a cross binutils for big endian mips.
jamie:~$ dpkg -s binutils-mips
Package: binutils-mips
Status: install ok installed
Priority: extra
Section: devel
Installed-Size: 6364
Maintainer: Christopher C. Chimelis <chris@debian.org>
Source: binutils
Version: 2.10.1.0.2-1
Suggests: binutils (= 2.10.1.0.2-1)
Description: Binary utilities that support MIPS (Big Endian) targets.
The programs in this package are used to manipulate binary and object
files that may have been created on the MIPS (Big Endian) architecture.
This package is primarily for MIPS developers and cross-compilers and is
not needed by normal users or developers.
My version is compiled against glibc 2.1.3, so YMMV against 2.2.
Chris: Any chance I could persuade you to upload a binutils-mips to Woody? :)
Patch is below (and this patch does not build a mips target by default, you
still need to do ./debian/rules TARGET=mips binary-cross).
diff -uNr binutils-2.10.1.0.2/debian/control binutils-2.10.1.0.2-mips/debian/control
--- binutils-2.10.1.0.2/debian/control Wed Nov 29 09:39:07 2000
+++ binutils-2.10.1.0.2-mips/debian/control Tue Nov 28 09:21:58 2000
@@ -85,6 +85,17 @@
This package is primarily for MIPS developers and cross-compilers and is
not needed by normal users or developers.
+Package: binutils-mips
+Section: devel
+Architecture: any
+Priority: extra
+Suggests: binutils (= ${Source-Version})
+Description: Binary utilities that support MIPS (Big Endian) targets.
+ The programs in this package are used to manipulate binary and object
+ files that may have been created on the MIPS (Big Endian) architecture.
+ This package is primarily for MIPS developers and cross-compilers and is
+ not needed by normal users or developers.
+
Package: binutils-avr
Section: devel
Architecture: any
diff -uNr binutils-2.10.1.0.2/debian/rules binutils-2.10.1.0.2-mips/debian/rules
--- binutils-2.10.1.0.2/debian/rules Wed Nov 29 09:39:07 2000
+++ binutils-2.10.1.0.2-mips/debian/rules Tue Nov 28 09:23:15 2000
@@ -74,7 +74,7 @@
# debian/control for each of these. For example, the cross binutils package
# for powerpc is called binutils-powerpc.
#
-ALL_TARGETS = avr powerpc arm m68k mipsel
+ALL_TARGETS = avr powerpc arm m68k mipsel mips
# Targets NOT to build for. This is the set difference ALL_TARGETS - TARGETS
#
On Wed, Nov 29, 2000 at 01:37:21AM -0400, Jun Sun wrote:
>
> I found myself building cross-compile toolchains a lot recently. So I
> spent sometime and wrote a script to do the whole darn thing in one shot.
>
> If you want to build your own cross-compile tools, you can save some
> effort by just getting the tar balls and then typing "build".
>
> It is not too much different from what is in Ralf's "Linux MIPS HOW-TO"
> cross-compile section. But the tarball offers some convenience by having
> all the sources and patches put together and all configurations, options
> lumped in one file.
>
> You can find two tar balls at linux.junsun.net:
>
> mips-xtool-1.1.tar.gz
> binutils 2.8.1 + egcs 1.1.2 + glibc 2.0.6
> (Thanks to Keith Wesolows for the glibc fix with egcs 1.1.2)
>
> mips-xtool-0.1.tar.gz
> binutils 2.8.1 + egcs 1.0.3a + glibc 2.0.6
>
>
> I did some minimal tests with kernel and building a couple of packages,
> and would very much like to know if you have any problems (Yes, that is
> the purpose. :-0)
>
> Enjoy!
>
> Jun
--
Jamie Fifield
Software Designer Jamie.Fifield@amirix.com
AMIRIX Systems Inc. http://www.amirix.com/
Embedded Debian Project http://www.emdebian.org/
77 Chain Lake Drive 902-450-1700 x247 (Phone)
Halifax, N.S. B3S 1E1 902-450-1704 (FAX)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: cross-compile tools made easy ...
[not found] <00Nov29.094316ast.7303@dragon.appliedmicro.ns.ca>
@ 2000-11-29 14:01 ` Christopher C. Chimelis
2000-12-02 10:34 ` Christopher C. Chimelis
1 sibling, 0 replies; 4+ messages in thread
From: Christopher C. Chimelis @ 2000-11-29 14:01 UTC (permalink / raw)
To: Jamie Fifield; +Cc: linux-mips
On Wed, 29 Nov 2000, Jamie Fifield wrote:
> On that vein. I've got a trvial patch against the binutils in Debian (woody)
> for a cross binutils for big endian mips.
>
> jamie:~$ dpkg -s binutils-mips
> Package: binutils-mips
> Status: install ok installed
> Priority: extra
> Section: devel
> Installed-Size: 6364
> Maintainer: Christopher C. Chimelis <chris@debian.org>
> Source: binutils
> Version: 2.10.1.0.2-1
> Suggests: binutils (= 2.10.1.0.2-1)
> Description: Binary utilities that support MIPS (Big Endian) targets.
> The programs in this package are used to manipulate binary and object
> files that may have been created on the MIPS (Big Endian) architecture.
> This package is primarily for MIPS developers and cross-compilers and is
> not needed by normal users or developers.
>
>
> My version is compiled against glibc 2.1.3, so YMMV against 2.2.
>
> Chris: Any chance I could persuade you to upload a binutils-mips to Woody? :)
Ok...I'll consider it more when I return (getting on a plane in an
hour). Sorry for the brevity, but I'm in travel mode already :-P
C
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: cross-compile tools made easy ...
[not found] <00Nov29.094316ast.7303@dragon.appliedmicro.ns.ca>
2000-11-29 14:01 ` Christopher C. Chimelis
@ 2000-12-02 10:34 ` Christopher C. Chimelis
1 sibling, 0 replies; 4+ messages in thread
From: Christopher C. Chimelis @ 2000-12-02 10:34 UTC (permalink / raw)
To: Jamie Fifield; +Cc: linux-mips
On Wed, 29 Nov 2000, Jamie Fifield wrote:
> Chris: Any chance I could persuade you to upload a binutils-mips to Woody? :)
Ok, I have returned and am considering :-)
What's the state of the toolchain on big-endian MIPS lately? My indy has
been relegated to other tasks and I've been unable to boot to Linux
because of it :-( Are any patches needed against my 2.10.1.0.2-1 package
for it to work properly as a native assembler? (in other words, are those
branch errors still popping up while bootstrapping gcc?).
There are STILl a ton of MIPS-related changes going into binutils CVS, so
I'm hesitant to enable it until the submitter(s) slow down a bit.
Would an experimental package due that targets only mips and mipsel as
cross targets in the meantime?
C
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-12-02 10:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-29 5:41 cross-compile tools made easy Jun Sun
2000-11-29 13:41 ` Jamie Fifield
[not found] <00Nov29.094316ast.7303@dragon.appliedmicro.ns.ca>
2000-11-29 14:01 ` Christopher C. Chimelis
2000-12-02 10:34 ` Christopher C. Chimelis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox