Article View: gnu.gcc.help
Article #80Cross compiler generation, gcc2.1?
From: Brian L. Kahn
Date: Fri, 03 Apr 1992 17:20
Date: Fri, 03 Apr 1992 17:20
57 lines
2408 bytes
2408 bytes
In article <previous> derek@aivru.sheffield.ac.UK (Derek Jones) writes: > >I have sucessfully built a sparc compiler. I now want to build a cross-compiler >on the Sun 4 to compile for a Sun3. I have RTM'd the install doc and used >the following construct for the configure: > > configure --host=sun4-sunos4.1.1 --target=sun3-sunos4.1.1 > >The make fails when it attempts to compile the dummy prog since the assembler >tries to generate code for a 68020 on the sparc. > >Am I missing something obvious here??? 8-I > In article <9203271909.AA25001@mole.gnu.ai.mit.edu> rms@gnu.ai.mit.edu (Richard Stallman) writes: > >This particular problem has been fixed in GCC 2.1, >along with many others. > >To continue to use 2.0 when 2.1 is available is asking for unnecessary >grief. It also makes for even more mail for me, and the amount I get >anyway is enough of a load to carry. > >So please, everyone, switch to 2.1. I have exactly the same problem, on the same architectures, using gcc-2.1. Perhaps we (Derek Jones and I) don't understand the directions. I know I am confused regarding the procedure for cross compilation, but I think I have tried all interpretations. Perhaps there is still a problem? I have tried: make CC=gcc LANGUAGES=c; make CC=gcc install make CC=gcc LANGUAGES=c; make stage1; make CC=gcc install make LANGUAGES=c; make install make LANGUAGES=c; make stage1; make install make LANGUAGES=c; make stage1; make CC=stage1/gcc CFLAGS="-g -O -Bstage1/" I think that the first of these is the intended procedure, but I'm not sure. I have compiled gas, but I see no way to indicate this to the make scripts. Configure allegedly ignores -gas on my platform. I also think that I've RTFM'd pretty thoroughly. Still a great product. Any help appreciated. -- B< Brian Kahn blk@security.mitre.org "may the farce be with you"
Technical Details
Message-ID:
<BLK.92Apr3122016@vanity.mitre.org>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!mips!spool.mu.edu!agate!linus!linus.mitre.org!news!mbunix!blkShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!mips!spool.mu.edu!agate!linus!linus.mitre.org!news!mbunix!blk From: blk@mitre.org (Brian L. Kahn) Newsgroups: gnu.gcc.help Subject: Cross compiler generation, gcc2.1? Message-ID: <BLK.92Apr3122016@vanity.mitre.org> Date: 3 Apr 92 17:20:16 GMT Article-I.D.: vanity.BLK.92Apr3122016 Sender: news@linus.mitre.org (News Service) Distribution: gnu Organization: The MITRE Corp. Bedford, MA Lines: 57 Nntp-Posting-Host: vanity.mitre.org