home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / sgi / graphics / 208 < prev    next >
Encoding:
Internet Message Format  |  1993-01-26  |  2.5 KB

  1. Path: sparky!uunet!spool.mu.edu!yale.edu!ira.uka.de!math.fu-berlin.de!mailgzrz.TU-Berlin.DE!news.netmbx.de!Germany.EU.net!mcsun!uknet!edcastle!dcs.ed.ac.uk!epcc.ed.ac.uk!gordonc
  2. From: gordonc@epcc.ed.ac.uk (Gordon D B Cameron)
  3. Newsgroups: comp.sys.sgi.graphics
  4. Subject: Re: ImageVision and g++
  5. Message-ID: <C1Grqz.n4z@dcs.ed.ac.uk>
  6. Date: 26 Jan 93 13:49:46 GMT
  7. References: <C1DHGr.B00@dcs.ed.ac.uk> <1k1b9mINN8a6@fido.asd.sgi.com>
  8. Sender: cnews@dcs.ed.ac.uk (UseNet News Admin)
  9. Organization: Edinburgh Parallel Computing Centre
  10. Lines: 56
  11.  
  12. In article <1k1b9mINN8a6@fido.asd.sgi.com>, walker@owl.asd.sgi.com (Christopher Walker) writes:
  13. > In article <C1DHGr.B00@dcs.ed.ac.uk>, gordonc@epcc.ed.ac.uk writes:
  14. > > Sorry if this has been asked before, but can I use g++ (V2.0) to compile
  15. > > ImageVision C++ progs, and if so, which options should I use ??
  16. > > 
  17. > > Any help appreciated,
  18. > We've never tried.. but I strongly doubt that SGI's C++ and gnu's C++ are
  19. > compatible.  Maybe someone with more experience with g++ would know.  I suspect
  20. > that the IL would need to be recompiled with g++ and there isn't much likelihood
  21. > of SGI supporting that.. sorry.
  22.  
  23. ....ermmm, isn't the language specification for C++ fairly strict? If I were to take pieces of C code from my SGI and attempt to compile them elsewhere, I'd like to think that I wouldn't experience too much trouble :-) (also,for example, I can compile GL programs with gcc)
  24.  
  25. Incidentally, the trouble is in the linking stage. With the options, -traditional-cpp and -x c++, all is OK until link, when I get :
  26.  
  27. gcc -x c++ -traditional-cpp -o imgcat imgcat.c++
  28.  
  29. Undefined:
  30. getElem__C7ilPixeli
  31. findLink__15ilIndexableListl
  32. _._15ilIndexableList
  33. inList__9ilImgListP7ilImage
  34. findImg__9ilImgListP7ilImage
  35. firstImg__9ilImgList
  36. lastImg__9ilImgList
  37. nextImg__9ilImgList
  38. resetCheck__7ilImage
  39. __as__7ilPixelRC7ilPixel
  40. ilDataIsSigned
  41. setInput__7ilImagePT0i
  42. findParent__7ilImagel
  43. findChild__7ilImagel
  44. _._10ilCacheImg
  45. ilOpenImgFile
  46. ilCreateImgFile
  47. childResponse__7ilImagePT0
  48. parentResponse__7ilImagePT0
  49. reset__10ilCacheImg
  50. getSubTile3D__10ilCacheImgiiiiiiPviiiiiiPC8ilConfig
  51. setSubTile3D__10ilCacheImgiiiiiiPviiiiiiPC8ilConfig
  52. copyTile3D__10ilCacheImgiiiiiiP7ilImageiiiPii
  53. fillTile3D__10ilCacheImgiiiiiiPvPC8ilConfigPC6ilTile
  54. flush__10ilCacheImg
  55. collect: /usr/bin/ld returned 1 exit status
  56.  
  57.  
  58.  
  59.  
  60.  
  61. -- 
  62. e|p Gordon Cameron                      |     Phone:+44 31 650 5024(Rm. 2259)
  63. c|c Edinburgh Parallel Computing Centre |     Email: gordonc@epcc.ed.ac.uk
  64.     oOo The University of Edinburgh oOo |    'So far so good, so now so what'
  65.