Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Oct 2010 17:36:41 +0530
From:      Chetan Shukla <chetan.shukla@aricent.com>
To:        Jeremy Chadwick <freebsd@jdc.parodius.com>
Cc:        "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>
Subject:   RE: Issues in installing Gmake and Gcc on FreeBSD
Message-ID:  <DF735188ED91BD458FA0E0C17929339F9553D7CC@GUREXMB01.ASIAN.AD.ARICENT.COM>
In-Reply-To: <20101005114326.GA31432@icarus.home.lan>
References:  <DF735188ED91BD458FA0E0C17929339F9553D764@GUREXMB01.ASIAN.AD.ARICENT.COM> <20101005114326.GA31432@icarus.home.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks Jeremy,

Started work on ur guidance :)

Regards,
Chetan

-----Original Message-----
From: Jeremy Chadwick [mailto:freebsd@jdc.parodius.com]
Sent: Tuesday, October 05, 2010 5:13 PM
To: Chetan Shukla
Cc: freebsd-ports@freebsd.org
Subject: Re: Issues in installing Gmake and Gcc on FreeBSD

On Tue, Oct 05, 2010 at 05:02:08PM +0530, Chetan Shukla wrote:
> I am trying to install GCC and Gmake on  FreeBSd machine and faced follow=
ing issues:
> GCC:
>
> Steps:
> 1)At directory gcc-3.3.2 I ran ./configure -enable-obsolete
> 2)error returned:
> Please update *-*-freebsd* in gcc/config.gcc
> Configure in /usr/home/iptk/gcc-3.3.2/gcc failed, exiting.
>
> 3)I have included this string in gcc/config.gcc with architecture string =
as i386 but still facing same issue.
>
> The configuration and version details:
> Machine arch:i386
> FreeBSD version: FreeBSD 8.0-RELEASE #0:
> GCC version :gcc-3.3.2
>
> Gmake:
>
> Steps:
> 1)I have un tarred the gmake-3.79.1.tgz but it did not create any gmake-3=
.79.1 directory.
> 2)Hence I am unable to run ./configure and make and make install.
>
> The hardware details remain same.
> The system is not connected to Internet so I cannot use pkg-add.
>
> To give backdrop all this is needed to port linux code to FreeBSD.
>
> Please let me know your inputs on the above,
> Also please excuse me if it is wrong mailing list and please redirect it
> to the correct one.

GCC on FreeBSD is "special" in the sense that you should either use the
version that's included in the base system (4.2.1 as of 8.0-RELEASE), or
if you need an older/different version, install it from ports/packages.
The same goes for gmake.

You managed to get the source code to both gcc and gmake on a system
which isn't connected to the Internet, so surely you could download the
binary versions of the FreeBSD packages and install those...?

Take a peek in:
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-release/All/

Look for gcc* and gmake*.  These are probably what you want:

-rw-r--r--    1 110      1002       351139 Oct 20  2009 gmake-3.81_3.tbz
-rw-r--r--    1 110      1002     14269507 Oct 20  2009 gcc-3.4.6_3,1.tbz

If you download these packages, you can get them onto the machine
however possible and simply pkg_add the files (literally: "pkg_add
xxx.tbz").  You might have to download some dependency packages, but
pkg_add should tell you what those are if needed.

--
| Jeremy Chadwick                                   jdc@parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |


"DISCLAIMER: This message is proprietary to Aricent and is intended solely =
for the use of the individual to whom it is addressed. It may contain privi=
leged or confidential information and should not be circulated or used for =
any purpose other than for what it is intended. If you have received this m=
essage in error, please notify the originator immediately. If you are not t=
he intended recipient, you are notified that you are strictly prohibited fr=
om using, copying, altering, or disclosing the contents of this message. Ar=
icent accepts no responsibility for loss or damage arising from the use of =
the information transmitted by this email including damage from virus."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DF735188ED91BD458FA0E0C17929339F9553D7CC>