Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: fifield@amirix.com (Jamie Fifield)
To: linux-mips@oss.sgi.com
Cc: chris@debian.org
Subject: Re: cross-compile tools made easy ...
Date: Wed, 29 Nov 2000 09:41:43 -0400	[thread overview]
Message-ID: <00Nov29.094145ast.7303@dragon.appliedmicro.ns.ca> (raw)
In-Reply-To: <20001128214111.B9875@gateway.junsun.net>; from jsun@junsun.net on Wed, Nov 29, 2000 at 01:37:21AM -0400

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)

  reply	other threads:[~2000-11-29 13:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-29  5:41 cross-compile tools made easy Jun Sun
2000-11-29 13:41 ` Jamie Fifield [this message]
     [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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=00Nov29.094145ast.7303@dragon.appliedmicro.ns.ca \
    --to=fifield@amirix.com \
    --cc=chris@debian.org \
    --cc=linux-mips@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox