gcc and call_external on solaris ? [message #3566] |
Tue, 21 February 1995 09:11  |
chaganti
Messages: 3 Registered: January 1995
|
Junior Member |
|
|
Hi! IDL GURUS
Could some one give me an example for makeing sharable object for IDL call_external
with SOLARIS OS.
We have only gcc/g++ compiler. The IDL document does not mention about gcc.
|
|
|
Re: gcc and call_external on solaris ? [message #3740 is a reply to message #3566] |
Mon, 27 February 1995 07:06  |
tribbey
Messages: 5 Registered: October 1994
|
Junior Member |
|
|
In article <3isk4q$pbc@hammer.msfc.nasa.gov>, chaganti@ssl.msfc.nasa.gov writes:
|> In article <D4J1G7.8M6@midway.uchicago.edu>, rivers@cars3.uchicago.edu (Mark Rivers) writes:
|> >In article <3ij7tc$20n@vail.levels.unisa.edu.au>, roughan@vail.cssip.edu.au (Matt Roughan) writes:
|> >>
|> >>In article <3id6r7$8gr@hammer.msfc.nasa.gov>, chaganti@ssl.msfc.nasa.gov writes:
|> >>Path: vail.levels.unisa.edu.au!fang.dsto.gov.au!yoyo.aarnet.edu.au !harbinger.cc.monash.edu.au!msunews!agate!howland.reston.ans .net!news.moneng.mei.com!uwm.edu!news.alpha.net!news.mathwor ks.com!news.duke.edu!convex!bcm!news.msfc.nasa.gov!sslmor.ms fc.nasa| > .gov!not-for-mail
|> >>From: chaganti@ssl.msfc.nasa.gov
|> >>Newsgroups: comp.lang.idl-pvwave
|> >>Subject: gcc and call_external on solaris ?
|> >>Date: Wed, 22 Feb 95 03:41:03 GMT-9:30
|> >>Organization: Space Science Lab, Marshall Space Flight Center, Huntsville, Al
|> >>Lines: 6
|> >>Message-ID: <3id6r7$8gr@hammer.msfc.nasa.gov>
|> >>Reply-To: chaganti@ssl.msfc.nasa.gov
|> >>NNTP-Posting-Host: sslmor.msfc.nasa.gov
|> >>
|> >>>Hi! IDL GURUS
|> >>
|> >>>Could some one give me an example for makeing sharable object for IDL
|> >>>call_external with SOLARIS OS.
|> >>
|> >>>We have only gcc/g++ compiler. The IDL document does not mention
|> >>>about gcc.
|> >>
|> >>I'd like to know how to do the same thing on a DEC ALPHA AXP, running
|> >>OSF/1.
|> >>
|> >
|> >Look at your IDL distribution! There are example makefiles for BOTH Solaris and
|> >OSF/1 provided with the IDL distribution in the $IDL_DIR/misc/dynamic_link
|> >directory.
|> >
|> > ____________________________________________________________
|> >Mark Rivers (312) 702-2279 (office)
|> >CARS (312) 702-9951 (secretary)
|> >Univ. of Chicago (312) 702-5454 (FAX)
|> >5640 S. Ellis Ave. (708) 922-0499 (home)
|> >Chicago, IL 60637 rivers@cars3.uchicago.edu (Internet)
|> >
|> But IDL dynamic_link directory does not mention about gcc/g++ type compilers.
|> It has examples with cc compilers.
|>
|> Regards
|> Krishna
|> chaganti@ssl.msfc.nasa.gov
|>
For what it's worth, once upon a time I looked into doing this but found that it would take
some modifications of the gcc code to make it work. If I remember correctly, the gcc docs
said that the gcc compiler does not do Position Independent Code out of the box .
Will Tribbey
Biomedical Imaging Center
University of Tennessee Medical Center at Knoxville
tribbey@scanner.hosp.utk.edu
|
|
|
Re: gcc and call_external on solaris ? [message #3741 is a reply to message #3566] |
Mon, 27 February 1995 05:30  |
chaganti
Messages: 3 Registered: January 1995
|
Junior Member |
|
|
In article <D4J1G7.8M6@midway.uchicago.edu>, rivers@cars3.uchicago.edu (Mark Rivers) writes:
> In article <3ij7tc$20n@vail.levels.unisa.edu.au>, roughan@vail.cssip.edu.au (Matt Roughan) writes:
>>
>> In article <3id6r7$8gr@hammer.msfc.nasa.gov>, chaganti@ssl.msfc.nasa.gov writes:
>> Path: vail.levels.unisa.edu.au!fang.dsto.gov.au!yoyo.aarnet.edu.au !harbinger.cc.monash.edu.au!msunews!agate!howland.reston.ans .net!news.moneng.mei.com!uwm.edu!news.alpha.net!news.mathwor ks.com!news.duke.edu!convex!bcm!news.msfc.nasa.gov!sslmor.ms fc.nasa.gov!not-for-mail
>> From: chaganti@ssl.msfc.nasa.gov
>> Newsgroups: comp.lang.idl-pvwave
>> Subject: gcc and call_external on solaris ?
>> Date: Wed, 22 Feb 95 03:41:03 GMT-9:30
>> Organization: Space Science Lab, Marshall Space Flight Center, Huntsville, Al
>> Lines: 6
>> Message-ID: <3id6r7$8gr@hammer.msfc.nasa.gov>
>> Reply-To: chaganti@ssl.msfc.nasa.gov
>> NNTP-Posting-Host: sslmor.msfc.nasa.gov
>>
>>> Hi! IDL GURUS
>>
>>> Could some one give me an example for makeing sharable object for IDL
>>> call_external with SOLARIS OS.
>>
>>> We have only gcc/g++ compiler. The IDL document does not mention
>>> about gcc.
>>
>> I'd like to know how to do the same thing on a DEC ALPHA AXP, running
>> OSF/1.
>>
>
> Look at your IDL distribution! There are example makefiles for BOTH Solaris and
> OSF/1 provided with the IDL distribution in the $IDL_DIR/misc/dynamic_link
> directory.
>
> ____________________________________________________________
> Mark Rivers (312) 702-2279 (office)
> CARS (312) 702-9951 (secretary)
> Univ. of Chicago (312) 702-5454 (FAX)
> 5640 S. Ellis Ave. (708) 922-0499 (home)
> Chicago, IL 60637 rivers@cars3.uchicago.edu (Internet)
>
But IDL dynamic_link directory does not mention about gcc/g++ type compilers.
It has examples with cc compilers.
Regards
Krishna
chaganti@ssl.msfc.nasa.gov
|
|
|