home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / gnu / gcc / help / 3036 < prev    next >
Encoding:
Internet Message Format  |  1993-01-27  |  1.3 KB

  1. Path: sparky!uunet!dziuxsolim.rutgers.edu!lutece!figuei
  2. From: figuei@lutece.rutgers.edu (Francisco Figueirido)
  3. Newsgroups: gnu.gcc.help
  4. Subject: cross compiling on a SGI for the Sparc
  5. Message-ID: <FIGUEI.93Jan27152502@lutece.rutgers.edu>
  6. Date: 27 Jan 93 15:25:02 GMT
  7. Sender: figuei@lutece
  8. Reply-To: figuei@lutece.rutgers.edu
  9. Organization: Rutgers, The State University of New Jersey
  10. Lines: 15
  11.  
  12. I want to set up a cross compilation environment on our SGI machines for the
  13. sparc and I am having some difficulty with the GNU assembler. It seems that
  14. the assembler does not align correctly some data, but this doesn't happen all
  15. the time. If I cross-compile with gcc 2.3.3 for the sparc and then transfer
  16. the .s files to a Sun and assemble and link them there everything is OK; but
  17. if I cross assemble on the SGI the linker (on the Sun, ld, not the GNU linker)
  18. gives a warning about misaligned data and the program bombs with a bus error.
  19. If I cross-link on the SGI using the GNU linker I don't get the message but I
  20. do get the bomb. Is this a well-known problem? Has anybody experienced
  21. something of this sort? I got the linker and assembler from prep.ai.mit.edu,
  22. so they are the latest versions. Thanks for your help!
  23. --
  24.     Francisco Figueirido
  25.     email: figuei@lutece.rutgers.edu
  26.     phone: (908)932-3278
  27.