public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/19438] New: Unable to build cross-gcc to target powerpc-eabi
@ 2005-01-14  9:57 qty154 at yahoo dot com
  2005-01-14 10:29 ` [Bug c/19438] " ebotcazou at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: qty154 at yahoo dot com @ 2005-01-14  9:57 UTC (permalink / raw)
  To: gcc-bugs

I downloaded and installed cygwin, version of cygwin1.dll is 1.5.12-1.
I downloaded gcc-3.4.3 sources, gcc-3.4.3.tar.gz, and unpacked it to 
/home/gcc-3.4.3
Then I wanted to build a gcc cross-compiler for target powerpc-eabi (mpc5xx)
I used this to configure:
@ /home/gcc-3.4.3: mkdir obj
@ /home/gcc-3.4.3: cd obj
@ /home/gcc-3.4.3/obj: ../configure --prefix=/usr/local --with-gnu-as --with-gn
u-ld --disable-threads --with-cpu=powerpc --enable-languages=c,c++ --target=pow
erpc-ppc-eabi
I even tried this:
@ /home/gcc-3.4.3/obj: ../configure --prefix=/usr/local --with-gnu-as --with-gn
u-ld --disable-threads --with-cpu=powerpc --enable-languages=c,c++ --target=pow
erpc-eabi

and I issued make:

@ /home/gcc-3.4.3/obj: make

Then I got this error message (in both configure cases)

...
/home/gcc-3.4.3/obj/gcc/xgcc -B/home/gcc-3.4.3/obj/gcc/ -B/usr/local/powerpc-ppc
-eabi/bin/ -B/usr/local/powerpc-ppc-eabi/lib/ -isystem /usr/local/powerpc-ppc-ea
bi/include -isystem /usr/local/powerpc-ppc-eabi/sys-include -O2  -DIN_GCC -DCROS
S_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -W
old-style-definition  -isystem ./include   -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NE
EDED -Dinhibit_libc -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I.
./intl  -mrelocatable-lib -mno-eabi -mstrict-align -DL_muldi3 -c ../../gcc/libgc
c2.c -o libgcc/./_muldi3.o
as: unrecognized option `-mppc'
make[2]: *** [libgcc/./_muldi3.o] Error 1
make[2]: Leaving directory `/home/gcc-3.4.3/obj/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/home/gcc-3.4.3/obj/gcc'
make: *** [all-gcc] Error 2

which as gives the following: /usr/bin/as
as --version gives the following: 
@ /home/gcc-3.4.3/obj: as --version
GNU assembler 2.15.94 20041229
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `i686-pc-cygwin'.

Remark:
bill's homepage is down so I couldn't read the crossgcc.faq

-- 
           Summary: Unable to build cross-gcc to target powerpc-eabi
           Product: gcc
           Version: 3.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: qty154 at yahoo dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-cygwin
  GCC host triplet: i686-pc-cygwin
GCC target triplet: powerpc-ppc-eabi


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19438


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug c/19438] Unable to build cross-gcc to target powerpc-eabi
  2005-01-14  9:57 [Bug c/19438] New: Unable to build cross-gcc to target powerpc-eabi qty154 at yahoo dot com
@ 2005-01-14 10:29 ` ebotcazou at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-01-14 10:29 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2005-01-14 10:29 -------
At this point the cross-compiler itself is built.  You need a cross-assembler to
proceed, i.e you need to have an 'as' with --target=powerpc-eabi and properly
declare it when configuring the cross-compiler.  See the docs.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19438


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-14 10:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-14  9:57 [Bug c/19438] New: Unable to build cross-gcc to target powerpc-eabi qty154 at yahoo dot com
2005-01-14 10:29 ` [Bug c/19438] " ebotcazou at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).