delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/08/19/21:58:40

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>,
<http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <37BCB508.B358A72D@dgs.monash.edu.au>
Date: Fri, 20 Aug 1999 11:53:12 +1000
From: Brendan Simon <brendan AT dgs DOT monash DOT edu DOT au>
Reply-To: brendan AT dgs DOT monash DOT edu DOT au
Organization: CTAM Pty Ltd
X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.0.36 i586)
X-Accept-Language: en
MIME-Version: 1.0
To: "J.K. Brown" <jkbrown AT west DOT raytheon DOT com>, crossgcc AT cygnus DOT com,
CygWin32 <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: PowerPC Cross Help
References: <37BC445B DOT 2B1E5DA3 AT west DOT raytheon DOT com> <37BCA486 DOT BD89824 AT dgs DOT monash DOT edu DOT au>

Brendan Simon wrote:

> "J.K. Brown" wrote:
>
> > > Are you builing on a Cygwin host or are you building on a Linux host
> > for a > cygwin-to-linux cross-compiler (ie. Canadian build) ?
> >
> > I'm trying cygwin right now.  I set the path to the binutilities in the
> > cygwin.bat file.  I tried the "export method", and still get the exact
> > same error.
> >
> > > In using EGCS-1.1.2, the make results in the following error:
> > >
> > > _muldi3
> > > as: unrecognized option `-ppc'
> > > make[3]: *** [libgcc2.a] Error 1
> > > make[2]: *** [stmp-multilib-sub] Error 2
> > > make[1]: *** [stmp-multilib] Error 1
> > > make: *** [cross] Error 2
> >
> > Jessica
>
> Mmm.  I've never built on a Cygwin host so I don't know of the specific
> problems involved.  You should also mail to the cygwin list for more
> expert advise.  I stuck to Linux for speed and knowing I would have less
> problems (in theory anyway).
>
> It might be something as simple as a binary mount or text mount setting.
> I think it is advisable to have all cygwin mounts as binary.  This reason
> is that not all the the GNU tools have been fully ported to cygwin and
> they get confused with the linefeed/carriage-return thingy.
>
> Brendan Simon.

I'm now getting the "as: unrecognized option `-ppc'" error.  I removed a
previous installation I had on cygwin and new extracted a tar.gz file which
included Insight.  Now powerpc-eabi-gcc gives me the same error you have.  I
couldn't quite workout why because the compiler was exactly the same as
before.  I had copied the archive from my Linux box and used WinZip to
extract it to /usr/local/gcc on my cygwin machine.  This seems to be the
cause of my problem as I tried using "tar zxvf cygwin-powerpc-eabi.tar.gz"
and that fixed the problems.  I'm not sure what the differences are.  Maybe
tar/gzip handle unix style ascii files where as WinZip does not (or I guess
it could be the other way around).  This still could be binary mount
problem/solution but I'm not sure.

Brendan Simon.


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019