Seems to be working well on Solaris 8 Sparc thus far. No surprises. I'll post a result set once the tests are complete but for now I see the output from hello.c is exactly as expected :
# pwd /tmp/test # cat -n hello.c 1 #include <stdio.h> 2 3 int 4 main(int argc, char *argv[]) 5 { 6 printf ( "Hello World!\n" ); 7 return (0); 8 } # gcc --version gcc (Blastwave.org Inc. Mon Mar 28 06:28:14 GMT 2011) 4.6.0 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # gcc -mcpu=v8 -mno-app-regs -mno-vis -m32 -S -o hello.s hello.c # cat hello.s .file "hello.c" .section ".rodata" .align 8 .LLC0: .asciz "Hello World!" .section ".text" .align 4 .global main .type main, #function .proc 04 main: save %sp, -96, %sp st %i0, [%fp+68] st %i1, [%fp+72] sethi %hi(.LLC0), %g1 or %g1, %lo(.LLC0), %o0 call puts, 0 nop mov 0, %g1 mov %g1, %i0 restore jmp %o7+8 nop .size main, .-main .ident "GCC: (Blastwave.org Inc. Mon Mar 28 06:28:14 GMT 2011) 4.6.0" # This is precisely the same as the output from 4.5.2 : # diff /export/medusa/dclarke/build/test/hello_gcc_sparcv7.s hello.s 25c25 < .ident "GCC: (Blastwave.org Inc. Thu Dec 16 18:30:45 GMT 2010) 4.5.2" --- > .ident "GCC: (Blastwave.org Inc. Mon Mar 28 06:28:14 GMT 2011) 4.6.0" # Thus all is well. GCC is the ultimate open source project in my opinion in that it gives birth to everything else. Well, that makes binutils the pen-ultimate I guess. :-) Thank you to the massive collection of Red Hat guys and volunteers and to a massive colleection of truely gifted programmers and the FSF for making GCC possible. -- Dennis Clarke dcla...@opensolaris.ca <- related to the open source Solaris dcla...@blastwave.org <- related to open source for Solaris pub 1024D/FA35B44B 2008-08-17 fingerprint = B766 3250 1511 40C8 088A 12B9 1D93 6C72 FA35 B44B -- /~\ The ASCII Ribbon Campaign \ / No HTML/RTF in email X No Word docs in email / \ Respect for open standards Thought du jour ------------------------------------------------------- In fact, my main conclusion after spending ten years of my life working on the TeX project is that software is hard. It.s harder than anything else I.ve ever had to do. Donald E. Knuth, 5 Oct 2001, Professor Emeritus of The Art of Computer Programming at the Technische Universitat M�chen in a lecture entitled "All Questions Answered". ---------------------------------------------------------------- 123456789+123456789+123456789+123456789+123456789+123456789+1234 ------------------------ MESSAGE ENDS -------------------------- ---------------------------- Original Message ---------------------------- Subject: GCC 4.6.0 Released From: "Jakub Jelinek" <ja...@redhat.com> Date: Mon, March 28, 2011 03:25 To: gcc-annou...@gcc.gnu.org Cc: gcc@gcc.gnu.org -------------------------------------------------------------------------- The GNU Compiler Collection version 4.6.0 has been released. GCC 4.6.0 is a major release, containing substantial new functionality not available in GCC 4.5.x or previous GCC releases. The "link-time optimization" framework introduced in GCC 4.5.0 has been significantly improved in this release, it is now possible to compile very large applications like Mozilla or GCC itself with LTO. GCC can now partially inline functions, inlining just hot short path to exit and keeping the rest of the function out of line. Support for the upcoming C++0x standard has been notably improved, Fortran 2003 and 2008 has been greatly extended and many other frontends undergone substantial changes as well. Many other improvements have been added and more than thousand of bugs have been fixed in various parts of the compiler collection. See: http://gcc.gnu.org/gcc-4.6/changes.html for more information about changes in GCC 4.6.0. This release is available from the FTP servers listed here: http://www.gnu.org/order/ftp.html The release is in gcc/gcc-4.6.0/ subdirectory. If you encounter difficulties using GCC 4.6, please do not contact me directly. Instead, please visit http://gcc.gnu.org for information about getting help. As always, a vast number of people contributed to this GCC releases -- far too many to thank individually!