This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


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

Re: powerpc cross-compiler build failing


On Jun 26, 2001, Rob Ouellette <rouellet@ebmail.gdeb.com> wrote:

> /files2/gcc-3.0/gcc/libgcc2.c -o libgcc/./_muldi3.o
> as: error: unknown option 'p'
> as: error: unknown option 'p'
> as: error: unknown option 'e'
> as: error: unknown option 'l'
> usage: as [-V] [-Q{y,n}] [-f[O][if]#] [-q] [-s]
>           [-S] [-K {pic,PIC}] [-o objfile] [-L] [-T]
>           [-P [[-Ipath] [-Dname] [-Dname=def] [-Uname]]...]
>           [-m [-Ym,path]] [-n] [-xF] [-xarch=v7] [-xarch=v8]
> [-xarch=v8a] [-xarch=v8plus] [-xarch=v8plusa] file.s...

At this point, you needed the cross assembler, but GCC found the
native assembler.  Make sure you configure and build a cross binutils
for the desired platform as per the cross-compiler installation
instructions.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


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