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]
Other format: [Raw text]

Compilation error gcc-2.95.3


 
Hi

Please ignore the legal postscript if its inhibiting u from replying.

I am trying to compile gcc-2.95.3 with following cofiguration on redhat 9:

./configure --with-gnu-as --with-gnu-ld
--with-headers="/usr/lib/bcc/include/" --target=mips-sgi-irix4

I am getting following error even though I am including --with-gnu-as :

as: unrecognized option `-O2'                    
make[1]: *** [libgcc2.a] Error 1
make[1]: Leaving directory `/usr/pranav/gcc-2.95.3/gcc'
make: *** [install-gcc] Error 2

Earlier I was getting size_t declaration error which I removed by commenting
the declaration in types.h.
Is it correct?

/usr/local/lib/gcc-lib/mips-sgi-irix4/2.95.3/../../../../mips-sgi-irix4/sys-
include/generic/types.h:19: conflicting types for `size_t'
include/stddef.h:170: previous declaration of `size_t'
make[1]: *** [libgcc2.a] Error 1
make[1]: Leaving directory `/usr/pranav/gcc-2.95.3/gcc'
make: *** [install-gcc] Error 2


Regards
Pranav Kumar



 The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.   WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.   www.wipro.com 


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