Ask the Expert

Newbie-friendly help for migrating C/C++ programs from Solaris to Linux

I've been reading your tips on migrating from Solaris to Linux, and find it all very interesting. But the problem for me is that I'm new to both Solaris and Linux. I've a task before me to port several C/C++ programs from Solaris to Linux. The applications that are in Solaris use GNU compilers, Diab Compilers and Eclipse Compilers. And most of my applications are related to SPARC stations, PowerPCs. we are using Rational ClearMake as Make tool here.

    Requires Free Membership to View

As you already know, clearMake and GNU are not the same, far from it. However, clearcase does offer a GNU compatibility mode for its clearmake. Have you tried this?

# clearmake -C gnu

This runs clearmake in GNU "emulation mode." Though there are many features of GNU that are not supported, you may have some success. There are some inconsistencies with the way clearmake -C GNU works on AIX and Sun -- so be careful and don't expect miracles, but this may help you. I would log any problems you may have with Rational Clearcase (which is an IBM product) and see if they can help you resolve them.

This was first published in November 2004

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: