Re: C++ compiler

2008-07-30 Thread Kris Kennaway
Chris Hill wrote: On Wed, 30 Jul 2008, [EMAIL PROTECTED] wrote: What is the URL where I can get gcc42 and is it easy to get or do I have to do devious things to eventually find it? # cd /usr/ports/lang/gcc42 # make install clean Or install FreeBSD 7.0 and do nothing else. # g++ -v Usin

Re: C++ compiler

2008-07-30 Thread Chris Hill
On Wed, 30 Jul 2008, [EMAIL PROTECTED] wrote: What is the URL where I can get gcc42 and is it easy to get or do I have to do devious things to eventually find it? # cd /usr/ports/lang/gcc42 # make install clean -- Chris Hill [EMAIL PROTECTED] ** [ Busy Ex

C++ compiler

2008-07-30 Thread [EMAIL PROTECTED]
What is the URL where I can get gcc42 and is it easy to get or do I have to do devious things to eventually find it? Are you Catholic and single? Click Here. http://thirdpartyoffers.juno.com/TGL2141/fc/Ioyw6i3oGxtfMGTyKQeDjl1IylH

Re: C compiler issue perhaps?

2008-03-17 Thread Derek Ragona
At 12:29 AM 3/17/2008, Doug Hardie wrote: On Mar 15, 2008, at 05:59, Derek Ragona wrote: At 09:49 PM 3/14/2008, Doug Hardie wrote: On Mar 14, 2008, at 18:31, Derek Ragona wrote: At 06:56 PM 3/14/2008, Doug Hardie wrote: There is no code running at that point. Its just sitting there waiti

Re: C compiler issue perhaps?

2008-03-16 Thread Doug Hardie
On Mar 15, 2008, at 05:59, Derek Ragona wrote: At 09:49 PM 3/14/2008, Doug Hardie wrote: On Mar 14, 2008, at 18:31, Derek Ragona wrote: At 06:56 PM 3/14/2008, Doug Hardie wrote: There is no code running at that point. Its just sitting there waiting for me to enter a gdb command. On Mar

Re: C compiler issue perhaps?

2008-03-15 Thread Derek Ragona
At 12:02 PM 3/15/2008, Chuck Robey wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Derek Ragona wrote: > At 05:10 PM 3/14/2008, Doug Hardie wrote: >> I have a program I was testing with gdb. I was trying to figure out >> why c.rmonths was always zero when it should have been 6. Stepped >>

Re: C compiler issue perhaps?

2008-03-15 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Derek Ragona wrote: > At 05:10 PM 3/14/2008, Doug Hardie wrote: >> I have a program I was testing with gdb. I was trying to figure out >> why c.rmonths was always zero when it should have been 6. Stepped >> through using the gdb n command. Here is t

Re: C compiler issue perhaps?

2008-03-15 Thread Derek Ragona
At 09:49 PM 3/14/2008, Doug Hardie wrote: On Mar 14, 2008, at 18:31, Derek Ragona wrote: At 06:56 PM 3/14/2008, Doug Hardie wrote: There is no code running at that point. Its just sitting there waiting for me to enter a gdb command. On Mar 14, 2008, at 15:16, Derek Ragona wrote: At 05:10

Re: C compiler issue perhaps?

2008-03-14 Thread Doug Hardie
On Mar 14, 2008, at 18:31, Derek Ragona wrote: At 06:56 PM 3/14/2008, Doug Hardie wrote: There is no code running at that point. Its just sitting there waiting for me to enter a gdb command. On Mar 14, 2008, at 15:16, Derek Ragona wrote: At 05:10 PM 3/14/2008, Doug Hardie wrote: I have a

Re: C compiler issue perhaps?

2008-03-14 Thread Derek Ragona
At 06:56 PM 3/14/2008, Doug Hardie wrote: There is no code running at that point. Its just sitting there waiting for me to enter a gdb command. On Mar 14, 2008, at 15:16, Derek Ragona wrote: At 05:10 PM 3/14/2008, Doug Hardie wrote: I have a program I was testing with gdb. I was trying to

Re: C compiler issue perhaps?

2008-03-14 Thread Doug Hardie
There is no code running at that point. Its just sitting there waiting for me to enter a gdb command. On Mar 14, 2008, at 15:16, Derek Ragona wrote: At 05:10 PM 3/14/2008, Doug Hardie wrote: I have a program I was testing with gdb. I was trying to figure out why c.rmonths was always zero

Re: C compiler issue perhaps?

2008-03-14 Thread Derek Ragona
At 05:10 PM 3/14/2008, Doug Hardie wrote: I have a program I was testing with gdb. I was trying to figure out why c.rmonths was always zero when it should have been 6. Stepped through using the gdb n command. Here is the output: (gdb) 215 c.rmonths = (edate - tdate

C compiler issue perhaps?

2008-03-14 Thread Doug Hardie
I have a program I was testing with gdb. I was trying to figure out why c.rmonths was always zero when it should have been 6. Stepped through using the gdb n command. Here is the output: (gdb) 215 c.rmonths = (edate - tdate) / toMONTHS; (gdb) 223

Re: C compiler cannot create executables

2007-11-07 Thread Rod Person
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 06 Nov 2007 22:19:28 -0500 "Philip M. Gollucci" <[EMAIL PROTECTED]> wrote: > Rod Person wrote: > > /usr/bin/ld cannot find -lgcc_s > ls /lib/gcc* > > You should have: > ls libgcc* > -r--r--r-- 1 root wheel - 43K Nov 4 01:23:20 2007 libg

Re: C compiler cannot create executables

2007-11-06 Thread Rod Person
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 06 Nov 2007 17:31:39 -0800 "Josh Carroll" <[EMAIL PROTECTED]> wrote: > > configure: error: C compiler cannot create executables > > > > I googled for awhile and found the suggestion to reinstall libtool, >

Re: C compiler cannot create executables

2007-11-06 Thread Garrett Cooper
Josh Carroll wrote: configure: error: C compiler cannot create executables I googled for awhile and found the suggestion to reinstall libtool, but that also fails with the same error. Can you paste the config.log from the port's work source directory (where configure is located)?

Re: C compiler cannot create executables

2007-11-06 Thread Josh Carroll
> configure: error: C compiler cannot create executables > > I googled for awhile and found the suggestion to reinstall libtool, but > that also fails with the same error. Can you paste the config.log from the port's work source directory (where configure is located)? Can you

Re: C compiler cannot create executables

2007-11-06 Thread Steve Bertrand
Rod Person wrote: > I seem to have really hosed up my system somehow and I'm not sure what > I did. I'm running FreeBSD 7 Beta 1 i386. > > I was going to upgrade to Beta 2, but when ever I compile anything it > fails and the last line is always: > > configure:

Re: C compiler cannot create executables

2007-11-06 Thread Rod Person
> > > > I was going to upgrade to Beta 2, but when ever I compile anything > > it fails and the last line is always: > > > > configure: error: C compiler cannot create executables > > > > I googled for awhile and found the suggestion to reinstall li

C compiler cannot create executables

2007-11-06 Thread Rod Person
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I seem to have really hosed up my system somehow and I'm not sure what I did. I'm running FreeBSD 7 Beta 1 i386. I was going to upgrade to Beta 2, but when ever I compile anything it fails and the last line is always: configure: error:

Re: C++ Compiler On FreeBSD

2007-10-07 Thread cpghost
On Sun, 7 Oct 2007 17:08:30 +0200 Roland Smith <[EMAIL PROTECTED]> wrote: > My preference for doing things is; > > 1) Can it be done with a shell-script? (esp. one-time hacks) > 2) Else use Perl, Octave, Ruby, but > 3) If speed is key, use C. :-) Yup, exactly. In Python, that's what extension mo

Re: C++ Compiler On FreeBSD

2007-10-07 Thread Roland Smith
preference for doing things is; 1) Can it be done with a shell-script? (esp. one-time hacks) 2) Else use Perl, Octave, Ruby, but 3) If speed is key, use C. :-) > > > Im using Borland C++ compiler on XP and was wondering what compilers > > > there are for FreeBSD that would al

Re: C++ Compiler On FreeBSD

2007-10-07 Thread Chad Perrin
On Sun, Oct 07, 2007 at 10:08:58AM +0200, Wojciech Puchar wrote: > >>i complete my software engineering degree. > > > >PHP isn't really a programming language. It's more a fancy templating > > for me it's just funny thing that needs several megs of RAM to display the > current date ;) > > but as

Re: C++ Compiler On FreeBSD

2007-10-07 Thread Chad Perrin
On Sun, Oct 07, 2007 at 12:07:59AM +, Aryeh Friedman wrote: > > PHP isn't really a programming language. It's more a fancy templating > > system that happens to be able to use extensions that can provide C > > style linkage. That said, I laude you for your desire to learn a real > > programming

Re: C++ Compiler On FreeBSD

2007-10-07 Thread Chad Perrin
oo -- though probably long after Ruby or Perl. If you specifically want to learn C++, though, and skip the middle man: more power to ya, and good luck. > > > Im using Borland C++ compiler on XP and was wondering what compilers > > there are for FreeBSD that would allow me to compi

Re: C++ Compiler On FreeBSD

2007-10-07 Thread Christer Hermansson
. Im using Borland C++ compiler on XP and was wondering what compilers there are for FreeBSD that would allow me to compile and execute some of the examples i will practise from the book. Also if anyone wants to recommend any other books on C++ feel free. We are learning VB at college at the

Re: C++ Compiler On FreeBSD

2007-10-07 Thread Wojciech Puchar
a lot of pitfalls and gotchas that you won't experience elsewhere (not so much with C itself, but with C++). And that's why it's good to start with C ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-quest

Re: C++ Compiler On FreeBSD

2007-10-07 Thread cpghost
On Sat, 6 Oct 2007 20:53:00 +0100 "James Jeffery" <[EMAIL PROTECTED]> wrote: > Also if anyone wants to recommend any other books on C++ feel free. For beginners, I'd highly recommend "C++ Primer" / Fourth Ed. by Stanley B. Lippman et. al. But if you're starting to learn programming from scratch,

Re: C++ Compiler On FreeBSD

2007-10-07 Thread Wojciech Puchar
i complete my software engineering degree. PHP isn't really a programming language. It's more a fancy templating for me it's just funny thing that needs several megs of RAM to display the current date ;) but as being treated as "technology" instead of just tool, it's used everythere withou

Re: C++ Compiler On FreeBSD

2007-10-06 Thread Aryeh Friedman
> PHP isn't really a programming language. It's more a fancy templating > system that happens to be able to use extensions that can provide C > style linkage. That said, I laude you for your desire to learn a real > programming language, and agree with the recommendation that you start > with somet

Re: C++ Compiler On FreeBSD

2007-10-06 Thread Christopher Nehren
On 2007-10-06, James Jeffery top-posted. [ please don't do that, it makes it very difficult to format responses correctly and makes it just about as hard to read and understand them ] > Hi all, thanks for the fast replys, much appreciated. > > Manolis: Yep, its the book by Jesse, i never believe th

Re: C++ Compiler On FreeBSD

2007-10-06 Thread Giorgos Keramidas
ge of any lower level languages, so i do need to be spoon fed > the basics. > > Im using Borland C++ compiler on XP and was wondering what compilers > there are for FreeBSD that would allow me to compile and execute some > of the examples i will practise from the book. The base syste

Re: C++ Compiler On FreeBSD

2007-10-06 Thread Wojciech Puchar
Im learning C++ from Sams Teach Yourself C++, now many will call this a dumb method, and the books pointless and stupid, but i have no knowledge of any lower level languages, so i do need to be spoon fed the basics. so you should start from lower level first - learn C first :) C is easy. it's a

Re: C++ Compiler On FreeBSD

2007-10-06 Thread James Jeffery
;d say that C++ isn't the easiest way to learn programming. I'd suggest > starting with Perl, Ruby or Python. > > > Im using Borland C++ compiler on XP and was wondering what compilers > > there are for FreeBSD that would allow me to compile and execute some > > of

Re: C++ Compiler On FreeBSD

2007-10-06 Thread Roland Smith
any lower level languages, so i do need to be spoon fed the basics. I'd say that C++ isn't the easiest way to learn programming. I'd suggest starting with Perl, Ruby or Python. > Im using Borland C++ compiler on XP and was wondering what compilers > there are for FreeBSD that w

Re: C++ Compiler On FreeBSD

2007-10-06 Thread Manolis Kiagias
e spoon fed the basics. > > Im using Borland C++ compiler on XP and was wondering what compilers > there are for FreeBSD that would allow me to compile and execute some > of the examples i will practise from the book. > > Also if anyone wants to recommend any other books on C++ f

Re: C++ Compiler On FreeBSD

2007-10-06 Thread RW
On Sat, 6 Oct 2007 20:53:00 +0100 "James Jeffery" <[EMAIL PROTECTED]> wrote: > Im using Borland C++ compiler on XP and was wondering what compilers > there are for FreeBSD that would allow me to compile and execute some > of the examples i will practise from the book. g

C++ Compiler On FreeBSD

2007-10-06 Thread James Jeffery
Evening to you all (or morning in some parts of the world). Im learning C++ from Sams Teach Yourself C++, now many will call this a dumb method, and the books pointless and stupid, but i have no knowledge of any lower level languages, so i do need to be spoon fed the basics. Im using Borland C

Re: Corrupted C Compiler

2006-12-05 Thread Rachel Florentine
- Original Message From: Josh Paetzel <[EMAIL PROTECTED]> >That rebuilds the python C library interface stuff I believe, but >doesn't have anything at all to do with the system C compiler. There >is nothing wrong with your system C compiler. Well, that's a

Re: Corrupted C Compiler

2006-12-05 Thread Josh Paetzel
install-make instance dance, which is a > no-brainer. TIA, > Rachel > > That rebuilds the python C library interface stuff I believe, but doesn't have anything at all to do with the system C compiler. There is nothing wrong with your system C compiler. If you look at the Zope po

Re: Corrupted C Compiler

2006-12-05 Thread Rachel Florentine
81- Original Message From: Jan Grant <[EMAIL PROTECTED]> >When you have a chance, it'd be nice to get a detailed error report >(including the command you were running to clean up the libraries). I get this error when I try to runzope: ImportError: No module named cPersistence I yaho

Re: Corrupted C Compiler

2006-12-05 Thread Jan Grant
On Mon, 4 Dec 2006, Rachel Florentine wrote: From: Jan Grant <[EMAIL PROTECTED]> >>I don't think it makes much sense, no. Zope is python-based and unless >>you're building products that rely on native libraries, what you >>describe doesn't sound like an accurate diagnosis. It's more likely >>(

Re: Corrupted C Compiler

2006-12-04 Thread Rachel Florentine
76 - Original Message From: Jan Grant <[EMAIL PROTECTED]> >I don't think it makes much sense, no. Zope is python-based and unless >you're building products that rely on native libraries, what you >describe doesn't sound like an accurate diagnosis. It's more likely >(this is a stab in

Re: Corrupted C Compiler

2006-12-04 Thread Jan Grant
had up-to-date backups) and it appears to have > corrupted gcc...my C compiler. I deduce this because when I go to build > Zope (as an example) from source I have to run a script afterwards that > repairs the broken C files. (This, strangely, is not the case if I build > Zope from

Re: Corrupted C Compiler

2006-12-04 Thread Rachel Florentine
- Original Message From: Josh Paetzel <[EMAIL PROTECTED]> >It's not immediately clear to me what you mean by repairing broken C >files. The port uses the Zope source and the system compiler, >presumably the same source and compiler you are using to build it by >hand. Are you sure y

Re: Corrupted C Compiler

2006-12-04 Thread Warren Block
it appears to have corrupted gcc...my C compiler. I deduce this because when I go to build Zope (as an example) from source I have to run a script afterwards that repairs the broken C files. (This, strangely, is not the case if I build Zope from port.) So, my questions for you programmers more

Re: Corrupted C Compiler

2006-12-04 Thread Josh Paetzel
(thank goodness I had up-to-date backups) and it > appears to have corrupted gcc...my C compiler. I deduce this > because when I go to build Zope (as an example) from source I have > to run a script afterwards that repairs the broken C files. (This, > strangely, is not the case if I

Corrupted C Compiler

2006-12-04 Thread Rachel Florentine
106Hi; I entered the following stupid command: cp -R /* /ad2 thinking that would copy the contents of my working HD to my new 1/2 teraflop HD (ad2). What it did was manage to wipe out some very important files (thank goodness I had up-to-date backups) and it appears to have corrupted gcc...my C

Re: C compiler

2004-10-04 Thread Josh Hansen
Kris Kennaway wrote: On Mon, Oct 04, 2004 at 01:18:48PM -0600, Josh Hansen wrote: Bill Moran wrote: [EMAIL PROTECTED] wrote: Hello, I?ve installed FreeBSD 5.2.1 in my PC machine. I compiled my own programs and started to running them. For my surprise, I checked that FreeBSD programs

Re: C compiler

2004-10-04 Thread Kenneth Culver
Quoting Josh Hansen <[EMAIL PROTECTED]>: Bill Moran wrote: [EMAIL PROTECTED] wrote: Hello, I´ve installed FreeBSD 5.2.1 in my PC machine. I compiled my own programs and started to running them. For my surprise, I checked that FreeBSD programs spent almost 50% more time than the same program compil

Re: C compiler

2004-10-04 Thread Kris Kennaway
On Mon, Oct 04, 2004 at 01:18:48PM -0600, Josh Hansen wrote: > Bill Moran wrote: > > >[EMAIL PROTECTED] wrote: > > > > > > > >>Hello, > >> > >>I?ve installed FreeBSD 5.2.1 in my PC machine. I compiled my own > >>programs and started to running them. For my surprise, I checked that > >>FreeBSD pro

Re: C compiler

2004-10-04 Thread Charles Swiger
On Oct 4, 2004, at 3:18 PM, Josh Hansen wrote: [ ...5.2.1 being slower than Linux... ] I really don't think the problem is that simple. How about either giving him a real answer or none at all? Sigh. The malloc debugging options in 5.2.1 really will slow down userland programs which heavily uti

Re: C compiler

2004-10-04 Thread Josh Hansen
Bill Moran wrote: [EMAIL PROTECTED] wrote: Hello, I´ve installed FreeBSD 5.2.1 in my PC machine. I compiled my own programs and started to running them. For my surprise, I checked that FreeBSD programs spent almost 50% more time than the same program compiled to linux. I checked several compile

Re: C compiler

2004-10-04 Thread Bill Moran
[EMAIL PROTECTED] wrote: > > Hello, > > I´ve installed FreeBSD 5.2.1 in my PC machine. I compiled my own > programs and started to running them. For my surprise, I checked that > FreeBSD programs spent almost 50% more time than the same program compiled > to linux. I checked several compile opti

Re: C compiler

2004-10-04 Thread Kenneth Culver
Quoting [EMAIL PROTECTED]: Hello, I´ve installed FreeBSD 5.2.1 in my PC machine. I compiled my own programs and started to running them. For my surprise, I checked that FreeBSD programs spent almost 50% more time than the same program compiled to linux. I checked several compile options, but it did

C compiler

2004-10-04 Thread regi
Hello, I´ve installed FreeBSD 5.2.1 in my PC machine. I compiled my own programs and started to running them. For my surprise, I checked that FreeBSD programs spent almost 50% more time than the same program compiled to linux. I checked several compile options, but it did not have good results.

Re: Intel C Compiler

2004-07-09 Thread Kris Kennaway
On Thu, Jul 08, 2004 at 09:21:41AM +0300, B.Bonev wrote: > How can I use Intel C Compiler as default compiler? You cannot, yet. Some work is being done to allow this in 5.x. > Is there any dificulties compiling ports? Yes, depending on the port. Kris pgpFRlLhBBdZf.pgp Descriptio

Intel C Compiler

2004-07-08 Thread B.Bonev
How can I use Intel C Compiler as default compiler? Is there any dificulties compiling ports? Thanks to all FreeBSD Supporters ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any

Re: c compiler

2004-05-20 Thread Lowell Gilbert
Jon <[EMAIL PROTECTED]> writes: > I'm looking for some quick help with the 5.2.1 C compiler. In FBSD 4.x > I could write multi-line printf() statements with embedded new-lines > such as: > > printf(" > hello, >

c compiler

2004-05-20 Thread Incoming Mail List
I'm looking for some quick help with the 5.2.1 C compiler. In FBSD 4.x I could write multi-line printf() statements with embedded new-lines such as: printf(" hello, this is a test");