comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Strange bug in IDL or AIX
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Strange bug in IDL or AIX [message #225 is a reply to message #223] Thu, 06 February 1992 03:24 Go to previous message
dov is currently offline  dov
Messages: 4
Registered: February 1992
Junior Member
In my message Mon, 3 Feb 02 12:10:14 WET I said:
>
> I have encountered a very strange bug. I don't know if it belongs
> to IDL or AIX. It occurs when I use call_external from IDL.
>
[Stuff deleted]
>
> I compile and link the c program with the sequence of commands
>
> cc -O -c bug.c
> ld -e bug -o bug bug.o -lm -lc
>
[Stuff deleted]

The mystery is solved, thanks to Thomas Braunbeck, AS Software Service
AIX, Germany.

Compiling and linking the program with the one statement:

cc -O -e bug -o bug bug.c -lm

removes the problem and IDL's complaints. This should be changed in the
IDL documentation "Using CALL_EXTERNAL and LINKIMAGE on the IBM Risc
System 6000".

< example : example.c
< cc -c example.c
< ld -e example -o example example.o -lc

> example : example.c
> cc -e example -o example example.c

--
___ ___
/ o \ o \
Dov Grobgeld ( o o ) o |
The Weizmann Institute of Science, Israel \ o /o o /
"Where the tree of wisdom carries oranges" | | | |
_| |_ _| |_
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: What is IDL.
Next Topic: IMSL/IDL ???

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 09:20:48 PDT 2025

Total time taken to generate the page: 0.24087 seconds