Solved

URGENT!! I need to  to extract this file "gcc-core-3.4.2.tar.bz2"

Posted on 2004-11-01
252 Views
Last Modified: 2013-11-22
Hi experts,
I need to  to extract this file "gcc-core-3.4.2.tar.bz2" .  Its the total GNU package that contains all the compilers.
This contains gcj,  the gnu java compiler.
What command do i need to do so exactly. The o/s is FreeBSD.

Thks

0
Question by:parvinderg
    6 Comments
     
    LVL 6

    Expert Comment

    by:tapkep
    bzip2 -d gcc-core-3.4.2.tar.bz2
    tar -xvf gcc-core-3.4.2.tar
    0
     
    LVL 38

    Accepted Solution

    by:
    If you have bzip2 installed (/usr/ports/archivers/bzip2), and you issue this command:

    tar yxf gcc-core-3.4.2.tar.bz2
    0
     
    LVL 1

    Assisted Solution

    by:hvdhelm
    In standard FreeBSD configuration:

    tar -jxvf gcc-core-3.4.2.tar.bz2

    Read: man tar
    0
     
    LVL 60

    Expert Comment

    by:gheist
    Maybe try /usr/ports/lang/gcc34 instead, this will register your gcj in proper manner with FreeBSD system
    0
     
    LVL 3

    Assisted Solution

    by:nochkin
    I would recommend to install gcc from ports. This way it will compile and install all needed patches for your system.
    1. /stand/sysinstall and then find "install packages" and install "ports" from there.
    2. When you have installed ports package, you can update them:
    cvsup -g -L 2 -h cvsup2.freebsd.org /usr/share/examples/cvsup/ports-update
    cvsup will connect to cvsup2.freebsd.org and update your ports to be up-to-date.
    3. cd /usr/ports/lang/gcc (choose your gcc version here)
    4. type "make"
    5. type "make install"

    Done.

    When you need to install any other package in the future then you will need to do steps 3-5 only. If you want to make sure that you have latest ports references then you have to run step 2 only.
    0
     
    LVL 60

    Assisted Solution

    by:gheist
    and install net/cvsup-without-gui from sysinstall to get this commands working
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone. Privacy Policy Terms of Use

    Featured Post

    Course: MongoDB Object-Document Mapper for NodeJS

    NodeJS (JavaScript on the server) is awesome, but some developers get confused about NoSQL when it comes to working in Node with MongoDB (NoSQL database). Do you need a better explanation of how to use Node.js with MongoDB? The most popular choice is the Mongoose library.

    Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
    This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Video by: Phil
    This video goes over how to configure and start a jail in FreeBSD.  This video is meant to supplement the following article: http://www.experts-exchange.com/OS/Unix/A_17455-HOWTO-FreeBSD-Jails.html

    875 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now