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

Home » Public Forums » archive » Using GNU gcc to compile for CALL_EXTERNAL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Using GNU gcc to compile for CALL_EXTERNAL [message #5538] Sat, 13 January 1996 00:00
David S. Foster/Admin is currently offline  David S. Foster/Admin
Messages: 14
Registered: May 1995
Junior Member
We use CALL_EXTERNAL quite a bit to call modules coded in c.
Previously, we've used Sun's SPARCompiler to compile the
routines. We are using Solaris 2.3 (soon to be 2.5). My
question is, has anyone already worked out the compile/link
options to use with the GNU gcc compiler? Also, any success
(or failure) stories?

Here are example compilation commands, in case it's useful:

cc -c -G -Kpic image_proc_idl.c
cc -c -G -Kpic array_utils.c -lsunmath -lm
cc -G -o image_proc_idl.so image_proc_idl.o array_utils.o \
-lsunmath -lm

Dave Foster
UCSD Brain Image Analysis Lab
foster@bial6.ucsd.edu
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: tri_surf : convergence
Next Topic: where FAQ

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

Current Time: Thu Oct 09 21:22:09 PDT 2025

Total time taken to generate the page: 0.40168 seconds