Article View: comp.sys.sgi.graphics
Article #139Re: ImageVision and g++
From: Gordon D B Cameron
Date: Tue, 26 Jan 1993 13:49
Date: Tue, 26 Jan 1993 13:49
56 lines
2646 bytes
2646 bytes
In article <1k1b9mINN8a6@fido.asd.sgi.com>, walker@owl.asd.sgi.com (Christopher Walker) writes:
>
> In article <C1DHGr.B00@dcs.ed.ac.uk>, gordonc@epcc.ed.ac.uk writes:
> > Sorry if this has been asked before, but can I use g++ (V2.0) to compile
> > ImageVision C++ progs, and if so, which options should I use ??
> >
> > Any help appreciated,
>
> We've never tried.. but I strongly doubt that SGI's C++ and gnu's C++ are
> compatible. Maybe someone with more experience with g++ would know. I suspect
> that the IL would need to be recompiled with g++ and there isn't much likelihood
> of SGI supporting that.. sorry.
>
....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)
Incidentally, the trouble is in the linking stage. With the options, -traditional-cpp and -x c++, all is OK until link, when I get :
gcc -x c++ -traditional-cpp -o imgcat imgcat.c++
Undefined:
getElem__C7ilPixeli
findLink__15ilIndexableListl
_._15ilIndexableList
inList__9ilImgListP7ilImage
findImg__9ilImgListP7ilImage
firstImg__9ilImgList
lastImg__9ilImgList
nextImg__9ilImgList
resetCheck__7ilImage
__as__7ilPixelRC7ilPixel
ilDataIsSigned
setInput__7ilImagePT0i
findParent__7ilImagel
findChild__7ilImagel
_._10ilCacheImg
ilOpenImgFile
ilCreateImgFile
childResponse__7ilImagePT0
parentResponse__7ilImagePT0
reset__10ilCacheImg
getSubTile3D__10ilCacheImgiiiiiiPviiiiiiPC8ilConfig
setSubTile3D__10ilCacheImgiiiiiiPviiiiiiPC8ilConfig
copyTile3D__10ilCacheImgiiiiiiP7ilImageiiiPii
fillTile3D__10ilCacheImgiiiiiiPvPC8ilConfigPC6ilTile
flush__10ilCacheImg
collect: /usr/bin/ld returned 1 exit status
--
e|p Gordon Cameron | Phone:+44 31 650 5024(Rm. 2259)
c|c Edinburgh Parallel Computing Centre | Email: gordonc@epcc.ed.ac.uk
oOo The University of Edinburgh oOo | 'So far so good, so now so what'
Technical Details
Message-ID:
<C1Grqz.n4z@dcs.ed.ac.uk>Path:
arc1-ca.pugleaf.net!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!gordoncReferences:
<C1DHGr.B00@dcs.ed.ac.uk> <1k1b9mINN8a6@fido.asd.sgi.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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 From: gordonc@epcc.ed.ac.uk (Gordon D B Cameron) Newsgroups: comp.sys.sgi.graphics Subject: Re: ImageVision and g++ Message-ID: <C1Grqz.n4z@dcs.ed.ac.uk> Date: 26 Jan 93 13:49:46 GMT References: <C1DHGr.B00@dcs.ed.ac.uk> <1k1b9mINN8a6@fido.asd.sgi.com> Sender: cnews@dcs.ed.ac.uk (UseNet News Admin) Organization: Edinburgh Parallel Computing Centre Lines: 56