Solaris Compiler

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: XnTriq, xnview

Post Reply
tailormade
Posts: 15
Joined: Fri Jun 24, 2005 6:08 pm

Solaris Compiler

Post by tailormade » Tue Jun 28, 2005 2:57 am

Which compiler are you using for Solairs? There are two major compilers used: Sun Studio (sunwsPRO) and GCC. Unfortunatley they are incompatible with one another. I have been trying to use Sun Studio but it will not link properly and I am guessing you are using GCC. Unfortunately, another toolkit I have to use is only available made with Sun Studio.

User avatar
xnview
Author of XnView
Posts: 33425
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Solaris Compiler

Post by xnview » Tue Jun 28, 2005 6:16 am

tailormade wrote:Which compiler are you using for Solairs? There are two major compilers used: Sun Studio (sunwsPRO) and GCC. Unfortunatley they are incompatible with one another. I have been trying to use Sun Studio but it will not link properly and I am guessing you are using GCC. Unfortunately, another toolkit I have to use is only available made with Sun Studio.
I use the standard cc of solaris
Pierre.

tailormade
Posts: 15
Joined: Fri Jun 24, 2005 6:08 pm

Compiler Version

Post by tailormade » Thu Jun 30, 2005 5:01 am

Can you give me more information about the version of the compiler you are using? When I compile both the sample programs and my program, I get two undefined references to __ashrdi3 and __ashldi3. From what I can tell in google searches, undefined references to these two items are usually due to compiler or standard library incompatiblities (but I could be wrong).

I am using Sun Studio 9 (which is listed using CC -V as Sun C++ 5.6 2005/7/15).

User avatar
xnview
Author of XnView
Posts: 33425
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Compiler Version

Post by xnview » Thu Jun 30, 2005 10:29 am

tailormade wrote:Can you give me more information about the version of the compiler you are using? When I compile both the sample programs and my program, I get two undefined references to __ashrdi3 and __ashldi3. From what I can tell in google searches, undefined references to these two items are usually due to compiler or standard library incompatiblities (but I could be wrong).

I am using Sun Studio 9 (which is listed using CC -V as Sun C++ 5.6 2005/7/15).
I rebuild soon a new version
Pierre.

Post Reply