This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building code for a PowerPC target using cygwin


At 10:52 AM 3/8/2002, Mike Hayden wrote:
>I have downloaded cygwin onto my Windows PC and wish to build code for an
>embedded target running a PowerPC 860.
>
>It looks as though the "target" was set to Intel 686 when the GNU Tools were
>built.  I have tried to change my target to -mcpu=860 per the GNU CC
>documentation but I keep getting the error "cc1.exe: bad value (860)
>for -mcpu= switch", I also tried -mpowerpc with the same result.
>
>I looked thru the cygwin directories and noted that under
>C:\cygwin\usr\src\gcc-2.95.3-5\gcc\config there is no support for PowerPC
>that I can find.
>
>So I am guessing that my problem is either 1. The GNU Tools must be rebuilt
>with the target set for "powerpc" or 2. The pre-compiled GNU Tools included
>with cygwin 1.3.1 do not have support for powerpc.


This kind of information is available in the email archives.  That's a good
place to check before posting.

BTW, you're right with both your points, with the exception that the Cygwin
package is 1.3.10 (1.3.1 != 1.3.10).



Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]