public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Installing gcc
@ 2005-08-05  0:58 Dan Falabella
  0 siblings, 0 replies; 30+ messages in thread
From: Dan Falabella @ 2005-08-05  0:58 UTC (permalink / raw)
  To: gcc-help

 
 Hello,
 
  
 
             I am having trouble installing gcc on my Solaris 9 system. When
 I read the installation instructions, they state that one must designate the
 CC compiler in order for the configuration to work properly. I know that the
 " /usr/ucb/cc: language optional software package not installed " is an
 expected error message since there is no compiler installed with the Solaris
 system, but how does one get around it? In other words, in trying to build
 the gcc compiler I am being asked to supply a compiler. I realize that this
 has probably been asked many times in the past, but any suggestions as to
 how to complete the install would be greatly appreciated.
 
  
 
             Thank you for your time.
 
  
 
 DF

^ permalink raw reply	[flat|nested] 30+ messages in thread
* installing GCC
@ 2009-03-08 23:05 e-karim
  2009-03-08 23:08 ` Tim Prince
  0 siblings, 1 reply; 30+ messages in thread
From: e-karim @ 2009-03-08 23:05 UTC (permalink / raw)
  To: gcc-help


Hi!
I'm trying to install gcc from sources on ubuntu 8.10, while trying to
configure (./configure) Ubuntu tells me that gcc don't find the C compiler,
now my question is what is the default C compiler coming with ubuntu ?
and how can i process the installation from sources?

thank u!
-- 
View this message in context: http://www.nabble.com/installing-GCC-tp22404231p22404231.html
Sent from the gcc - Help mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 30+ messages in thread
* installing gcc
@ 2006-11-18 21:06 lachlanp
  2006-11-18 21:42 ` Artūras Moskvinas
  0 siblings, 1 reply; 30+ messages in thread
From: lachlanp @ 2006-11-18 21:06 UTC (permalink / raw)
  To: gcc-help

I have never used Gcc before and I am trying to install it on Windows XP and
having problems understanding the process

I have downloaded the source files for V4.1.1 and I refer to the directory it
creates.

The installation notes seem to state I should do a configuration like
?configure --prefix=C:\gccwin? to set the object directory to gccwin (the
name of the directoy I have chosen). There is a file called configure but this
is not an executable file so this process does not work. I tried this throug
the DOS window.

I understand the next thing to do is to ?make boostrap? but again there is
no executable file called ?make?.

Can you point me in the correct direction to start this process of building a
native Gcc complier before I build a cross complier. I have read all the
install instructions but cant comprehned them.

Thanks

Lachlan


--------------------------------------------------
This message was sent using Adam Internet Webmail.

^ permalink raw reply	[flat|nested] 30+ messages in thread
* Installing gcc
@ 2006-06-20  9:14 Gunnar Sjoo
  2006-06-20  9:42 ` Kai Ruottu
  2006-06-20  9:52 ` Brian Dessent
  0 siblings, 2 replies; 30+ messages in thread
From: Gunnar Sjoo @ 2006-06-20  9:14 UTC (permalink / raw)
  To: gcc-help

Can anybody tell me how to install gcc? The instructions from gcc.gnu.org are 
absolutely impossible for me to understand. My operative system is Mandrake 
Linux 10.1

Botelgubben


--
-----    PROMOCJA - 180 dni gratis!    -----
   12GB powierzhchni, konta e-mail b.o.,
 transfer az 600 GB.     http://www.alpha.pl
--------------------------------------------


^ permalink raw reply	[flat|nested] 30+ messages in thread
* Installing gcc
@ 2005-08-12 22:50 Mario DeMiguel
  0 siblings, 0 replies; 30+ messages in thread
From: Mario DeMiguel @ 2005-08-12 22:50 UTC (permalink / raw)
  To: gcc-help

Hi, I hope you can help me with a very embarassing question.  I only
have experience installing programs in Linux using package managers
and auto-update utilities.  I want to install gcc 3.2.3, but I can
only find the *.gz and *.bz2 files.  What do I do with all of these
files?
 
How can I find out where the version of gcc I already have installed
is so I can install these files in the same place?  Do I really need
to use gzip on each of these files?  Thank you for your time!
 
Regards,
Mario DeMiguel

^ permalink raw reply	[flat|nested] 30+ messages in thread
* Re: Installing gcc
@ 2005-08-05  1:18 Nelson H. F. Beebe
  0 siblings, 0 replies; 30+ messages in thread
From: Nelson H. F. Beebe @ 2005-08-05  1:18 UTC (permalink / raw)
  To: Dan Falabella; +Cc: beebe, gcc-help

Dan Falabella <danf@sun2.albright.edu> asks on Thu, 4 Aug 2005
20:59:15 -0400 (EDT) about bootstrapping a build of gcc onto a Sun
Solaris 9 system where there is no C compiler installed yet.

There are a couple of ways to deal with this: Sun now has a fair
amount of free software tools that get installed in /usr/sfw/bin and
/opt/sfw/bin, among them, gcc.  You can find the needed links at

	http://www.sun.com/software/solaris/freeware/
	http://solaris-x86.org/software/freeware.mhtml
	ftp://x86.cs.duke.edu/pub/solaris-x86/bins/index.html

There are versions available for both Solaris 9 and 10; I don't have
any installed on our Solaris 7 or 8 systems.

A second way is to get a prebuilt gcc binary distribution from the
Solaris package archive at

	http://www.ibiblio.org/pub/packages/solaris/sparc/

Once you have a fairly recent gcc installed, you MIGHT be able to use
it to build a newer version of gcc.  I've done hundreds of such builds
of the 3.x and 4.x series on 20+ flavors of Unix, and frankly, I'm
very disappointed in the success rate, which is far poorer than it was
with the 2.9x series.  On my Solaris 9 SPARC systems, I have gcc-3.3
installed. On Solaris 10 SPARC, gcc-3.3.6, and Solaris 10 x86, gcc-3.3

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: beebe@math.utah.edu  -
- 155 S 1400 E RM 233                       beebe@acm.org  beebe@computer.org -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe  -
-------------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 30+ messages in thread
* installing gcc
@ 2005-04-13 16:12 community help
  0 siblings, 0 replies; 30+ messages in thread
From: community help @ 2005-04-13 16:12 UTC (permalink / raw)
  To: gcc-help

Hi,

I've just installed gcc3.3.2 in mandrake 10.0. I used
the binary available at gcc.gnu.org.
There is docs about building from sources but not
about installing from binary. Any way during the
installation process i had no error messages. I just
to know how to use gcc now.
i added to the .bash_profile os user but it does not
work. Please tell me how to do in detail what to do as
i'm not very familiar with linux.

Thanks


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/

^ permalink raw reply	[flat|nested] 30+ messages in thread
* installing gcc
@ 2005-04-04 17:05 community help
  0 siblings, 0 replies; 30+ messages in thread
From: community help @ 2005-04-04 17:05 UTC (permalink / raw)
  To: gcc-help

Hi,

I have mandrake 10.0 running on my pc and i have no
CDs for installing gcc. Now i want to download it and
install it. I am asking for the simplest way of doing
this. An url describing in detail what i should do
will be surely of great help. I'm new to Linux so the
more detailed the document more better.

Thank you


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Personals - Better first dates. More second dates. 
http://personals.yahoo.com

^ permalink raw reply	[flat|nested] 30+ messages in thread
* installing gcc
@ 2003-01-24 14:43 Woelfle Bernd ZFF TR-W
  0 siblings, 0 replies; 30+ messages in thread
From: Woelfle Bernd ZFF TR-W @ 2003-01-24 14:43 UTC (permalink / raw)
  To: 'gcc-help@gcc.gnu.org'

hello,

I tried to compile my first example and get the following error:

In file included from myfile.cpp:1:
c:/djgpp/lang/cxx/3.21/iostream:44:28: bits/c++config.h: No such file or
directo
ry (ENOENT)
In file included from c:/djgpp/lang/cxx/3.21/ios:44,
                 from c:/djgpp/lang/cxx/3.21/ostream:45,
                 from c:/djgpp/lang/cxx/3.21/iostream:45,
                 from myfile.cpp:1:

The file exists and I don't know why the compiler can't find it.
It would be nice if you could help me. Thank you.

kind regards

bernd woelfle

^ permalink raw reply	[flat|nested] 30+ messages in thread
* Installing GCC
@ 2001-08-21  7:44 Amy Roberts
  2001-08-22  0:29 ` Alexandre Oliva
  0 siblings, 1 reply; 30+ messages in thread
From: Amy Roberts @ 2001-08-21  7:44 UTC (permalink / raw)
  To: gcc-help

I tried to build gcc on my company's Solaris 2.6 machine. It seems like the
code is incompatible with the Sun compiler. The result is shown below. The
same result was obtained no matter what version of gcc was used. What is odd
is that when I run the configure script it says that it is indeed
configuring for host Solaris 2.6. 



make[1]: Entering directory `/gcc-2.95/libiberty' 
test x"no" != xyes || \ 
cc -c -DHAVE_CONFIG_H -g -I. -I./../include   argv.c -o pic/argv.o 
cc -c -DHAVE_CONFIG_H -g -I. -I./../include  argv.c 
"argv.c", line 97: Error: argv is not defined. 
"argv.c", line 103: Warning: The variable argv has not yet been 
assigned a value. 
"argv.c", line 116: Error: Cannot assign void* to char*. 
"argv.c", line 122: Error: The function "strcpy" must have a prototype. 


And the compiler error occurs on this segment in argv.c with line 97 being
the line that contains the fuction name: dupargv (argv) 
I do know that my compiler does not support this declaration style in
general. 


char ** 
dupargv (argv) 
   char **argv; 
{ 
int argc; 
char **copy; 

if (argv == NULL) 
  return NULL; 

/* the vector */ 
for (argc = 0; argv[argc] != NULL; argc++); 
copy = (char **) malloc ((argc + 1) * sizeof (char *)); 
if (copy == NULL) 
  return NULL; 

/* the strings */ 
for (argc = 0; argv[argc] != NULL; argc++) 
  { 
    int len = strlen (argv[argc]); 
    copy[argc] = malloc (sizeof (char *) * (len + 1)); 
    if (copy[argc] == NULL) 
      { 
        freeargv (copy); 
        return NULL; 
      } 
    strcpy (copy[argc], argv[argc]); 
  } 
copy[argc] = NULL; 
return copy; 
} 

Apparently the compiler which is a C++ compiler does not like the C style
function declarations. such as the one above. Is there a way to get around
this?









_______________________________________________________
http://inbox.excite.com


^ permalink raw reply	[flat|nested] 30+ messages in thread
* installing gcc
@ 2000-11-29  7:18 Yung Kwong Wing
  2000-11-30  5:09 ` Alexandre Oliva
  0 siblings, 1 reply; 30+ messages in thread
From: Yung Kwong Wing @ 2000-11-29  7:18 UTC (permalink / raw)
  To: help-gcc

Hi,

I am trying to install my Apache server (ver. 1.3.6).  Well, I have
installed the "egcs" rpm from my RedHat 6.2 CD-ROM, but when I try to
configure my Apache 1.3.6 by typing the following:

./configure --prefix=/usr/local/apache

I get an error message saying the following:

Configuring for Apache, Version 1.3.6
 + using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
./helpers/TestCompile: make: command not found
Creating Makefile in src
 + configured for Linux platform
 + setting C compiler to gcc
 + setting C pre-processor to gcc -E
 + checking for system header files
 + adding selected modules
 + doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. This is most likely because your C compiler
** is not ANSI. Apache requires an ANSI C Compiler, such
** as gcc. The above error message from your compiler
** will also provide a clue.
 Aborting!

Isn't the "egcs" the correct package to install? 

Peter



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

end of thread, other threads:[~2009-03-10 12:26 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-05  0:58 Installing gcc Dan Falabella
  -- strict thread matches above, loose matches on Subject: below --
2009-03-08 23:05 installing GCC e-karim
2009-03-08 23:08 ` Tim Prince
2009-03-08 23:18   ` e-karim
2009-03-08 23:21   ` e-karim
2009-03-09  0:52     ` Tim Prince
2009-03-09  9:27       ` julian liu
2009-03-09 16:54     ` Atwood, Robert C
2009-03-09 17:39       ` dan hitt
2009-03-09 18:05         ` Andrew Haley
2009-03-10  7:28           ` Florent DEFAY
2009-03-10 12:26           ` Atwood, Robert C
2006-11-18 21:06 installing gcc lachlanp
2006-11-18 21:42 ` Artūras Moskvinas
2006-06-20  9:14 Installing gcc Gunnar Sjoo
2006-06-20  9:42 ` Kai Ruottu
2006-06-20  9:52 ` Brian Dessent
2006-06-21  8:25   ` Gunnar Sjoo
2005-08-12 22:50 Mario DeMiguel
2005-08-05  1:18 Nelson H. F. Beebe
2005-04-13 16:12 installing gcc community help
2005-04-04 17:05 community help
2003-01-24 14:43 Woelfle Bernd ZFF TR-W
2001-08-21  7:44 Installing GCC Amy Roberts
2001-08-22  0:29 ` Alexandre Oliva
2000-11-29  7:18 installing gcc Yung Kwong Wing
2000-11-30  5:09 ` Alexandre Oliva
2000-12-01  7:24   ` Yung Kwong Wing
2000-12-01 14:14     ` Alexandre Oliva
2000-12-01 23:10       ` Yung Kwong Wing

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).