[Bug c/19438] New: Unable to build cross-gcc to target powerpc-eabi

2005-01-14 Thread qty154 at yahoo dot com
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


[Bug other/19638] New: GNU assembler command line failure

2005-01-26 Thread qty154 at yahoo dot com
The new option --alternate is handled incorrect. If I issue a command like this:
> powerpc-eabi-elf-as -mregnames -o a.o -ahl=a.lst a.s
then a.s is assembled OK and the list goes to a.lst.
If I write this: (leaving out -a sub-options)
> powerpc-eabi-elf-as -mregnames -o a.o -a=a.lst a.s
then I get the failure:
> powerpc-eabi-elf-as: option '-alternate' doesn't allow an argument
I guess -alternate should actually be --alternate.
This problem came out first when migrating from 2.95.2 where --alternate option
didn't exist.

-- 
   Summary: GNU assembler command line failure
   Product: gcc
   Version: 3.4.3
Status: UNCONFIRMED
  Severity: critical
  Priority: P2
 Component: other
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-cygwin-pc
  GCC host triplet: i686-cygwin-pc
GCC target triplet: powerpc-eabi-elf


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