In this post we will see how to install gcc on a solaris operating system, taking into account all the prerequisites and configuration parameters strictly required, so as to elaborate. Both installations share the same oracle database, but use a different tablespace. We set up 2 parallel moodle installations on one and a database on a separate server. The project originates in my need for a structured way to maintain a number of packages for solaris and from that came a small bourneshell based buildsystem. Gcc download apk, deb, eopkg, ipk, rpm, tgz, txz, xz, zst. Enter a program name, such as, gcc, or a keyword like editor. Csw community software available through is wonderful repository with hundreds of software packages for solaris 8, solaris 9 and solaris 10. Opensolaris and solaris software packages for intelx86. Here are step by step instructions for compiling gcc 4. The advice you got about where to find gcc relates to solaris 10, not solaris 11. The programs were ported to all versions of solaris from 2. Armed with the mighty pkgget tool, this is definitely one of the easiest and quicked ways to get new software installed without having to compile anything to meet dependencies.
The libgcc packages contain all the files from usrlocallib generated by a gcc package installation. How to install gcc on solaris easiest way possible. At the same time, it is advisable to use a newer gnu assembler than usrsfwbingas. It works similarly to package management tools such as aptget on linux, and it allows you to easily download and install binary solaris packages from the commandline, for x86 or sparc architecture. Gcc download for linux apk, deb, eopkg, ipk, rpm, tgz, txz. Migration to an oracle solaris zone on an oracle solaris 10 host. Installation on solaris 10 with oracle 10 moodledocs. Package names that are nonbold andor with no version number, are not currently available for this version of solaris. I have had to however copy the static library files of libgmp. At the moment, the solaris packages are not as complete as the suse packages. Sunwgcc note the period following d is not a typo it indicates that pkgadd should look in the current directory for the package sunwgcc. Basically i know two sites for solaris binary packages and. Alternatives implementation specific to opencsw common.
Free and open source software foss in oracle solaris 10 oracle is working to ensure that the strength of the oracle solaris operating system is complemented by a collection of popular, freely available software. How to install gcc on solaris easiest way possible i think. Sep 20, 2009 here are step by step instructions for compiling gcc 4. So i assume i need to compile gcc for myself and specify prefix. An end user may need these libraries, but not want the entire gcc package. Free and open source software foss in oracle solaris 10 oracle is working to ensure that the strength of the oracle solaris operating system is complemented by a collection of.
This section provides details on the packages included with the hardware management pack. Chapter 26 adding and removing packages and patches. The following table lists and describes the packages in the oracle solaris 10 910 software for sparc based systems. Reverse dependencies 4 reverse dependencies are solaris packages that depends on gcc4core. Analysis of the oracle solaris configuration, including networking, storage, and oracle solaris operating system features in use. Your solaris 11 dvd may include additional development packages which would include a compiler. Solaris opensolaris this forum is for the discussion of solaris, opensolaris, openindiana, and illumos. Make sure to add that directory along with usrccsbin in your path. Migration to an oracle solaris zone on an oracle solaris 11 host.
Reverse dependencies 2 reverse dependencies are solaris packages that depends on gcc5core. While sunfreeware has mostly pretty basic stuff which works blastwave provides packages of software youd like. I guess what has happend is that youre using a gcc compiler that was build on solaris 9 or some other solaris release older than solaris 10 b69, and this gcc release has a set of fixed gcc specific headers that dont match your s10b69 system headers any more. The tool pkgbuild is for building packages on solaris 11openindiana from rpm like spec files. Install or not install newest gcc version on solaris 10. So i assume i need to compile gcc for myself and specify. First, for solaris 9 you need the solaris 9 version. Solaris 10 shipped with an old gcc, probably version 3. Installing cc compiler on sun solaris solutions experts. In order to compile certain more recent programs, solaris 10s default gcc is often too old. Please have a look at my experimental package site, which will replace this site soon yet another package site. There is now an on disk data format for ips packages. Install and uninstall on oracle solaris 10 reflection.
How to install gcc on solaris easiest way possible i. Individual package availability unix packages now provides individual packages for solaris 2. Just download gcc from its homepage, follow one of the mirror links to fetch the. For information on the software dependencies for these packages, see software dependencies.
Apr 20, 2010 1 installing gcc compiler on solaris 10 1. Config gcc 10 ultrasparc 9 ultrasparc 8 ultrasparc tools 10 ultrasparc 9 ultrasparc. The bug is fix in opensolaris but not in the official solaris 10. Also, have a look at the downloadinstallation link as that should tell you how to properly install them using pkgadd. No download pkgs files xfer mb speed completed 1414 18221822 332.
Available packages for oracle solaris 10 oracle hardware. Download gcc linux packages for altlinux, arch linux, centos, debian, fedora, freebsd, mageia, openmandriva, opensuse, pclinuxos, rosa, slackware, ubuntu. Alternatively, you could download gcc binary packages directly from gnu thats how we had to do it in the old days but since youre a linux guy. Also, if youre on a mac, you most likely want the x86 version and not the sparc version. Second, all current solaris releases come with a c compiler out of the box but it is located in a directory which might not be in your path, usrsfwbin and is named gcc gnu compiler. I want to install gcc for solaris 10 to an alternate location besides usrlocalbin, so i cant use the precompiled package from. These packages are updated on an as needed basis or when an update to solaris is scheduled. Some key information came from a post by andreas hoschler on the discussgnustep mailing list. This is a package datastream file, which is suitable for installation by pkgadd. The list of open source software fully supported for oracle solaris 10 follows. Gcc runtime shared libraries used by gcc and other gnu components.
For questions related to the use of gcc, please consult these web pages and the gcc manuals. Unix packages accepts package requests should the package or version youre. We have provided a package called libgcc for each level of solaris. In order to build gcc on solaris, first you need to install the following packages from the original cddvd if you performed a full installation of. Mount the install cd or dvd with the package you wish to install.
Install a package from solaris 10 cd oracle community. If you are patching a package that was added by using the pkgadd command with the g option, the package must be patched by using the patchadd command with the g option. Opensolaris and solaris software packages for intelx86 and. May 31, 2014 the gcc or gnu compiler collection is a free and multiplatform compiler system used as a development tool for software written in several programming languages. Select a release from the list above to see all of the packages available for it. When i did software ports on solaris, a client requested gcc 4. This restriction is removed in the solaris 807 release. Mozilla download page with 20 years of experience compiling foss applications for solaris, we have created a new company and website to better access and expand our 24,500. The gcc or gnu compiler collection is a free and multiplatform compiler system used as a development tool for software written in several programming languages. The following packages are available on intel x86 and sparc architecture servers running oracle solaris 10. However, popular packages are updated frequently and by subscriber request, more up to date packages may be also be present for other versions of solaris. Changing the installation location solaris 10 to install reflection for secure it to a nondefault location, you can create a response file a text file that provides information to the installer package and use the prefix variable to identify the target directory for the installation, as described in the next procedure.
To use the gcc package from our site you must install all of the sunw developer packages that come on suns solaris installation cdsdvd. Download unzip for solaris from here for sparc or here for intelx86. In addition, we are currently only creating packages for sparc based solaris. General sun, sunos and sparc related questions also go here. May 01, 2009 csw community software available through is wonderful repository with hundreds of software packages for solaris 8, solaris 9 and solaris 10. Installing gcc on oracle solaris 11 stack overflow. Thankfully, gcc 4 compiles without any problems on solaris 10, so it is only a matter of hours to build a newer one.
509 1082 1474 1078 1517 1500 974 343 1120 741 1519 754 808 1416 1428 130 1602 1412 1290 311 1571 53 1200 744 1017 1481 293 991 251 506 320 116 451 631 475