top of page
Search
goldphakaforne

Download Gcc Solaris 10 Sparc



$uname -aSunOS sol 5.10 Generic_118833-33 sun4u sparc SUNW,Sun-Fire-V240$/usr/sfw/bin/gcc --versiongcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)Copyright (C) 2004 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.




Download Gcc Solaris 10 Sparc



If that fails, you can download and install a prebuilt GCC package with 64-bit SPARC support for Solaris 10 from SunFreeware.com (download, gunzip, install with pkgadd -d gcc-...-sparc-local) which will run from /usr/local/bin/gcc.


Perl: (Perl-5.8.4 installed with Solaris 10 or download and install Perl-5.8.8 binary)Note: If you are installing Perl-5.8.8, remove Perl-5.8.4 simlink from /usr/bin directory and create a new simlink in /usr/bin to wherever you install perl. I installed it on /usr/local/bin/perl.


Sun does not ship a C compiler with Solaris 2 before Solaris 10, thoughyou can download the Sun Studio compilers for free. In Solaris 10 and11, GCC 3.4.3 is available as /usr/sfw/bin/gcc. Solaris 11also provides GCC 4.5.2, 4.7.3, and 4.8.2 as/usr/gcc/4.5/bin/gcc or similar. Alternatively,you can install a pre-built GCC to bootstrap and install GCC. See thebinaries page for details.


We recommend the use of the Solaris assembler or the GNU assembler, inconjunction with the Solaris linker. The GNU asversions included in Solaris 10, from GNU binutils 2.15 (in/usr/sfw/bin/gas), and Solaris 11,from GNU binutils 2.19 or newer (also in /usr/bin/gas and/usr/gnu/bin/as), are known to work.Current versions of GNU binutils (2.26)are known to work as well, with the caveat mentioned ini?86-*-solaris2.10 . Note that your mileage may varyif you use a combination of the GNU tools and the Solaris tools: while thecombination GNU as + Sun ld should reasonably work,the reverse combination Sun as + GNU ld may fail tobuild or cause memory corruption at runtime in some cases for C++ programs.GNU ld usually works as well, although the version included inSolaris 10 cannot be used due to several bugs. Again, the currentversion (2.26) is known to work, but generally lacks platform specificfeatures, so better stay with Solaris ld. To use the LTO linkerplugin (-fuse-linker-plugin) with GNU ld, GNUbinutils must be configured with --enable-largefile.


Starting with Solaris 7, the operating system is capable of executing64-bit SPARC V9 binaries. GCC 3.1 and later properly supportsthis; the -m64 option enables 64-bit code generation.However, if all you want is code tuned for the UltraSPARC CPU, youshould try the -mtune=ultrasparc option instead, which producescode that, unlike full 64-bit code, can still run on non-UltraSPARCmachines.


The Xtensa configuration information must be specified prior tobuilding GCC. The include/xtensa-config.h headerfile contains the configuration information. If you created yourown Xtensa configuration with the Xtensa Processor Generator, thedownloaded files include a customized copy of this header file,which you can use to replace the default header file.


- Notice that all the Windows compilers with links here are free to download and use. - Recently Borland removed the C++ Builder X from download. But if you bought a book that has the CD of the compiler, then it is still free to use.


  • PowerPC/Linux support is by Ryan Lortie.-->Sparc/Solaris ghc-6.6-sparc-sun-solaris2.tar.bz2 (39 Mb)

This is a complete build, with profiling libraries and docs. The build was done (using GCC 4.0.3) on Solaris 8, but was alsotested under Solaris 10.


This installer relies on the Windows Installer runtime tooperate. If, after having downloaded the above file, double-clickingon the MSI file doesn't start up the installer, the likely cause isthat you don't have the Windows Installer runtime installed on yourmachine. You can download it from Microsoft:


Visual Haskellis a Visual Studio extension for Haskell, which comes with a completeGHC installation. Note: Visual Haskell currently does notwork under Windows Vista.Debian: alpha, amd64, arm, hppa, i386, ia64, m68k, mips, mipsel, powerpc, s390, sparc All these platforms have ghc6 packages in testing and unstable in the main Debian archive. Only x86 and sparc are registerised. Use "apt-get update; apt-get install ghc6 ghc6-prof ghc6-doc" to install them; you can also get the library sources in the ghc6-libsrc package.


My server setup is a bit different from the one outlined by Dr. Hedrick, andI chose to start documenting the installation from an earlier stage due to thefact that I always find myself having to install Solaris myself on secondhandmachines. These notes were taken during the various reinstalls of chrysalis,which I installed over a private network using another Solaris 10-based installserver (herring). I'll start with the Solaris 10 (u9 in this case) DVDdownloaded to herring and chrysalis having a pair of blank disks.


As of December 2010, I've been having trouble using the command-line setup forsconadm. According to Oracle, the following process should work with a valid,supported Sun hardware serial number and an Oracle Single Sign-On. Even with myentitlement to download patches through Oracle Support,I could not get sconadm to register correctly. Strangely enough, myold Sun contract number and SunSolve sign-on still work when registeringthrough the updatemanager Java-based GUI, so I don't know what'ssupposed to work here.


Anyway, at the time of writing, Oracle Solaris Studio 12.2was the most recent version of Sun Studio (or Oracle Solaris Studio now), so Iopted to download the package installer version for Solaris SPARC.Unfortunately it relies on a GUI installer which is a bit silly considering mostservers run headless. It also requires a huge amount of RAM to install since itdecompresses to /tmp, so I had to specify a few extra parameters duringinstallation. Provided I downloaded the installer to /root


The most recent version available as binaries is 2.4.2, which can be downloaded from -solaris/fpc-2.4.2.sparc-solaris.tar.gz. There is an install script corresponding to this version at -solaris/install.sh, but see =18271 for patches that might be needed; there might be a more recent version of this script with the trunk sources available via Subversion.


There is an extensive freeware library containing GNU utilities and libraries at (mirrored at e.g. ), these are more recent and more complete than the libraries etc. on Sun's Solaris 10 "Companion" CD. Note that these are initially downloaded using a web browser rather than by a graphical package or update manager, so don't waste time hunting for one on your system. Refer to for general instructions.


Gnu ld creates binaries that are not completely solaris abi compatible. malloc (libc) for example always returns a null pointer. FPC uses the solaris linker by using the -Xn compiler option (available from 2.4.2 onwards but not documented until 3.2). Solaris ld is in /usr/css/bin and gnu binutils has installed the link /usr/bin/ld :


Depending on the installation media, gnome is already installed or can easily be installed by installing the slim_install package. subversion and gnu-binutils can be installed from the solaris repository with "pkg install" or the graphical Package Manager.


If you have updated your Solaris version, you may also have to update your gcc. For example, if you are running Solaris 2.6 and your gcc is installed under /usr/local, check in /usr/local/lib/gcc-lib and make sure you have the appropriate directory, sparc-sun-solaris2.6/ or i386-pc-solaris2.6/. If gcc's directory is for a different version of Solaris than you are running, then you will need to rebuild gcc for your new version of Solaris.


Solaris provides some BSD-compatibility functions in /usr/ucblib/libucb.a. Perl will not build and run correctly if linked against -lucb since it contains routines that are incompatible with the standard Solaris libc. Normally this is not a problem since the solaris hints file prevents Configure from even looking in /usr/ucblib for libraries, and also explicitly omits -lucb.


Net::SSLeay requires a /dev/urandom to be present. This device is available from Solaris 9 onwards. For earlier Solaris versions you can either get the package SUNWski (packaged with several Sun software products, for example the Sun WebServer, which is part of the Solaris Server Intranet Extension, or the Sun Directory Services, part of Solaris for ISPs) or download the ANDIrand package from andi/. If you use SUNWski, make a symbolic link /dev/urandom pointing to /dev/random. For more details, see Document ID27606 entitled "Differing /dev/random support requirements within Solaris[TM] Operating Environments", available at . 2ff7e9595c


1 view0 comments

Recent Posts

See All

コメント


bottom of page