home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / gnu / gcc / help / 2012 < prev    next >
Encoding:
Text File  |  1992-08-30  |  1.1 KB  |  31 lines

  1. Newsgroups: gnu.gcc.help
  2. Path: sparky!uunet!convex!darwin.sura.net!wupost!usc!elroy.jpl.nasa.gov!news.claremont.edu!ucivax!orion.oac.uci.edu!gordius!dan
  3. From: dan@gordian.com (Dan Lambright)
  4. Subject: defining endianness on mips processor
  5. Message-ID: <1992Aug30.083045.22672@gordian.com>
  6. Organization: Gordian; Costa Mesa, CA
  7. Distribution: gnu
  8. Date: Sun, 30 Aug 1992 08:30:45 GMT
  9. Lines: 20
  10.  
  11.  
  12. On the c compiler provided with the RISC os for their mips
  13. processor, there is an option to toggle between big and
  14. little endian.  cc (-EL/EB)  On our workstations we compile
  15. in big endian, and for our engineering platform we compile
  16. in little endian.
  17.  
  18. gcc does not apear to have such an option of its command line.
  19. There are #defines that you can use,  it seems, to say which 
  20. type of endianness you want, when you build gcc.
  21.  
  22. I realy don't want to have two gcc executables (one for big and
  23. one for little endian.)  I'd like a command line argument
  24. to be able to switch between the two.  Is that going to exist
  25. in a future gcc release, or is it posible to hack on the code
  26. to produce big/little endian as definable by the user?
  27.  
  28. Dan Lambright
  29. dan@gordian.com
  30.  
  31.