*BSD News Article 69654


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!lugb.latrobe.edu.au!lion.cs.latrobe.edu.au!leopard!leachbj
From: leachbj@leopard.cs.latrobe.edu.au (Bernard James Leach)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: compiling gnu binutils?
Date: 29 May 1996 02:44:43 GMT
Organization: Comp.Sci & Comp.Eng, La Trobe Uni, Australia
Lines: 32
Message-ID: <4ogdmr$shu@lion.cs.latrobe.edu.au>
References: <4o672l$pfl@lion.cs.latrobe.edu.au> <31A720B3.41C67EA6@ASG.unb.ca>
NNTP-Posting-Host: leopard.cs.latrobe.edu.au
X-Newsreader: TIN [version 1.2 PL2]

Peter Howlett (Peter.Howlett@ASG.unb.ca) wrote:
: Bernard James Leach wrote:
: > 
: > Has anyone got patches that would allow me to compile binutils-2.6
: > for freebsd?

: You can find a copy of gas.2.6.gz in the ftp.freebsd.org incoming
: directory. I had compiled it by adding another entry in the
: gas subdirectory configure script. Something like adding the line

:       i386-*-freebsd*)      fmt=aout em=386bsd ;;

: (If I remember correctly)

: Seems to work fine... I havent bothered with the linker. The
: other libs seemed to build ok by configuring them separately.
: I havent tested them very hard though...

The linker is the problem!

% ./configure --prefix=/usr --target=i386-unknown-freebsd2.0.5
[...]
*** ld does not support target i386-unknown-freebsd2.0.5
*** see ld/configure.tgt for supported targets

I really want to be able to cross-compile from linux to
freebsd!

--
Bernard Leach                    LaTrobe Uni Melbourne Australia
leachbj@cs.latrobe.edu.au        http://www.cs.latrobe.edu.au/~leachbj/
PGP FingerPrint: A3 48 0B 07 4D 9B E6 4A  FA C1 C9 0A AF 83 09 BF