xtarget and xarch fails...
When I try to build my project with -xtarget=ultra3 -xarch=v8plusa the compilation fails, the code don't use any architectural specific code so I don't see why it fails. I dont get any special output from the compiler else then it return error code 1.
I also tried to compile with -xtarget=ultra2 -xarch=v8plusa on Forte 6.2, but it fails even earlier.
I'm greatful for any suggestions/hints/comments....
[426 byte] By [
Nergal] at [2007-11-26 10:24:54]

# 1
In what way does the compilation fail? And does it fail the same way if you remove all the -xtarget and -xarch options?
BTW, FD6U2 is End Of Life, and little support is available for it. If you do not need to support Solaris versions earlier than Solaris 8, you should stop using that obsolete compiler, and get Sun Studio 11, which is free for all uses. You can download it from
http://developers.sun.com/sunstudio/