home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / gnu / gcc / help / 2545 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  3.3 KB

  1. 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
  2. From: edc@ENG.Vitalink.COM (Eric D. Christensen)
  3. Newsgroups: gnu.gcc.help
  4. Subject: Problems with 2.3.1 on Sun4 4.1.1
  5. Keywords: .stabs & cross compilers
  6. Message-ID: <1992Nov17.223846.800@NOC.Vitalink.COM>
  7. Date: 17 Nov 92 22:38:46 GMT
  8. Sender: usenet@NOC.Vitalink.COM (Usenet News Admin)
  9. Organization: Vitalink Communications, Fremont, California
  10. Lines: 63
  11. Nntp-Posting-Host: warhol.eng.vitalink.com
  12.  
  13. Two guestions for you Gnurus (ugh! sorry, I couldn't resist):
  14.  
  15. 1) When attempting to build stage 1 for sparc in a subdirectory fo the
  16. source directory I get the following error:
  17.  
  18.   warhol{edc}100: cd gcc-2.3.1
  19.   warhol{edc}101: mkdir sparc
  20.   warhol{edc}102: cd sparc
  21.   warhol{edc}103: ls
  22.   warhol{edc}104: ../configure --srcdir=.. sun4
  23.   Linked `config.h' to `../config/xm-sparc.h'
  24.   Linked `tm.h' to `../config/sparc.h'
  25.   Linked `md' to `../config/sparc.md'
  26.   Linked `aux-output.c' to `../config/sparc.c'
  27.   Linked `tconfig.h' to `../config/xm-sparc.h'
  28.   Linked `hconfig.h' to `../config/xm-sparc.h'
  29.   Created `Makefile'.
  30.   Links are now set up for target sparc-sun-sunos4.1.1.
  31.   warhol{edc}105: make LANGUAGES=c
  32.   
  33.   [ lots of stuff deleted ]
  34.   
  35.   rm -f tmplibgcc2.a
  36.   set -e; \
  37.   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; \
  38.   do \
  39.     echo ${name}; \
  40.     ./xgcc -B./ -O2  -DIN_GCC   -g  -g1 -I. -I.. -I../config -c -DL${name} \
  41.         ../libgcc2.c -o ${name}.o; \
  42.     if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  43.     ar rc tmplibgcc2.a ${name}.o; \
  44.     rm -f ${name}.o; \
  45.   done
  46.   _muldi3
  47.   /usr/tmp/cca05063.s:2: Unknown pseudo-op:  `.stabs'
  48.   make: *** [libgcc2.a] Error 1
  49.  
  50. Whoops! Anyone have any idea where I may be going wrong here? I can't
  51. seem to figure it out.
  52.  
  53.  
  54. 2) Once I get the sparc version built and tested, I will be using it
  55. to build cross compilers for a29k and mc68K. The problem is that I
  56. need to call versions of gas for 29k and 68k respectively. My
  57. intention is to call the cross compilers gcc29k and gcc68k, and the
  58. assemblers gas29k and gas68k. Is this the "right" way to do it? And
  59. wher should I make the configuration changes to get them to call the
  60. appropriate assembler? Or is there a better way of setting this up?
  61.  
  62. Thanks in advance!!!!
  63.  
  64. Cheers-
  65.  
  66. -- 
  67. +---------------------------------------------------------------------------+
  68. |   Eric D. Christensen - System Administrator - Vitalink Communications    |
  69. |        Email: edc@ENG.Vitalink.COM           Phone: (510)440-2209         |
  70. |                 SCCA San Francisco Region - Formula 440 #8                |
  71. +---------------------------------------------------------------------------+
  72. |     Racing is like sex: You spend far too much time and money on the      |
  73. |    preliminaries, when you finally get to do it it doesn't last long      |
  74. | enough, and once it's over you want to do it again, but you have to wait. |
  75. +---------------------------------------------------------------------------+
  76.