* Re: g++ help..
@ 2004-05-03 18:50 j_morelli
2004-05-03 19:51 ` Ishwar Rattan
2004-05-04 2:53 ` llewelly
0 siblings, 2 replies; 8+ messages in thread
From: j_morelli @ 2004-05-03 18:50 UTC (permalink / raw)
To: gcc-help
Hello,
I send an email before about GCC version, and I want to know now if is posible to install two differents versions in the same server, just changing the output directory will be enough ?
/opt/gcc
thanks alot !!
Regards,
Julian
> j_morelli@uol.com.ar <j_morelli@uol.com.ar> writes:
> > Hi,
> > I´m julian from Argentina a i need to know how to compile g++ in 64bits enviroment.
> > I have:
> > gcc version 2.95.2 19991024 (release)
>
> Why so old? That release is 4.5 years old now.
>
> > in hpux 11.0
>
> There are no reports of successful builds of 2.95.x for hpux 11.0.
> (See gcc.gnu.org/gcc-2.95/buildstat.html) and it is knonw to not
> work on hppa hpux 11.0 .
>
> Why not try gcc 3.4.0, or 3.3.3, both of which have been built on hpux 11?
> (See gcc.gnu.org/gcc-3.4/buildstat.html and
> gcc.gnu.org/gcc-3.3/buildstat.html)
>
> Note that hpux 11 runs on two different architectures, hppa (PA-RISC),
> and ia64 (Itanium). The hppa build reports are for 11.0
> (hppa64-hp-hpux11.00), and the ia64 build reports are for 11.22
> (ia64-hp-hpux11.22)
>
> > I don´t know if that´s possible, and if it is , i would like to know the flags to do it..
>
> Make sure you read gcc.gnu.org/install, carefully, and pay special
> attention to the host/target specific notes. There two different
> sets of host/target specific notes for hpux; one for hppa :
> http://gcc.gnu.org/install/specific.html#hppa*-hp-hpux11 , and one
> for ia64 : http://gcc.gnu.org/install/specific.html#ia64-*-hpux*
> .
>
> Note that there is a list specifically for help with gcc:
> gcc-help@gcc.gnu.org . If you have any more questions, please
> ask.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: g++ help..
2004-05-03 18:50 g++ help j_morelli
@ 2004-05-03 19:51 ` Ishwar Rattan
2004-05-04 2:53 ` llewelly
1 sibling, 0 replies; 8+ messages in thread
From: Ishwar Rattan @ 2004-05-03 19:51 UTC (permalink / raw)
To: j_morelli; +Cc: gcc-help
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/PLAIN; charset=X-UNKNOWN, Size: 1883 bytes --]
Yes.
-ishwar
On Mon, 3 May 2004, j_morelli@uol.com.ar wrote:
> Hello,
> I send an email before about GCC version, and I want to know now if is posible to install two differents versions in the same server, just changing the output directory will be enough ?
> /opt/gcc
>
> thanks alot !!
> Regards,
> Julian
>
> > j_morelli@uol.com.ar <j_morelli@uol.com.ar> writes:
> > > Hi,
> > > I´m julian from Argentina a i need to know how to compile g++ in 64bits enviroment.
> > > I have:
> > > gcc version 2.95.2 19991024 (release)
> >
> > Why so old? That release is 4.5 years old now.
> >
> > > in hpux 11.0
> >
> > There are no reports of successful builds of 2.95.x for hpux 11.0.
> > (See gcc.gnu.org/gcc-2.95/buildstat.html) and it is knonw to not
> > work on hppa hpux 11.0 .
> >
> > Why not try gcc 3.4.0, or 3.3.3, both of which have been built on hpux 11?
> > (See gcc.gnu.org/gcc-3.4/buildstat.html and
> > gcc.gnu.org/gcc-3.3/buildstat.html)
> >
> > Note that hpux 11 runs on two different architectures, hppa (PA-RISC),
> > and ia64 (Itanium). The hppa build reports are for 11.0
> > (hppa64-hp-hpux11.00), and the ia64 build reports are for 11.22
> > (ia64-hp-hpux11.22)
> >
> > > I don´t know if that´s possible, and if it is , i would like to know the flags to do it..
> >
> > Make sure you read gcc.gnu.org/install, carefully, and pay special
> > attention to the host/target specific notes. There two different
> > sets of host/target specific notes for hpux; one for hppa :
> > http://gcc.gnu.org/install/specific.html#hppa*-hp-hpux11 , and one
> > for ia64 : http://gcc.gnu.org/install/specific.html#ia64-*-hpux*
> > .
> >
> > Note that there is a list specifically for help with gcc:
> > gcc-help@gcc.gnu.org . If you have any more questions, please
> > ask.
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: g++ help..
2004-05-03 18:50 g++ help j_morelli
2004-05-03 19:51 ` Ishwar Rattan
@ 2004-05-04 2:53 ` llewelly
1 sibling, 0 replies; 8+ messages in thread
From: llewelly @ 2004-05-04 2:53 UTC (permalink / raw)
To: j_morelli; +Cc: gcc-help
j_morelli@uol.com.ar <j_morelli@uol.com.ar> writes:
> Hello,
>
> I send an email before about GCC version, and I want to know now if
> is posible to install two differents versions in the same server,
> just changing the output directory will be enough ?
Read the install documentation carefully, particularly about the
configure option --prefix. My advise is to install both versions
of gcc with different --prefix, more or less like this:
# configure gcc 3.4.0 :
$ cd gcc-3.4.0.objdir
$ ../gcc-3.4.0/configure --prefix=/usr/local/gcc-3.4 # ... rest of args
# configure gcc 3.3.3 :
$ cd gcc-3.3.3.objdir
$ ../gcc-3.3.3/configure --prefix=/usr/local/gcc-3.3.3 # ... rest of args
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: g=+ help
2007-05-28 13:20 g=+ help sahar kouroshnezhad
@ 2007-05-28 14:03 ` Tim Prince
0 siblings, 0 replies; 8+ messages in thread
From: Tim Prince @ 2007-05-28 14:03 UTC (permalink / raw)
To: sahar kouroshnezhad; +Cc: gcc-help
sahar kouroshnezhad wrote:
> Hi,
> I am a new user in g++,I want to compile a g++ code
> which includes other g++ codes,these included files
> and the main file is in different pathes,would you
> please tell me
> how can i compile this code?
>
>
'info gcc' contains a brief explanation of the -I option
If you are using a make which supports VPATH, you may be interested in that.
^ permalink raw reply [flat|nested] 8+ messages in thread
* g=+ help
@ 2007-05-28 13:20 sahar kouroshnezhad
2007-05-28 14:03 ` Tim Prince
0 siblings, 1 reply; 8+ messages in thread
From: sahar kouroshnezhad @ 2007-05-28 13:20 UTC (permalink / raw)
To: gcc-help
Hi,
I am a new user in g++,I want to compile a g++ code
which includes other g++ codes,these included files
and the main file is in different pathes,would you
please tell me
how can i compile this code?
thanks
sahar
____________________________________________________________________________________Shape Yahoo! in your own image. Join our Network Research Panel today! http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
^ permalink raw reply [flat|nested] 8+ messages in thread
* g++ help
@ 2003-03-04 2:40 EXT-Patil, Rachana M
0 siblings, 0 replies; 8+ messages in thread
From: EXT-Patil, Rachana M @ 2003-03-04 2:40 UTC (permalink / raw)
To: gcc-help
Hi,
I need to know which is the g++ version
is equivalent to HP ANSI C++ A.03.31
Thanks in advance
Rachana
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: g++ help
2002-05-14 12:40 Mark Jenkins
@ 2002-05-17 17:38 ` Andrea 'Fyre Wyzard' Bocci
0 siblings, 0 replies; 8+ messages in thread
From: Andrea 'Fyre Wyzard' Bocci @ 2002-05-17 17:38 UTC (permalink / raw)
To: Mark Jenkins, gcc-help
At 14.39 14/05/2002 (GMT -0500), Mark Jenkins wrote:
>Hi,
>
>I am new to g++ and need help compiling a simple program.
>I have installed g++ on a unix, "sparc-sun-solaris2.7".
>
>Could some send me a sample make file and program, to
>complie a g++ program.
>
>Also what should the CXX and CXXFLAGS environment variables
>be set to?
>
>Trying to compile the following program:
>
>#include <iostream.h>
// you probably need to add here this line ...
using namespace std;
>int main()
>{
// and change this
// cout << "Hellow World!";
// to
cout << "Hello World!" << endl;
>return 0;
>}
...and then compile with
g++ fileame.cc -o filaname.
running the executable
./filename
should print
Hello World!
and exit (succesfully).
>Thanks,
>
>Mark Jenkins
HTH, fwyzard
^ permalink raw reply [flat|nested] 8+ messages in thread
* g++ help
@ 2002-05-14 12:40 Mark Jenkins
2002-05-17 17:38 ` Andrea 'Fyre Wyzard' Bocci
0 siblings, 1 reply; 8+ messages in thread
From: Mark Jenkins @ 2002-05-14 12:40 UTC (permalink / raw)
To: gcc-help
Hi,
I am new to g++ and need help compiling a simple program.
I have installed g++ on a unix, "sparc-sun-solaris2.7".
Could some send me a sample make file and program, to
complie a g++ program.
Also what should the CXX and CXXFLAGS environment variables
be set to?
Trying to compile the following program:
#include <iostream.h>
int main()
{
cout << "Hellow World!";
return 0;
}
Thanks,
Mark Jenkins
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2007-05-28 13:49 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-03 18:50 g++ help j_morelli
2004-05-03 19:51 ` Ishwar Rattan
2004-05-04 2:53 ` llewelly
-- strict thread matches above, loose matches on Subject: below --
2007-05-28 13:20 g=+ help sahar kouroshnezhad
2007-05-28 14:03 ` Tim Prince
2003-03-04 2:40 g++ help EXT-Patil, Rachana M
2002-05-14 12:40 Mark Jenkins
2002-05-17 17:38 ` Andrea 'Fyre Wyzard' Bocci
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).