Help needed: Which gcc version supports xmemalign

2008-11-18 Thread Vijayalakshmi BN
Hello,

I'm working on Solaris 9 and using gcc version 2.9.5. I'm facing issues with
respect to memory misalignment. I'm getting SIGBUS errors. Through various
websites, I found that xmemalign can be used while compiling to handle
memory alignment issues. Bu the version I'm using doesn't support xmemalign
option. Even gcc version 3.4.3 doesn't support. It says:
gcc: language memalign=1i not recognized
Can you let me know which version of gcc supports xmemalign option on
solaris? Also where can I download the gcc version from?

Thanks and Regards,
Viji
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help needed: Which gcc version supports xmemalign

2008-11-18 Thread Mel
On Tuesday 18 November 2008 11:40:08 Vijayalakshmi BN wrote:

 I'm working on Solaris 9 and using gcc version 2.9.5.

I can't for the life of me see any reason how this would be related to 
FreeBSD. Running FreeBSD 4 (gcc 2.x) on Sun hardware, maybe, but that doesn't 
seem to be the case.
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help needed: Which gcc version supports xmemalign

2008-11-18 Thread Dan Nelson
In the last episode (Nov 18), Vijayalakshmi BN said:
 I'm working on Solaris 9 and using gcc version 2.9.5. I'm facing
 issues with respect to memory misalignment. I'm getting SIGBUS
 errors. Through various websites, I found that xmemalign can be used
 while compiling to handle memory alignment issues. Bu the version I'm
 using doesn't support xmemalign option. Even gcc version 3.4.3
 doesn't support. It says: gcc: language memalign=1i not recognized
 Can you let me know which version of gcc supports xmemalign option on
 solaris? Also where can I download the gcc version from?

-xmemalign=ab is a Sun Studio compiler flag, not a GCC flag.  If you
don't already have it, you can download it free from
http://developers.sun.com/sunstudio/ .  If for some reason you must use
a GCC frontend, you can try GCC for Sparc Systems (
http://cooltools.sunsource.net/gcc/ ), which supports all the regular
GCC flags plus many Sun Studio ones, including xmemalign:

http://cooltools.sunsource.net/gcc/flags.html

But as Mel said, this has nothing to do with FreeBSD, so this post
doesn't exist.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]