public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* g++.
@ 2000-01-25 12:26 Amir Hardon
  2000-01-25 14:53 ` g++ Martin v. Loewis
  0 siblings, 1 reply; 12+ messages in thread
From: Amir Hardon @ 2000-01-25 12:26 UTC (permalink / raw)
  To: gcc

Hello all,
I wrote a program in C++, which is working great on my local
system(RedHat6.1).
Now, when I'm moving it to my employers server, I can't compile it,
g++ does not exist. Only gcc.
So I downloaded and installed the latest gcc version.
But still, the shell does not find g++.
What should I do?

I'm posting to the mailing list since it's very urgent.

Thanks allot,
    -Amir.

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

* Re: g++.
  2000-01-25 12:26 g++ Amir Hardon
@ 2000-01-25 14:53 ` Martin v. Loewis
  2000-01-25 21:35   ` g++ Amir Hardon
  0 siblings, 1 reply; 12+ messages in thread
From: Martin v. Loewis @ 2000-01-25 14:53 UTC (permalink / raw)
  To: webmaster; +Cc: gcc

> I wrote a program in C++, which is working great on my local
> system(RedHat6.1).
> Now, when I'm moving it to my employers server, I can't compile it,
> g++ does not exist. Only gcc.

You didn't report what operating system your employer's server uses,
so it is hard to make a recommendation of what to do.

> So I downloaded and installed the latest gcc version.
> But still, the shell does not find g++.
> What should I do?

Start with making a detailed report of what exactly you did and how
exactly it failed. Perhaps you forgot to add the GCC target directory
(default is /usr/local/bin) to your PATH?

Regards,
Martin

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

* Re: g++.
  2000-01-25 14:53 ` g++ Martin v. Loewis
@ 2000-01-25 21:35   ` Amir Hardon
  0 siblings, 0 replies; 12+ messages in thread
From: Amir Hardon @ 2000-01-25 21:35 UTC (permalink / raw)
  To: Martin v. Loewis; +Cc: gcc

"Martin v. Loewis" wrote:

> > I wrote a program in C++, which is working great on my local
> > system(RedHat6.1).
> > Now, when I'm moving it to my employers server, I can't compile it,
> > g++ does not exist. Only gcc.
>
> You didn't report what operating system your employer's server uses,
> so it is hard to make a recommendation of what to do.
>
> > So I downloaded and installed the latest gcc version.
> > But still, the shell does not find g++.
> > What should I do?
>
> Start with making a detailed report of what exactly you did and how
> exactly it failed. Perhaps you forgot to add the GCC target directory
> (default is /usr/local/bin) to your PATH?
>
> Regards,
> Martin

Martin thanks allot,
but David Pettersson already solve my problem(He didn't reply to the
list).
I fogot to do 'rehash'. What ever it is.

Thanks any way,
    -Amir.

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

* RE: G++
       [not found] <616BE6A276E3714788D2AC35C40CD18D76288F@whale.softwire.co.uk>
@ 2002-08-05  6:40 ` Rupert Wood
  0 siblings, 0 replies; 12+ messages in thread
From: Rupert Wood @ 2002-08-05  6:40 UTC (permalink / raw)
  To: mattisso; +Cc: gcc

Matus Petrulak wrote:

> I have installed G++ 3.1 on my laptop runing Debian Linux 2.2 and i 
> tryed to compile simple aplication with it and it takes a 
> very very long time!!! More than 20 minutes. What should I do?

Best guess: it's swapping itself to death. Newer g++es have larger
memory requirements particularly when using the new, more compliant,
STL. Laptops tend to have less memory than anything else. In this case,
there's not a lot you can do other than fit more memory.

The other alternative is that there's an infinite loop somewhere in your
build of the GCC backend. Try building the equivalent C program, e.g.

    #include <stdio.h>
    int main() { printf("Hello.\n"); return 0; }

This shouldn't take more than a few seconds to build. If it does, try
building with -O1 or even -O0 optimization; if that works on the C then
it might help your C++ too.

Good luck. Please note that this question (and any follow-ups) would be
better suited to the gcc-help mailing list; this list is primarily for
gcc development.

Rup.

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

* G++
@ 2002-08-03 11:11 Matus Petrulak
  0 siblings, 0 replies; 12+ messages in thread
From: Matus Petrulak @ 2002-08-03 11:11 UTC (permalink / raw)
  To: gcc

I have installed G++ 3.1 on my laptop runing Debian Linux 2.2 and i 
tryed to compile simple aplication with it and it takes a very very long 
time!!! More than 20 minutes. What should I do?
i executed: g++-3.1 test.cpp

file test.cpp:

#include <iostream>
using namespace std;

int main()
{
    cout << "Hello.";
    cout << "\n";
    return 0;
}

Thanks for fast reply. Matis

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

* Re: g++
  2002-01-14  9:17 g++ Tom Fetterer
@ 2002-01-14  9:24 ` Gerald Pfeifer
  0 siblings, 0 replies; 12+ messages in thread
From: Gerald Pfeifer @ 2002-01-14  9:24 UTC (permalink / raw)
  To: Tom Fetterer; +Cc: gcc

On Mon, 14 Jan 2002, Tom Fetterer wrote:
> I have installed the g++ v3.0.3 compiler on a Sun ultra 5 running
> SunOS 5.8 and am having trouble convincing the assembler to use
> the assembly code produced. The errors I've been getting are like
> this:
>
> /usr/ccs/bin/as: "/var/tmp/ccCJvg3c.s", line 1463: error: unknown
> opcode ".uleb128"
>
>
> A couple of quick questions:
>
> 1. what version of "as" (the Sun assembler) does g++ expect?

  nunki[43]:~% as -V
  as: Sun WorkShop 6 99/08/18

...works fine for me. (If you have an older version, it's probably
time to install Sun's Recommended Patches for your system.)

> 2. is there a way of specifying the assembler that the compiler
> should call or what instruction set to use?

http://gcc.gnu.org/install/configure.html should answer the first
part of this question.

Gerald
-- 
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/

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

* g++
@ 2002-01-14  9:17 Tom Fetterer
  2002-01-14  9:24 ` g++ Gerald Pfeifer
  0 siblings, 1 reply; 12+ messages in thread
From: Tom Fetterer @ 2002-01-14  9:17 UTC (permalink / raw)
  To: gcc


I have installed the g++ v3.0.3 compiler on a Sun ultra 5 running 
SunOS 5.8 and am having trouble convincing the assembler to use 
the assembly code produced. The errors I've been getting are like 
this:

/usr/ccs/bin/as: "/var/tmp/ccCJvg3c.s", line 1463: error: unknown 
opcode ".uleb128"


A couple of quick questions:

1. what version of "as" (the Sun assembler) does g++ expect?

2. is there a way of specifying the assembler that the compiler 
should call or what instruction set to use?

Any help would be greatly appreciated.

tom

 _____________________________________________________________
\                                                             /
 \  Tom Fetterer                |  email: tomf@vexcel.com    / 
  \ Vexcel Corporation          |  voice: 303-444-0094 X208 /
  / 4909 Nautilus Ct. Suite 133 |  fax:   303-444-0470      \ 
 /  Boulder, Colorado 80301     |  http://www.vexcel.com/    \  
/_____________________________________________________________\


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

* RE: g++
@ 2001-02-28  7:07 David Korn
  0 siblings, 0 replies; 12+ messages in thread
From: David Korn @ 2001-02-28  7:07 UTC (permalink / raw)
  To: 'Kennedy, Chris', 'gcc@gcc.gnu.org'

>-----Original Message-----
>From: Kennedy, Chris [ mailto:chris.kennedy@t-t.com ]


>I need to load a binary of g++ on my Sun Ultra 5.
>
>> uname -a
>SunOS ckenn1 5.6 Generic_105181-05 sun4u sparc SUNW,Ultra-5_10  Ultra 5
>
>I do not have a c compiler so the g++ source does me no good.  
>Please send me the link to the ftp site where I
>can get the binaries for g++.

  Try http://www.sunfreeware.com/


   cheers,
      DaveK
-- 
 All your base are belong to us!


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************

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

* g++
@ 2001-02-28  6:39 Kennedy, Chris
  0 siblings, 0 replies; 12+ messages in thread
From: Kennedy, Chris @ 2001-02-28  6:39 UTC (permalink / raw)
  To: 'gcc@gcc.gnu.org'

I need to load a binary of g++ on my Sun Ultra 5.

> uname -a
SunOS ckenn1 5.6 Generic_105181-05 sun4u sparc SUNW,Ultra-5_10  Ultra 5

I do not have a c compiler so the g++ source does me no good.  Please send
me the link to the ftp site where I
can get the binaries for g++.

Thanks
Chris Kennedy
chris_kennedy@t-t.com

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

* Re: G++
@ 2000-12-27 13:21 Mike Stump
  0 siblings, 0 replies; 12+ messages in thread
From: Mike Stump @ 2000-12-27 13:21 UTC (permalink / raw)
  To: coldwater, gcc

> From: "ColdWater" <coldwater@uol.com.br>
> To: "GCC GNU" <gcc@gcc.gnu.org>
> Date: Tue, 26 Dec 2000 13:34:12 -0200

> Can some tell me if the g++ has any bugs in binary output? I was
> trying some code with it (ASCII) and it doesn't seem to work
> properlly. The file keeps with 0 bytes in lenght.

> I wouldn't like to report it as a bug "yet", since I'm not sure.

Please don't send html.

Nope, not that we are aware of.  If you want help programming in C++,
comp.lang.c++ is a betetr place than here, if you think there is a
bug, just wrap it up, and submit a bug report.  It helps if you try
and verify that the behavior you see violates a requirement specified
in the language standard, or at least some book on C++.

Thanks, and happy hacking.

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

* Re: G++
  2000-12-26  7:40 G++ ColdWater
@ 2000-12-26 10:07 ` Alexandre Oliva
  0 siblings, 0 replies; 12+ messages in thread
From: Alexandre Oliva @ 2000-12-26 10:07 UTC (permalink / raw)
  To: ColdWater; +Cc: GCC GNU

On Dec 26, 2000, "ColdWater" <coldwater@uol.com.br> wrote:

> Can some tell me if the g++ has any bugs in binary output? I was trying some code with it (ASCII) and it doesn't seem to work properlly. The file keeps with 0 bytes in lenght.

fflush()?

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

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

* G++
@ 2000-12-26  7:40 ColdWater
  2000-12-26 10:07 ` G++ Alexandre Oliva
  0 siblings, 1 reply; 12+ messages in thread
From: ColdWater @ 2000-12-26  7:40 UTC (permalink / raw)
  To: GCC GNU

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 538 bytes --]

Dear Friends,
 
Can some tell me if the g++ has any bugs in binary 
output? I was trying some code with it (ASCII) and it doesn't seem to work 
properlly. The file keeps with 0 bytes in lenght.
 
I wouldn't like to report it as a bug "yet", since 
I'm not sure.
 
P.S.: I used the Debian GNU/Linux 2.1 with g++ 
2.91.60 (from within the .deb 2.1 package). I have just updated the system to 
Debian GNU/Linux 2.2 (and the latest gcc/g++) and I'll be testing it once 
again.
 
Anything,
coldwater@uol.com.br
Custodio, Leonardo.

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

end of thread, other threads:[~2002-08-05 13:40 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-25 12:26 g++ Amir Hardon
2000-01-25 14:53 ` g++ Martin v. Loewis
2000-01-25 21:35   ` g++ Amir Hardon
2000-12-26  7:40 G++ ColdWater
2000-12-26 10:07 ` G++ Alexandre Oliva
2000-12-27 13:21 G++ Mike Stump
2001-02-28  6:39 g++ Kennedy, Chris
2001-02-28  7:07 g++ David Korn
2002-01-14  9:17 g++ Tom Fetterer
2002-01-14  9:24 ` g++ Gerald Pfeifer
2002-08-03 11:11 G++ Matus Petrulak
     [not found] <616BE6A276E3714788D2AC35C40CD18D76288F@whale.softwire.co.uk>
2002-08-05  6:40 ` G++ Rupert Wood

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