This is the mail archive of the gcc@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: Need help building glibc-2.2.3 with gcc-2.95.3


>I get the following error:
>
>gcc -O0 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -fforce-addr -fgcse
> -
>fmove-all-movables -freduce-all-givs -fregmove -fschedule-insns2 -fthread-jump
>s 
>-mpentium -pipe  -g PTFLAGS -fno-strict-aliasing -fkeep-inline-functions    -I
>..
>/include -I. -I/home/develop/glibc-2.2.3/objdir/csu -I.. -I../libio  -I/home/d
>ev
>elop/glibc-2.2.3/objdir -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/s
>ys
>v/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysde
>ps
>/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I
>..
>/linuxthreads/sysdeps/i386/i586 -I../linuxthreads/sysdeps/i386 -I../sysdeps/un
>ix
>/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/un
>ix
>/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i
>38
>6 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps
>/p
>osix -I../sysdeps/i386/i586 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../
>sy
>sdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/
>ie
>ee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/gen
>er
>ic/elf -I../sysdeps/generic   -D_LIBC_REENTRANT -fbounds-checking    -include 
>..
>/include/libc-symbols.h -DHAVE_INITFINI -c ../sysdeps/unix/sysv/linux/init-fir
>st
>.c -o /home/develop/glibc-2.2.3/objdir/csu/init-first.ob
>gcc: cannot specify -o with -c or -S and multiple compilations
>
>How is this?  What can I do to solve it?

You need to find out where `PTFLAGS' is coming from and stop it.  This isn't a 
gcc problem.

p.


PGP signature


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