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

Home » Public Forums » archive » Re: Makefile for external calls on Solaris 9 (64-bit)
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: Makefile for external calls on Solaris 9 (64-bit) [message #38859 is a reply to message #38773] Wed, 31 March 2004 00:08 Go to previous message
bjwhitcher is currently offline  bjwhitcher
Messages: 4
Registered: March 2004
Junior Member
"Rick Towler" <rtowler@u.washington.edu> wrote in message news:<c4cakp$r6k$1@nntp6.u.washington.edu>...
> Just a guess, but it still doesn't seem like you are linking correctly. I
> get the same error (except the 32/64 are swapped) when I try to load a 64bit
> dlm in the 32bit version of IDL which is what I would expect. So it seems
> that your DLM is still 32-bit?
>
> I don't know, and unfortunately I can't point you to a tool that could tell
> you more, but I can suggest using gcc to link instead of ld. I'm compiling
> 64bit DLMs and I *think* they would work in the 64bit version of IDL and
> that is the only real difference that I can see between your makefile and
> mine.
>
> CC=gcc
> X_CFLAGS=-fPIC -m64 -mcpu=v9
> X_LD_FLAGS=-shared -m64
> LD=gcc
> LD_LIBS=

Rick,

I modified my Makefile, using gcc with your flags instead of ld, and
it works! Thanks for the help.

Brandon
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Generalized Hough Transform
Next Topic: Re: Finding the closest value in an array...

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

Current Time: Wed Oct 08 13:07:02 PDT 2025

Total time taken to generate the page: 0.00393 seconds