Solaris Compiler
Moderators: helmut, XnTriq, xnview
-
- Posts: 15
- Joined: Fri Jun 24, 2005 6:08 pm
Solaris Compiler
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.
-
- Author of XnView
- Posts: 45867
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Solaris Compiler
I use the standard cc of solaristailormade 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.
Pierre.
-
- Posts: 15
- Joined: Fri Jun 24, 2005 6:08 pm
Compiler Version
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 am using Sun Studio 9 (which is listed using CC -V as Sun C++ 5.6 2005/7/15).
-
- Author of XnView
- Posts: 45867
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Compiler Version
I rebuild soon a new versiontailormade 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).
Pierre.