*BSD News Article 32821


Return to BSD News archive

Newsgroups: comp.os.386bsd.misc
Path: sserve!newshost.anu.edu.au!munnari.oz.au!bunyip.cc.uq.oz.au!harbinger.cc.monash.edu.au!msuinfo!netnews.upenn.edu!dsinc!spool.mu.edu!howland.reston.ans.net!swrinde!sgiblab!pacbell.com!amdahl!netcomsv!netcom.com!rcarter
From: rcarter@netcom.com (Russell Carter)
Subject: gcc 2.5.8 on FreeBSD 1.1.5.1, this is why, and a thanks.
Message-ID: <rcarterCszzED.8wx@netcom.com>
Organization: NETCOM On-line Communication Services (408 261-4700 guest)
References: <rcarterCsxwE1.56p@netcom.com> <1994Jul15.101010.17341@cm.cf.ac.uk>
Date: Fri, 15 Jul 1994 19:56:37 GMT
Lines: 45

In article <1994Jul15.101010.17341@cm.cf.ac.uk>,
Paul <paul@isl-gate.elsy.cf.ac.uk> wrote:
>In article <rcarterCsxwE1.56p@netcom.com>,
>Russell Carter <rcarter@netcom.com> wrote:
>>
>>
>>Has anybody got gcc 2.5.8 running on FreeBSD 1.1.5.1?  This may be the
>>proverbial "last straw" for me; linux here I come.  And sad it is, wolf's
>>ncr pci driver is working great.
>

[ stuff deleted ]

>
>Why do you need 2.5.8 anyway? 
>-- 

Why does anyone care?  But since you asked, and a number of people have
taken the time to educate and enlighten me on the error of using
a feature of c++ that happens to be in gcc 2.5.8 but not in 2.4.5, which
use thereby screws up various philosophies of operating system... how
shall I call it... let's try "packaging";  I'll say a few words about
what I want to use gcc 2.5.8 on FreeBSD *for*.  I have an efficient
matrix class library that is heavily templated.  I would like to use 
the same code on an Intel Paragon, various sgis and suns, lots of 
linux flavors, Borland C++, Watcom C++, AIX C++, and, 
even, FreeBSD.  2.5.* compiles the templates, 2.4.5 does not.  2.5.8 works
on all my systems, however buggily, with the exception of my home FreeBSD
system.  

I have wanted to stay with FreeBSD because there is the possibility that
some interesting networking work might be needed, and I had more confidence
in the BSD code as compared to linux.  But this gcc ah... difference of
opinion is more overhead than I expected.   Incidently, there is some
interesting network protocol work going on next to me at work, and they
are using gcc 2.5.8 on a variety of platforms.  Linux has holes in
the networking support that keeps the group from porting their stuff
to it, and the necessary support appears to be in FreeBSD.  But they
are not going to use 2.4.5.

Finally, I'd like to thank Julian E. for pointing me to the patches, and 
several people who mentioned that gcc 2.6 will have a freebsd configuration.

Regards,
Russell