Page 1 of 1

Using GNU c++ compiler with PX

Posted: Mon Sep 20, 2004 3:18 pm
by ariear
Any one did use gcc on Solaris ?
I do have a linux px and the it's probably uses gcc so I hope it'll suite Solaris 2.9

ArieAR

Re: Using GNU c++ compiler with PX

Posted: Tue May 10, 2005 8:28 am
by RobJ
[quote="ariear"]Any one did use gcc on Solaris ?
I do have a linux px and the it's probably uses gcc so I hope it'll suite Solaris 2.9

ArieAR[/quote]

Haven't used it on Solaris, but I'd like to use gcc on AIX. Has anyone tried this? (Indeed, has anyone tried using any compiler other than the standard supported one on any platform?)

Rob

Posted: Tue May 10, 2005 10:08 pm
by T42
Unfortunately, C++ is an ever-changing language, and not stabilized by any means. One version of a compiler on one platform can be entirely different than the same version on another platform.

So the advice is to ONLY USE THE SUPPORTED COMPILER NOTED ON YOUR INSTALL GUIDE. In other words, you're not allowed to use any other versions if you wish to have Ascential support for your installation.

Trust me, I've seen how GCC of different versions on Linux break DataStage jobs. Heck, RedHat and SuSE's versions of GCC have different versions that are supported by DataStage.

It is crazy, but this is the only way Ascential can ensure compatibility.

So, the answer to your question: No, GCC for Solaris is NOT SUPPORTED.

Posted: Wed May 11, 2005 1:26 am
by Prashantoncyber
I have small Q that what is "gcc" ?

Posted: Wed May 11, 2005 1:58 am
by Precious
Prashantoncyber wrote:I have small Q that what is "gcc" ?
This is the name of the gnu C++ compiler. This free compiler is frequently used on machines running the UNIX operating system.

Posted: Wed May 11, 2005 11:57 am
by T42
More information here:

http://gcc.gnu.org/

You can also do a google search for "GCC".

Posted: Fri May 13, 2005 3:15 am
by jasper
by setting the compiler options in the project environment to values for gcc you can get your jobs compiled.

But as discussed here: is this worth the loss of support? compared to what you pay for DS the c-compiler is not that expensive.

Posted: Fri May 13, 2005 4:06 am
by RobJ
[quote="jasper"]by setting the compiler options in the project environment to values for gcc you can get your jobs compiled.

But as discussed here: is this worth the loss of support? compared to what you pay for DS the c-compiler is not that expensive.[/quote]

Well, I couldn't get it to work by setting the options. If someone could post the correct options I might give it a try.

For AIX, I'm struggling to get a straight answer on the cost of the compiler. I've seen per user and per processor options. Per user is pricey, but not that pricey compared with DataStage. Per (named) user, on the other hand, wouldn't sit well with the DS Designer concurrent user licensing model. I could certainly imagine using GCC in the development environemnt if I could get it to work.

I hope that on AIX, future releases of DS may bundle a limited use licence for the XL C++ compiler, but then I'm a born optimist :wink:

Posted: Fri May 13, 2005 11:02 am
by T42
RobJ wrote:For AIX, I'm struggling to get a straight answer on the cost of the compiler. I've seen per user and per processor options. Per user is pricey, but not that pricey compared with DataStage. Per (named) user, on the other hand, wouldn't sit well with the DS Designer concurrent user licensing model. I could certainly imagine using GCC in the development environemnt if I could get it to work.
When you see "Per User" think "Per ACTIVE user." In other words, you can buy a 1 user license, and DataStage will gladly use it one at a time for their job compile. 2 - 4 user licenses are the best bet for the price.

Posted: Mon May 16, 2005 2:12 am
by RobJ
[quote]When you see "Per User" think "Per ACTIVE user." In other words, you can buy a 1 user license, and DataStage will gladly use it one at a time for their job compile. 2 - 4 user licenses are the best bet for the price[/quote]
That might well work from a technical point of view, but we're interested in the letter of the law when it comes to compliance with licence terms.

Posted: Mon Aug 08, 2005 5:26 am
by alraaayeq
All,

I am going to install gcc latest version ( I think 3.4.2/3) in order to test how could we use it for PX jobs.

does any one has Good/Bad experience , and only practical experience ( I got dozens of theories about using free/ proprietary c++ compilers) that could help me to speed up or buy/no-buy decision.

Also, if you have any comments I will be happy to hear from you.


Cheers

Posted: Tue Aug 09, 2005 8:00 am
by RobJ
[quote="alraaayeq"]All,

I am going to install gcc latest version ( I think 3.4.2/3) in order to test how could we use it for PX jobs.

does any one has Good/Bad experience , and only practical experience ( I got dozens of theories about using free/ proprietary c++ compilers) that could help me to speed up or buy/no-buy decision.

Also, if you have any comments I will be happy to hear from you.


Cheers[/quote]

No experience so far, but we've decided to switch from AIX to Linux on Intel, so we'll be using gcc in the next few weeks (currently waiting for the servers to arrive). Note - this isn't a strategic move away from AIX, just a tactical decision for this project.