473,396 Members | 1,810 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Where can I get the source for g++ 2.95.?

Pep
I need to get a upgrade to my current FreeBSD g++ compiler (2.95.4) as it
does not support the use of anonymous structures within a union :(

However the latest source I can find on www.gnu.org is for 2.95.3

Is there a place I can get a later version of the package or is that the
last version supported by GNU?

If so then how do I go about getting a upgrade from 2.95.4 for FreeBSD?

Unfortunately going to the version 3 series is not a option.

TIA,
Pep.

Jan 20 '06 #1
5 1853
Pep wrote:
I need to get a upgrade to my current FreeBSD g++ compiler (2.95.4) as it
does not support the use of anonymous structures within a union :(
This is a very old compiler. You should better upgrade to 3.x (for x < 0) or
4.x instead.
However the latest source I can find on www.gnu.org is for 2.95.3
That's because there is no official GCC version between 2.95.3 and 3.0. It's
probably the same as with the infamous GCC 2.96, which is acutally not GCC.
Is there a place I can get a later version of the package or is that the
last version supported by GNU?

If so then how do I go about getting a upgrade from 2.95.4 for FreeBSD?

Unfortunately going to the version 3 series is not a option.


That is quite unfortunate, because that series made a big leap toward
standard compliance and binary compatibility between different version and
with other compilers (using a standard ABI).

Jan 20 '06 #2
Pep
Rolf Magnus wrote:
Pep wrote:
I need to get a upgrade to my current FreeBSD g++ compiler (2.95.4) as it
does not support the use of anonymous structures within a union :(


This is a very old compiler. You should better upgrade to 3.x (for x < 0)
or 4.x instead.
However the latest source I can find on www.gnu.org is for 2.95.3


That's because there is no official GCC version between 2.95.3 and 3.0.
It's probably the same as with the infamous GCC 2.96, which is acutally
not GCC.
Is there a place I can get a later version of the package or is that the
last version supported by GNU?

If so then how do I go about getting a upgrade from 2.95.4 for FreeBSD?

Unfortunately going to the version 3 series is not a option.


That is quite unfortunate, because that series made a big leap toward
standard compliance and binary compatibility between different version and
with other compilers (using a standard ABI).


Thanks for the response.

I have google'd extensively since my OP and have found out much of what you
said, so it looks like I have no choice but to try and push the boat out to
a higher version.

I doubt that I can convince my peers that we should move to 4.x but possibly
3.x, though even that is going to be a massive battle. Is there a
regression test suite I can use to prove that we can adopt the newer
version of the compiler in addition to the obvious step of building our
code with the new compiler?

Cheers,
Pep.

Jan 20 '06 #3
Pep wrote:
Rolf Magnus wrote:

Pep wrote:

I need to get a upgrade to my current FreeBSD g++ compiler (2.95.4) as it
does not support the use of anonymous structures within a union :(

<snip>
I doubt that I can convince my peers that we should move to 4.x but possibly
3.x,
Well, if you going to make a jump, you might as well go with the later
ones. Unlike the early gcc 4.x, I think the latest is pretty stable.

Issues of using old tools will only crop up again, but just in less time
if you use an older one now. That is an argument for going with a
later compiler.
though even that is going to be a massive battle. Is there a
regression test suite I can use to prove that we can adopt the newer
version of the compiler in addition to the obvious step of building our
code with the new compiler?


If you could use Linux or Solaris, rather than FreeBSD, then there is
now a good free commercial C++ compiler. It used to be expensive
(several thousand $'s), but is now free, even for commercial use. The
compiler is not however open-source.

http://developers.sun.com/prodtech/cc/products/

You might have less hassles convincing someone the fact you are using a
commercially supported C++ compiler, rather than the latest version of g++.

Sun Studio 11's huge appetite for RAM, processor and swap space is
dramatically reduced if you stick to the command line tools, rather than
the GUI. I've run it on lesser machines than the minimum spec with no
hassle.

The debugger is *excellent*.

If the Linux or Solaris (x86 or SPARC) route is worth considering, you
could ask on comp.unix.solaris for advice about testing. There are lots
of people from Sun who hang out there, including some from the compiler
group. Or phone Sun and ask.

--
Dave K

http://www.southminster-branch-line.org.uk/

Please note my email address changes periodically to avoid spam.
It is always of the form: month-year@domain. Hitting reply will work
for a couple of months only. Later set it manually. The month is
always written in 3 letters (e.g. Jan, not January etc)
Jan 20 '06 #4
Pep
Dave (from the UK) wrote:
Pep wrote:
Rolf Magnus wrote:

Pep wrote:
I need to get a upgrade to my current FreeBSD g++ compiler (2.95.4) as
it does not support the use of anonymous structures within a union :(


<snip>
I doubt that I can convince my peers that we should move to 4.x but
possibly 3.x,


Well, if you going to make a jump, you might as well go with the later
ones. Unlike the early gcc 4.x, I think the latest is pretty stable.

Issues of using old tools will only crop up again, but just in less time
if you use an older one now. That is an argument for going with a
later compiler.
though even that is going to be a massive battle. Is there a
regression test suite I can use to prove that we can adopt the newer
version of the compiler in addition to the obvious step of building our
code with the new compiler?


If you could use Linux or Solaris, rather than FreeBSD, then there is
now a good free commercial C++ compiler. It used to be expensive
(several thousand $'s), but is now free, even for commercial use. The
compiler is not however open-source.

http://developers.sun.com/prodtech/cc/products/

You might have less hassles convincing someone the fact you are using a
commercially supported C++ compiler, rather than the latest version of
g++.

Sun Studio 11's huge appetite for RAM, processor and swap space is
dramatically reduced if you stick to the command line tools, rather than
the GUI. I've run it on lesser machines than the minimum spec with no
hassle.

The debugger is *excellent*.

If the Linux or Solaris (x86 or SPARC) route is worth considering, you
could ask on comp.unix.solaris for advice about testing. There are lots
of people from Sun who hang out there, including some from the compiler
group. Or phone Sun and ask.


Thanks for the advice.

Unfortunately moving to Linux is not an option for this project so I need to
stick with gnu's compiler.

As you say it would be better to move to 4.x rather than 3.x however my
peers may not readily agree to this although I might be able to argue a
move to 3.x (weird I know).

Cheers,
Pep.

Jan 20 '06 #5
Pep wrote:

As you say it would be better to move to 4.x rather than 3.x however my
peers may not readily agree to this although I might be able to argue a
move to 3.x (weird I know).


Not entirely weird. 3.4.5 is VERY stable. 4.x is only in its 3rd release
(4.0.2). Some 3rd party libraries libraries and debuggers may not work with
4.0.2 yet. You may have to make many little changes to your source to get it
to compile with 3.4.5 (the library and compiler were entirely rewritten after
2.95.3), but the step form there to some future 4.x release should be much
easier. For multithreaded applications you MUST move away from 2.95. It's
worth the effort. The newer versions off GCC are much better than 2.95.

--
Paul M. Dubuc
Jan 20 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Hal Vaughan | last post by:
My first Java project has gotten to the point where there are so many .java and .class files that I'd like to keep them separated so I can easily keep files straight. I have my /home/me directory...
12
by: Martin_Hurst | last post by:
It would appear that MySQL is making great strides into the commercial and even the enterprise arena. I am not seeing the same news coverage being said about Postgresql. I believe Postgresql has...
4
by: nekiv90 | last post by:
Greetings, I was able to create the structured type: CREATE TYPE address_t AS ( street char(30), city char(15), state char(10), postcode smallint ) MODE...
14
by: Stegano | last post by:
I am learning C Programming after working with Java for 5 years. I want to know where can I find the source files for C language itself. For example strcat is a function, which concatenates two...
7
by: Alan Silver | last post by:
Hello, I am just looking at VWD and seeing what needs doing to take an existing site I've written by hand and importing it into VWD. I've already discovered that I need to rename my code-behind...
1
by: colleen1980 | last post by:
There is a form where it ask the two dates and then run a query then report. Private Sub Command36_Click() DoCmd.OpenQuery "qryResultsReport" DoCmd.OpenReport "rpt_TopTen", acPreview, "", ""...
15
by: amit.man | last post by:
Hi, i have newbie qestion, when i write #include <somthing.h> the precompiler subtitue that line with the lines from "somthing.h" header file. when, where and how the compiler insert the...
41
by: Miroslaw Makowiecki | last post by:
Where can I download Comeau compiler as a trial version? Thanks in advice.
8
by: mlwerth | last post by:
Dear Access Group: This is the most basic and most embarrassing of questions, but I cannot find where to change the data type of a text field that I have in Access 2003 to a number field. I've...
20
by: David Thielen | last post by:
Hi; When we add a reference to a web app, where is that information stored? There is no project file, it's not in the web.config or solution file. ??? - thanks - dave ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.