home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!know!mips2!news.bbn.com!seismo!darwin.sura.net!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!pacbell.com!iggy.GW.Vitalink.COM!nocsun.NOC.Vitalink.COM!ENG.Vitalink.COM!edc
- From: edc@ENG.Vitalink.COM (Eric D. Christensen)
- Newsgroups: gnu.gcc.help
- Subject: Problems with 2.3.1 on Sun4 4.1.1
- Keywords: .stabs & cross compilers
- Message-ID: <1992Nov17.223846.800@NOC.Vitalink.COM>
- Date: 17 Nov 92 22:38:46 GMT
- Sender: usenet@NOC.Vitalink.COM (Usenet News Admin)
- Organization: Vitalink Communications, Fremont, California
- Lines: 63
- Nntp-Posting-Host: warhol.eng.vitalink.com
-
- Two guestions for you Gnurus (ugh! sorry, I couldn't resist):
-
- 1) When attempting to build stage 1 for sparc in a subdirectory fo the
- source directory I get the following error:
-
- warhol{edc}100: cd gcc-2.3.1
- warhol{edc}101: mkdir sparc
- warhol{edc}102: cd sparc
- warhol{edc}103: ls
- warhol{edc}104: ../configure --srcdir=.. sun4
- Linked `config.h' to `../config/xm-sparc.h'
- Linked `tm.h' to `../config/sparc.h'
- Linked `md' to `../config/sparc.md'
- Linked `aux-output.c' to `../config/sparc.c'
- Linked `tconfig.h' to `../config/xm-sparc.h'
- Linked `hconfig.h' to `../config/xm-sparc.h'
- Created `Makefile'.
- Links are now set up for target sparc-sun-sunos4.1.1.
- warhol{edc}105: make LANGUAGES=c
-
- [ lots of stuff deleted ]
-
- rm -f tmplibgcc2.a
- set -e; \
- for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 _lshrdi3 _lshldi3 _ashldi3 _ashrdi3 _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2 _floatdidf _floatdisf _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi __gcc_bcmp _varargs _eprintf _builtin_new _caps_New _builtin_del _bb _shtab _clear_cache _trampoline __main _exit _ctors; \
- do \
- echo ${name}; \
- ./xgcc -B./ -O2 -DIN_GCC -g -g1 -I. -I.. -I../config -c -DL${name} \
- ../libgcc2.c -o ${name}.o; \
- if [ $? -eq 0 ] ; then true; else exit 1; fi; \
- ar rc tmplibgcc2.a ${name}.o; \
- rm -f ${name}.o; \
- done
- _muldi3
- /usr/tmp/cca05063.s:2: Unknown pseudo-op: `.stabs'
- make: *** [libgcc2.a] Error 1
-
- Whoops! Anyone have any idea where I may be going wrong here? I can't
- seem to figure it out.
-
-
- 2) Once I get the sparc version built and tested, I will be using it
- to build cross compilers for a29k and mc68K. The problem is that I
- need to call versions of gas for 29k and 68k respectively. My
- intention is to call the cross compilers gcc29k and gcc68k, and the
- assemblers gas29k and gas68k. Is this the "right" way to do it? And
- wher should I make the configuration changes to get them to call the
- appropriate assembler? Or is there a better way of setting this up?
-
- Thanks in advance!!!!
-
- Cheers-
-
- --
- +---------------------------------------------------------------------------+
- | Eric D. Christensen - System Administrator - Vitalink Communications |
- | Email: edc@ENG.Vitalink.COM Phone: (510)440-2209 |
- | SCCA San Francisco Region - Formula 440 #8 |
- +---------------------------------------------------------------------------+
- | Racing is like sex: You spend far too much time and money on the |
- | preliminaries, when you finally get to do it it doesn't last long |
- | enough, and once it's over you want to do it again, but you have to wait. |
- +---------------------------------------------------------------------------+
-