Article View: gnu.gcc.help
Article #53198installing gcc2.0 as cross-compiler (host=sun4,target=rs6000)
From: Marcello Dalpasso
Date: Wed, 04 Mar 1992 17:33
Date: Wed, 04 Mar 1992 17:33
61 lines
2541 bytes
2541 bytes
I'm trying to install gcc2.0 as a cross compiler, with a sun4 as host and an IBM RISC 6000 as target (At first I successfully installed gcc2.0 on the sun4, but I think this is not important) These are the steps I made: 1) configure --host=sun4 --target=rs6000-ibm 2) patched the line #228 of the generated Makefile, because ALL=all.internal is wrong I wrote ALL=all.cross 3) put a copy of /usr/include of the target machine under /usr/local/lib/gcc/rs6000-ibm/2.0/include 4) make LANGUAGES=1 5) make stage1 6) make CC=stage1/gcc CFLAGS="-g -O -Bstage1/" Now, the process failed with: cc1: warning: `-g' option not supported on this version of GCC cccp.c: In function `special_symbol': cccp.c:3492: dereferencing pointer to incomplete type cccp.c:3493: dereferencing pointer to incomplete type cccp.c:3493: dereferencing pointer to incomplete type cccp.c:3495: dereferencing pointer to incomplete type cccp.c:3495: dereferencing pointer to incomplete type cccp.c:3496: dereferencing pointer to incomplete type cccp.c: In function `initialize_builtins': cccp.c:7981: dereferencing pointer to incomplete type cccp.c:7982: dereferencing pointer to incomplete type cccp.c:7982: dereferencing pointer to incomplete type cccp.c:7987: dereferencing pointer to incomplete type cccp.c:7987: dereferencing pointer to incomplete type cccp.c:7987: dereferencing pointer to incomplete type *** Error code 1 make: Fatal error: Command failed for target `cccp.o' What can I do? What's wrong with my procedure? Thanks in advance for help. ********************************************************* * Marcello Dalpasso * * D.E.I.S. * * Department of Electronics and Computer Science * * University of Bologna, Italy * * Phone: +39 - 51 - 644 - 3015 * * Fax: +39 - 51 - 644 - 3073 * * E-mail: marcello@deis16.cineca.it * *********************************************************
Technical Details
Message-ID:
<9203041533.AA06109@deis20.cineca.it>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!deis20.cineca.it!marcelloShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,90a5f2654972995f,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1992-03-04 21:22:38 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!deis20.cineca.it!marcello From: marcello@deis20.cineca.it (Marcello Dalpasso) Subject: installing gcc2.0 as cross-compiler (host=sun4,target=rs6000) Message-ID: <9203041533.AA06109@deis20.cineca.it> Sender: daemon@cis.ohio-state.edu Organization: GNUs Not Usenet Distribution: gnu Date: Wed, 4 Mar 1992 17:33:12 GMT Lines: 61