How to install gcc 4.4+ on open solaris ?

Is it possible to get latest gcc on open solaris ?
I installed gcc from repository but it is version 3.4.3.

OpenSolaris 2009.06 for x86(amd64) contains gcc 4.3.2 in opensolaris repository.
In order to install it you can click on this link: [http://pkg.opensolaris.org/release/p5i/0/developer%2Fgcc%2Fgcc-432.p5i|http://pkg.opensolaris.org/release/p5i/0/developer%2Fgcc%2Fgcc-432.p5i]

Similar Messages

  • How to install gcc compiler on mac

    how to install gcc compiler om macair( 2013) ?
        THANKS IN ADVANCE !!!

    In OS X, GCC is part of Xcode's command tools, so first, open the Mac App Store and install Xcode for free.
    Then, open Xcode, go to Xcode menu (on the menu bar) > Preferences > Downloads, and install Command Line Tools. You will get commands like gcc, make, purge...

  • How to install jdk 1.5 in Sun Solaris 8

    Hi All,
    I have sun solaris 8 server UNIX platform.i already have JDK 1.3.3 in my server.i want to clean that and to install jdk 1.5 in my server.does any body knows how to setup JDK 1.5 in sun solaris 8 UNIX Platform and where to set JAVA_HOME Environment Variable.
    Thanks in Advance.

    http://java.sun.com/j2se/1.5.0/install-solaris.html
    r
    http://www.google.com/search?q=How+to+install+jdk+1.5+in+Sun+Solaris+8+in+unix+platform+++&client=netscape-pp&rls=com.netscape:en-US

  • How to install GCC 3.3 and Berkeley DB ?

    Hi to all
    I am doing a project written in C. It involves the use of BerkeleyDB database too.
    Tthe problem is that the project compiles successfully on GCC 3.3 but on GCC 4.3 its gives error due to strict checking.
    Kindly tell me how can I install GCC 3.3 on archlinux.
    Also how can I install Berkeley DB (including development package) on archlinux with all the header files and configure it.
    thanks to all of you
    regards
    visio159

    Thanks guys I am loving Archlinux, the speed and control is amazing.
    I installed GCC 3.3 and db.h was already in /usr/include/db.h
    but when I compiled the code (MAIN.c) it gave these errors in db.h ??? I don't know what to do now, db.h itself is reflecting errors..huh.
    As you can see the starting lines are directing towards db.h as having errors
    [noface@myhost PROJ]$ gcc-3.3 MAIN.c -ldb
    gcc-3.3: ldb: No such file or directory
    In file included from MAIN.c:3:
    /usr/include/db.h:1201: error: syntax error before "u_int"
    /usr/include/db.h:1206: error: syntax error before '}' token
    /usr/include/db.h:1544: error: syntax error before "u_int"
    /usr/include/db.h:1660: error: `close' redeclared as different kind of symbol
    /usr/include/unistd.h:320: error: previous declaration of `close'
    /usr/include/db.h:1702: error: `remove' redeclared as different kind of symbol
    /usr/include/stdio.h:155: error: previous declaration of `remove'
    /usr/include/db.h:1703: error: `rename' redeclared as different kind of symbol
    /usr/include/stdio.h:157: error: previous declaration of `rename'
    /usr/include/db.h:1740: error: `stat' redeclared as different kind of symbol
    /usr/include/sys/stat.h:210: error: previous declaration of `stat'
    /usr/include/db.h:1742: error: `sync' redeclared as different kind of symbol
    /usr/include/unistd.h:933: error: previous declaration of `sync'
    /usr/include/db.h:1743: error: `truncate' redeclared as different kind of symbol
    /usr/include/unistd.h:949: error: previous declaration of `truncate'
    /usr/include/db.h:1809: error: syntax error before '}' token
    /usr/include/db.h:1916: error: syntax error before "u_int"
    /usr/include/db.h:1923: error: conflicting types for `close'
    /usr/include/db.h:1660: error: previous declaration of `close'
    /usr/include/db.h:1925: error: conflicting types for `del'
    /usr/include/db.h:1664: error: previous declaration of `del'
    /usr/include/db.h:1926: error: `dup' redeclared as different kind of symbol
    /usr/include/unistd.h:490: error: previous declaration of `dup'
    /usr/include/db.h:1927: error: conflicting types for `get'
    /usr/include/db.h:1669: error: previous declaration of `get'
    /usr/include/db.h:1928: error: conflicting types for `get_priority'
    /usr/include/db.h:1687: error: previous declaration of `get_priority'
    /usr/include/db.h:1929: error: conflicting types for `pget'
    /usr/include/db.h:1700: error: previous declaration of `pget'
    /usr/include/db.h:1930: error: conflicting types for `put'
    /usr/include/db.h:1701: error: previous declaration of `put'
    /usr/include/db.h:1931: error: conflicting types for `set_priority'
    /usr/include/db.h:1734: error: previous declaration of `set_priority'
    /usr/include/db.h:1975: error: syntax error before '}' token
    /usr/include/db.h:2126: error: syntax error before "u_int"
    /usr/include/db.h:2145: error: syntax error before "mp_ncache"
    /usr/include/db.h:2211: error: syntax error before "cl_id"
    /usr/include/db.h:2267: error: syntax error before '*' token
    /usr/include/db.h:2282: error: conflicting types for `close'
    /usr/include/db.h:1923: error: previous declaration of `close'
    /usr/include/db.h:2287: error: conflicting types for `err'
    /usr/include/db.h:1665: error: previous declaration of `err'
    /usr/include/db.h:2288: error: conflicting types for `errx'
    /usr/include/db.h:1666: error: previous declaration of `errx'
    /usr/include/db.h:2291: error: conflicting types for `get_cachesize'
    /usr/include/db.h:1672: error: previous declaration of `get_cachesize'
    /usr/include/db.h:2294: error: conflicting types for `get_encrypt_flags'
    /usr/include/db.h:1674: error: previous declaration of `get_encrypt_flags'
    /usr/include/db.h:2295: error: conflicting types for `get_errfile'
    /usr/include/db.h:1676: error: previous declaration of `get_errfile'
    /usr/include/db.h:2296: error: conflicting types for `get_errpfx'
    /usr/include/db.h:1677: error: previous declaration of `get_errpfx'
    /usr/include/db.h:2297: error: conflicting types for `get_flags'
    /usr/include/db.h:1678: error: previous declaration of `get_flags'
    /usr/include/db.h:2312: error: conflicting types for `get_msgfile'
    /usr/include/db.h:1683: error: previous declaration of `get_msgfile'
    /usr/include/db.h:2313: error: conflicting types for `get_open_flags'
    /usr/include/db.h:1685: error: previous declaration of `get_open_flags'
    /usr/include/db.h:2364: error: conflicting types for `open'
    /usr/include/db.h:1698: error: previous declaration of `open'
    /usr/include/db.h:2365: error: conflicting types for `remove'
    /usr/include/db.h:1702: error: previous declaration of `remove'
    /usr/include/db.h:2387: error: syntax error before "u_int"
    /usr/include/db.h:2391: error: syntax error before "u_int"
    /usr/include/db.h:2393: error: syntax error before "u_int"
    /usr/include/db.h:2398: error: conflicting types for `set_alloc'
    /usr/include/db.h:1705: error: previous declaration of `set_alloc'
    /usr/include/db.h:2402: error: conflicting types for `set_cachesize'
    /usr/include/db.h:1713: error: previous declaration of `set_cachesize'
    /usr/include/db.h:2405: error: conflicting types for `set_encrypt'
    /usr/include/db.h:1716: error: previous declaration of `set_encrypt'
    /usr/include/db.h:2406: error: conflicting types for `set_errcall'
    /usr/include/db.h:1717: error: previous declaration of `set_errcall'
    /usr/include/db.h:2408: error: conflicting types for `set_errfile'
    /usr/include/db.h:1719: error: previous declaration of `set_errfile'
    /usr/include/db.h:2409: error: conflicting types for `set_errpfx'
    /usr/include/db.h:1720: error: previous declaration of `set_errpfx'
    /usr/include/db.h:2412: error: conflicting types for `set_feedback'
    /usr/include/db.h:1721: error: previous declaration of `set_feedback'
    /usr/include/db.h:2413: error: conflicting types for `set_flags'
    /usr/include/db.h:1722: error: previous declaration of `set_flags'
    /usr/include/db.h:2431: error: conflicting types for `set_msgcall'
    /usr/include/db.h:1730: error: previous declaration of `set_msgcall'
    /usr/include/db.h:2432: error: conflicting types for `set_msgfile'
    /usr/include/db.h:1731: error: previous declaration of `set_msgfile'
    /usr/include/db.h:2433: error: conflicting types for `set_paniccall'
    /usr/include/db.h:1733: error: previous declaration of `set_paniccall'
    /usr/include/db.h:2448: error: conflicting types for `stat_print'
    /usr/include/db.h:1741: error: previous declaration of `stat_print'
    /usr/include/db.h:2510: error: syntax error before '}' token
    /usr/include/db.h:2632: error: syntax error before "u_long"
    In file included from MAIN.c:6:
    /usr/include/fcntl.h:85: error: `open' redeclared as different kind of symbol
    /usr/include/db.h:2364: error: previous declaration of `open'
    In file included from /media/evt/PROJ/PROJ/include/makeTreeDB.h:2,
    from MAIN.c:19:
    /media/evt/PROJ/PROJ/include/berkeleyDB.h: In function `removeDB':
    /media/evt/PROJ/PROJ/include/berkeleyDB.h:36: warning: passing arg 1 of pointer to function makes pointer from integer without a cast
    /media/evt/PROJ/PROJ/include/berkeleyDB.h:36: error: too few arguments to function
    /media/evt/PROJ/PROJ/include/berkeleyDB.h:37: warning: passing arg 1 of pointer to function from incompatible pointer type
    /media/evt/PROJ/PROJ/include/berkeleyDB.h:37: error: too few arguments to function
    /media/evt/PROJ/PROJ/include/berkeleyDB.h: In function `addNodeToBerkeleyDB':
    /media/evt/PROJ/PROJ/include/berkeleyDB.h:64: error: dereferencing pointer to incomplete type
    /media/evt/PROJ/PROJ/include/berkeleyDB.h:84: error: dereferencing pointer to incomplete type
    /media/evt/PROJ/PROJ/include/berkeleyDB.h:96: error: dereferencing pointer to incomplete type
    In file included from MAIN.c:21:
    /media/evt/PROJ/PROJ/include/scanProc.h: In function `scanProc':
    /media/evt/PROJ/PROJ/include/scanProc.h:92: warning: passing arg 1 of pointer to function from incompatible pointer type
    /media/evt/PROJ/PROJ/include/scanProc.h:92: warning: passing arg 2 of pointer to function from incompatible pointer type
    /media/evt/PROJ/PROJ/include/scanProc.h:92: error: too few arguments to function
    /media/evt/PROJ/PROJ/include/scanProc.h: In function `showSummary':
    /media/evt/PROJ/PROJ/include/scanProc.h:235: warning: passing arg 1 of pointer to function from incompatible pointer type
    /media/evt/PROJ/PROJ/include/scanProc.h:235: warning: passing arg 2 of pointer to function from incompatible pointer type
    /media/evt/PROJ/PROJ/include/scanProc.h:235: error: too few arguments to function
    In file included from MAIN.c:22:
    /media/evt/PROJ/PROJ/include/bigProcessing.h: In function `bigProcessing':
    /media/evt/PROJ/PROJ/include/bigProcessing.h:58: error: dereferencing pointer to incomplete type
    /media/evt/PROJ/PROJ/include/bigProcessing.h:95: error: dereferencing pointer to incomplete type
    /media/evt/PROJ/PROJ/include/bigProcessing.h: In function `scanFS_DB':
    /media/evt/PROJ/PROJ/include/bigProcessing.h:158: error: dereferencing pointer to incomplete type
    /media/evt/PROJ/PROJ/include/bigProcessing.h:178: error: dereferencing pointer to incomplete type
    /media/evt/PROJ/PROJ/include/bigProcessing.h:206: error: dereferencing pointer to incomplete type
    /media/evt/PROJ/PROJ/include/bigProcessing.h:211: error: dereferencing pointer to incomplete type
    /media/evt/PROJ/PROJ/include/bigProcessing.h:219: error: dereferencing pointer to incomplete type
    /media/evt/PROJ/PROJ/include/bigProcessing.h:224: error: dereferencing pointer to incomplete type

  • HOW TO INSTALL GCC 3.4.6 IN A SOLARIS10 SERVER

    I am trying to install gcc-3.4.6 into a Solaris 10 Server,
    I always get a problem :
    after doing:
    mkdir objdir
    cd objdir
    ../configure with-as=/usr/ccs/bin/as with-ld=/usr/ccs/bin/ld
    *** The command 'cc -o conftest -g conftest.c' failed.
    *** You must set the enviroment variable CC to a working compiler.
    �what can I do and how?
    thanks

    I am trying to install gcc-3.4.6 into a Solaris 10 Server,
    I always get a problem :
    after doing:
    mkdir objdir
    cd objdir
    ../configure with-as=/usr/ccs/bin/as with-ld=/usr/ccs/bin/ld
    *** The command 'cc -o conftest -g conftest.c' failed.
    *** You must set the enviroment variable CC to a working compiler.
    �what can I do and how?
    thanks

  • How to install GCC and DKMS on Oracle Linux?

    Hello,
    I am a newbie to Oracle Linux. I installed Oracle Linux on a virtual machine using Oracle VirtualBox. Now I need to install the packages DKMS and GCC in order to share drives between the host and the ghost.
    Here is what is happening:
    # yum install dkms
    Setting up Install Process
    Setting up repositories
    No Repositories Available to Set Up
    Reading repository metadata in from local files
    Parsing paskage install arguments
    No Match for afgument: dkms
    Nothing to do
    Please, advice what to do.
    Thanks in advance.

    Here is what you need to install under Oracle Linux or Red Hat Enterprise Linux to install the VirtualBox Guest Additions:
    <pre>yum -y install gcc kernel-uek-devel-$(uname -r)</pre>
    The packages are available from the Oracle public yum repository as already mentioned, or on the installation DVD in the server directory.

  • How to install GCC or use Forte C++

    Hello!
    I want to compile the Wine (Windows Emulator) for Solaris 9 (x86). One way is that I install gcc 3.2, and the other is to use the FORTE C++ compiler provided by Sun Microsystems. Now, I have downloaded the gcc-3.2 source code from the sunfreeware.com. But I am unable to install the gcc compiler.
    Please guide me (or any reference) to some easy installation methods for gcc, or else, tell me the way, I could use the Forte C++ compilers, provided by SUN. I am unable to find a way to use the Forte.

    Hello!
    I want to compile the Wine (Windows Emulator) for Solaris 9 (x86). One way is that I install gcc 3.2, and the other is to use the FORTE C++ compiler provided by Sun Microsystems. Now, I have downloaded the gcc-3.2 source code from the sunfreeware.com. But I am unable to install the gcc compiler.
    Please guide me (or any reference) to some easy installation methods for gcc, or else, tell me the way, I could use the Forte C++ compilers, provided by SUN. I am unable to find a way to use the Forte.

  • Install gcc 3.2.3 on Solaris 9

    Have installed Sol 2.9 on a SparcStation 4, now trying to get GCC onto it. However, the "make bootstrap" command from the html documentation does not work. It asks for a valid copy of 'cc' which I do not have, which was the reason I am trying to install gcc - and is starting to become a circular argument.
    gcc was downloaded from sunfreeware.com. Their instructions for non-compilation installation of gcc are vague at best.
    Can anyone provide me with the info on whats required to instal this package?
    Thanks, Ian Dennison (HP-UX Certified SysAdmin)

    Set your environment variable CC=gcc or edit the Makefile or config file that would have the line
    for the compiler to use. either cc or gcc.

  • How to install CD 2 and 3 of Solaris 10?

    Hi,
    I am trying to install Solaris 10 on my Dell Laptop. I burnt all the 4 cds and was able to boot from the 1st CD. After installing the 1st CD the computer rebooted automatically and it doesn't ask for the remaining CD's.
    Any ideas on how to install the remaining disks when the computer restarts?
    Thanks.
    Sachin

    Just insert it and if vold is running it will mount it on /cdrom/cdrom0. cd to there and run the installer script.

  • How to install Tomcat 5.5.9 in Solaris 9

    Hi guys,
    I ran into problem when installing Tomcat 5.5.9 in Solaris 9. I downloaded tomcat from windows xp machine then ftp to Sun Solaris. I use winrar in Windows to check if the downloaded tomcat5 is corrupted, but it's not. I tried the following command:
    gunzip jakarta-tomcat-5.5.9.tar.gz
    then a new file generated called jakarta-tomcat-5.5.9.tar
    tar xvf jakarta-tomcat-5.5.9.tar
    when uncompressing half way, i got the following error message:
    tar: directory checksum error
    Please help, Thanks in advance !
    regards,
    Mark

    sorry guys, the system is:
    SunOS devserver 5.8 Generic_108528-14 sun4u sparc SUNW,Ultra-250
    64-bit sparcv9 applications
    32-bit sparc applications

  • How to install Firefox OS on ZTE Open C?

    I've purchased ZTE Open C on Ebay, and it has arrived today, but it's got Android OS instead of Firefox one - how can I install FF OS on it?
    Another thing is that in settings it says the model of my phone is Kis 3 and not Open C - is this correct?
    Thanks for any help.

    Hi bazujewicz,
    It seems that the Ebay seller may have sent you the wrong item. You should contact the seller to inquire about an exchange to the correct cell phone device.
    This link shows how to manually update and flash a ZTE Open C:
    * [https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/ZTE_OPEN_C#.22Manual.22_updates Manually Update a ZTE Open C]
    However - since your phone may be a different model, it could end up bricking and voiding warranty on your device.
    Please contact the seller and the appropriate Ebay channels for further support.
    - Ralph

  • How to install gcc on solaris 7

    Hi everybody
    I downloaded "gcc-2.95.2-sol7-intel-local.gz" from sunfreeware.com site. I unzipped it but i don't know how can i install it on my solaris intel 7. please help me.
    Thanks
    Behrad

    Seeing as how this is an old post I assume you already figured it out, and unless I'm way off it's a simple matter of using the pkgadd utility. Something like this I believe (while your in the directory):
    pkgadd -d gcc-2.95.2-sol7-intel-local .
    If you don't have enough room in your /usr/local or /opt directories, you might need to use the -R <root-path> to redirect the install to a different location. You must be root when installing.
    Good Luck,
    -Mel

  • How to install gcc and its related packages?

    In Debian, we can install a virtual package build-essential which relys on packages like gcc and libc6-dev to bulid a base development environment.
    If I want to compile the source codes in Arch Linux , or compile my codes, which packages should i install??

    none usually, it's all there already
    You are basically expected to compile, using makepkg, all packages you want/need in the AUR, so the standard toolkit is already available...
    if not
    lucke wrote:pacman -S gcc
    Last edited by klixon (2007-04-25 12:43:10)

  • How to install GCC 5.1 [SOLVED]

    Hi all,
    I'm trying to install the [testing]-version of GCC 5.1. It requires gcc-libs 5.1 [testing] to be installed, so I downloaded the corresponding tar.xz file and tried to pacman -U it.
    However, gcc-libs 5.1 requires 4.9.2-4 to be installed. Which it is. But apparently it isn't recognized.
    [xxx@ccc Downloads]$ sudo pacman -U gcc-libs-5.1.0-1-x86_64.pkg.tar.xz
    [sudo] Passwort für xxx:
    Lade Pakete...
    Löse Abhängigkeiten auf...
    Suche nach in Konflikt stehenden Paketen...
    Fehler: Konnte den Vorgang nicht vorbereiten (Kann Abhängigkeiten nicht erfüllen)
    :: gcc: benötigt gcc-libs=4.9.2-4
    [xxx@ccc Downloads]$ sudo pacman -U gcc-libs-4.9.2-4-x86_64.pkg.tar.xz
    Lade Pakete...
    Warnung: gcc-libs-4.9.2-4 ist aktuell -- Reinstalliere
    Löse Abhängigkeiten auf...
    Suche nach in Konflikt stehenden Paketen...
    Pakete (1) gcc-libs-4.9.2-4
    Gesamtgröße der zu installierenden Pakete:  13,26 MiB
    Größendifferenz der Aktualisierung:        0,00 MiB
    :: Installation fortsetzen? [J/n] n
    Is that a bug or am I missing something?
    Last edited by Arcoth (2015-05-02 23:04:09)

    karol wrote:
    Arcoth wrote:Is that a bug or am I missing something?
    You misunderstood pacman's output.
    I just now saw it.
    I'm currently compiling GCC from source anyway though, to keep the bleeding-edge, so I won't need that package. Once it becomes official I'll just upgrade as usual.
    Thanks, everyone!

  • How to install gcc and something around compiling

    Hi all.I want compile my wine with patchs but I can´t compile it
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking whether make sets $(MAKE)... yes
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking for cpp... cpp
    checking whether gcc -m32 works... no
    configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.
    I have to install some 32-bit libraries.but idk what librarions.Thanks for reply

    If you really need to, I think the best way might be to install a 32-bit chroot and install the 32-bit version of gcc inside of it, which will then be able to compile 32-bit programs.  Seems like it might be a bit of a hassle though .

Maybe you are looking for