public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: need help with installation
       [not found] <A17C4F93AA74D511864F0002A51339DC12A49F0B@exchny40.ny.ssmb. com>
@ 2003-08-27 12:17 ` Andrea 'fwyzard' Bocci
  0 siblings, 0 replies; 10+ messages in thread
From: Andrea 'fwyzard' Bocci @ 2003-08-27 12:17 UTC (permalink / raw)
  To: Anderson, James H [IT], gcc-help

At 08:09 27/08/2003 -0400, Anderson, James H [IT] wrote:
>I don't seem to have a working C compiler so am unable to do the initial 
>config. I seem to recall that at one time there was a bootstrap option 
>that made it possible to build gcc w/o having a compiler on one's system, 
>but I haven't managed to find it for gcc 3.3.1 (I considered pulling down 
>a binary version for Solaris but I don't have admin privileges and need to 
>install in a user directory).
>
>Thanks in advance for any help!
>
>jim

No, you can't build GCC from sources if you don't have a working C compiler 
installed.
But you can find prebuilt binaries for most OSes - see 
<http://gcc.gnu.org/install/binaries.html>. If you're using Linux, all the 
distributions I'm aware of ship a working GCC with them, usually from the 
3.2 release, so you should find it on you CDs or downloadable from the 
distributor's site.

Happy compileg,
.fwyzard.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: need help with installation
  2003-08-27 13:58 Anderson, James H [IT]
@ 2003-08-27 14:24 ` Eljay Love-Jensen
  0 siblings, 0 replies; 10+ messages in thread
From: Eljay Love-Jensen @ 2003-08-27 14:24 UTC (permalink / raw)
  To: Anderson, James H [IT], gcc-help

Hi James,

You are facing the classic chicken-and-the-egg problem.  Just giving you a binary isn't the best solution, since the binary has hard coded paths in it, and what if my paths are the same as your paths?  I'm betting that you don't have access to /home/eljay/gnu/gcc/... on your system.  (I'm also not in the habit of emailing a 107MB attachment!)

You may find <http://ultra.litpixel.com:84/articles/iaug/frameset.html> of interest.

You may attempt to make your own Solaris binary cross-compiled from another machine.  You'd need just make the C compiler.  Move that over to your Solaris box, and then compile it.  I've never tried that; it sounds scary.

What you REALLY should try to do is talk to your Sun box system administrator have have them pkgadd the GCC compiler on your behalf.

Good luck,
--Eljay


^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: need help with installation
@ 2003-08-27 13:58 Anderson, James H [IT]
  2003-08-27 14:24 ` Eljay Love-Jensen
  0 siblings, 1 reply; 10+ messages in thread
From: Anderson, James H [IT] @ 2003-08-27 13:58 UTC (permalink / raw)
  To: 'Eljay Love-Jensen', gcc-help

No, that's a Solaris package file; what I need is a binary that's been
gzipped.

-----Original Message-----
From: Eljay Love-Jensen [mailto:eljay@adobe.com]
Sent: Wednesday, August 27, 2003 9:45 AM
To: Anderson, James H [IT]; gcc-help@gcc.gnu.org
Subject: RE: need help with installation


Hi James,

>Does anyone have a gcc Solaris binary they could mail me?

<http://www.sunfreeware.com/>

HTH,
--Eljay

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: need help with installation
  2003-08-27 13:31 Anderson, James H [IT]
@ 2003-08-27 13:44 ` Eljay Love-Jensen
  0 siblings, 0 replies; 10+ messages in thread
From: Eljay Love-Jensen @ 2003-08-27 13:44 UTC (permalink / raw)
  To: Anderson, James H [IT], gcc-help

Hi James,

>Does anyone have a gcc Solaris binary they could mail me?

<http://www.sunfreeware.com/>

HTH,
--Eljay


^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: need help with installation
@ 2003-08-27 13:31 Anderson, James H [IT]
  2003-08-27 13:44 ` Eljay Love-Jensen
  0 siblings, 1 reply; 10+ messages in thread
From: Anderson, James H [IT] @ 2003-08-27 13:31 UTC (permalink / raw)
  To: gcc-help

Does anyone have a gcc Solaris binary they could mail me?

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: need help with installation
@ 2003-08-27 13:16 Anderson, James H [IT]
  0 siblings, 0 replies; 10+ messages in thread
From: Anderson, James H [IT] @ 2003-08-27 13:16 UTC (permalink / raw)
  To: Andrea 'fwyzard' Bocci, gcc-help

I seem to remember that there was an older version that could bootstrap
itself. (The binary distribution is a fairly recent addition.)

-----Original Message-----
From: Andrea 'fwyzard' Bocci [mailto:fwyzard-gcc@libero.it]
Sent: Wednesday, August 27, 2003 8:38 AM
To: Anderson, James H [IT]; gcc-help@gcc.gnu.org
Subject: RE: need help with installation


At 08:33 27/08/2003 -0400, Anderson, James H [IT] wrote:
>I'm using Solaris and the Solaris binaries use the Solaris packaging
>system which I know nothing about but stronglt suspect thatv they
>require admin privileges.
>
>Isn't there an older release of gcc that could bootstrap itself?

Really don't know what to say.
The easiest answer - if you don't have admin privileges, ask your
sysadmin 
to install the latest GCC binary package...

If you find an older version that still uses the Solaris packagin
system, 
you'd still be stuck, wouldn't you ?

.fwyzard. 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: need help with installation
  2003-08-27 12:37 ` Andrea 'fwyzard' Bocci
@ 2003-08-27 12:50   ` Rupert Wood
  0 siblings, 0 replies; 10+ messages in thread
From: Rupert Wood @ 2003-08-27 12:50 UTC (permalink / raw)
  To: 'Anderson, James H [IT]'
  Cc: gcc-help, 'Andrea 'fwyzard' Bocci'

Andrea 'fwyzard' Bocci / James Anderson wrote:

> > I'm using Solaris and the Solaris binaries use the Solaris
> > packaging system which I know nothing about but strongly suspect
> > thatv they require admin privileges.

Yeah, unfortunately. It's pkgadd; it does have an install-to-another-root
option, -R, but still refuses to run if it isn't root (you need to be root
to access the installed package database in /var/sadm). You may be able to
hack the data out with one of the other pkg tools but I don't know how.

I agree the best thing to do would be to ask your admin to install it.

> If you find an older version that still uses the Solaris packagin
> system, you'd still be stuck, wouldn't you ?

The GNAT distribution, available from

    http://libre.act-europe.fr/GNAT/

is distributed as a tar.gz that you can uncompress and run from your home
directory without root. It's an old version of GCC (2.8.1) combined with the
latest Ada compiler, so it'll compile both Ada and C. If you bootstrap your
own GCC from this you might have to specify --enable-languages without ada
or follow the Ada build / install instructions otherwise it'll attempt to
include Ada in the bootstrap - I can't remember if niaevely including Ada in
a simple bootstrap just works.

Good luck,
Rup.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: need help with installation
       [not found] <A17C4F93AA74D511864F0002A51339DC12A49F0D@exchny40.ny.ssmb. com>
@ 2003-08-27 12:37 ` Andrea 'fwyzard' Bocci
  2003-08-27 12:50   ` Rupert Wood
  0 siblings, 1 reply; 10+ messages in thread
From: Andrea 'fwyzard' Bocci @ 2003-08-27 12:37 UTC (permalink / raw)
  To: Anderson, James H [IT], gcc-help

At 08:33 27/08/2003 -0400, Anderson, James H [IT] wrote:
>I'm using Solaris and the Solaris binaries use the Solaris packaging
>system which I know nothing about but stronglt suspect thatv they
>require admin privileges.
>
>Isn't there an older release of gcc that could bootstrap itself?

Really don't know what to say.
The easiest answer - if you don't have admin privileges, ask your sysadmin 
to install the latest GCC binary package...

If you find an older version that still uses the Solaris packagin system, 
you'd still be stuck, wouldn't you ?

.fwyzard. 


^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: need help with installation
@ 2003-08-27 12:33 Anderson, James H [IT]
  0 siblings, 0 replies; 10+ messages in thread
From: Anderson, James H [IT] @ 2003-08-27 12:33 UTC (permalink / raw)
  To: Andrea 'fwyzard' Bocci, gcc-help

I'm using Solaris and the Solaris binaries use the Solaris packaging
system which I know nothing about but stronglt suspect thatv they
require admin privileges.

Isn't there an older release of gcc that could bootstrap itself?

-----Original Message-----
From: Andrea 'fwyzard' Bocci [mailto:fwyzard-gcc@libero.it]
Sent: Wednesday, August 27, 2003 8:18 AM
To: Anderson, James H [IT]; gcc-help@gcc.gnu.org
Subject: Re: need help with installation


At 08:09 27/08/2003 -0400, Anderson, James H [IT] wrote:
>I don't seem to have a working C compiler so am unable to do the
initial 
>config. I seem to recall that at one time there was a bootstrap option 
>that made it possible to build gcc w/o having a compiler on one's
system, 
>but I haven't managed to find it for gcc 3.3.1 (I considered pulling
down 
>a binary version for Solaris but I don't have admin privileges and need
to 
>install in a user directory).
>
>Thanks in advance for any help!
>
>jim

No, you can't build GCC from sources if you don't have a working C
compiler 
installed.
But you can find prebuilt binaries for most OSes - see 
<http://gcc.gnu.org/install/binaries.html>. If you're using Linux, all
the 
distributions I'm aware of ship a working GCC with them, usually from
the 
3.2 release, so you should find it on you CDs or downloadable from the 
distributor's site.

Happy compileg,
.fwyzard.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* need help with installation
@ 2003-08-27 12:09 Anderson, James H [IT]
  0 siblings, 0 replies; 10+ messages in thread
From: Anderson, James H [IT] @ 2003-08-27 12:09 UTC (permalink / raw)
  To: gcc-help

I don't seem to have a working C compiler so am unable to do the initial config. I seem to recall that at one time there was a bootstrap option that made it possible to build gcc w/o having a compiler on one's system, but I haven't managed to find it for gcc 3.3.1 (I considered pulling down a binary version for Solaris but I don't have admin privileges and need to install in a user directory).

Thanks in advance for any help!

jim

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-08-27 14:24 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <A17C4F93AA74D511864F0002A51339DC12A49F0B@exchny40.ny.ssmb. com>
2003-08-27 12:17 ` need help with installation Andrea 'fwyzard' Bocci
2003-08-27 13:58 Anderson, James H [IT]
2003-08-27 14:24 ` Eljay Love-Jensen
  -- strict thread matches above, loose matches on Subject: below --
2003-08-27 13:31 Anderson, James H [IT]
2003-08-27 13:44 ` Eljay Love-Jensen
2003-08-27 13:16 Anderson, James H [IT]
     [not found] <A17C4F93AA74D511864F0002A51339DC12A49F0D@exchny40.ny.ssmb. com>
2003-08-27 12:37 ` Andrea 'fwyzard' Bocci
2003-08-27 12:50   ` Rupert Wood
2003-08-27 12:33 Anderson, James H [IT]
2003-08-27 12:09 Anderson, James H [IT]

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).