Thread: RE: [Dev-C++] new dev-cpp bombs out on short program
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Mark S. <mar...@li...> - 2003-07-07 13:51:29
|
Make sure that the file extension is .c in lower case NOT UPPER CASE .C else it takes it as being a c++ file (UNIX convention). regards Mark --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.495 / Virus Database: 294 - Release Date: 30/06/2003 The information contained in this e-mail message (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s). If you are not an addressee, any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited. If you have received this communication in error, please contact us immediately so that we can correct the error. |
|
From: R. D. F. <ro...@ch...> - 2003-07-08 13:56:03
|
1. I DON'T WANT, right now, to have this program be a C++ program. It has nothing that needs that. It. Is. In. C. 2. To run a C program not much more complicated than a "hello world", I or anyone new to dev-c++ should not need to link in some library from space. 3. MAINLY, a couple of days and a few notes back, some kind and intelligent person gave me the CORRECT ANSWER. Coming from a Dos non-case-sensitive c-and-asm-only Turbo-C on an XT, the extension was .C, not .c, and dev-c++ took that to mean it was C++. Damien . wrote: > > Yea, you could have, or simply use Per's suggestion, and add -lstdc++ to > the commands for the linker arguments. The ___gxx_personality_v0 > problem seems to rear its head in code compiled as c and not c++. I > think you would know how to edit your makefile to compile the program as > C++, or call g++. or u can always rename the file with .cpp extension. > Hope that helps with any future probs you may have. > > ----Original Message Follows---- > From: "R. D. Flowers" > To: "Damien ." > Subject: Re: [Dev-C++] new dev-cpp bombs out on short program > Date: Mon, 07 Jul 2003 13:01:31 -0400 > It is just a simple C program, not C++. I just told it a C console > program -- I forget what it ran under the hood, but are you telling me I > should have told it C++ ? > Damien . wrote: > >Compile he project with g++ instead of gcc. > > > >----Original Message Follows---- > >From: "R. D. Flowers" > >To: dev...@li... > >Subject: [Dev-C++] new dev-cpp bombs out on short program > >Date: Sun, 06 Jul 2003 21:33:29 -0400 > >I just downloaded the recent beta of dev-cpp. I am on W98se. > >The linker says that .eh_frame+0x11 in my object file wants > >something called ___gxx_personality_v0 . > >My program is a short and simple hex dump console program in C . > >Can someone give me a hint? > >-- > >The Bear At Home > >R. D. Flowers > >------------------------------------------------------- > >This SF.Net email sponsored by: Free pre-built ASP.NET sites > >including > >Data Reports, E-commerce, Portals, and Forums are available now. > >Download today and enter to win an XBOX or Visual Studio .NET. > >http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > >_______________________________________________ > >Dev-cpp-users mailing list > >Dev...@li... > >TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > >------------------------------------------------------------------------ > >The new MSN 8: smart spam > >protection and 2 months FREE* > > ------------------------------------------------------------------------ > Tired of spam? Get advanced junk mail protection > <http://g.msn.com/8HMEEN/2734??PS=> with MSN 8. -- The Bear At Home R. D. Flowers, O. H. (of Heresy) "If you can keep your head when all about you are losing theirs and blaming it on you ..." For the Heretical Bene Gesserit at http://HBeneG.com . No sex till 7.19.03 (due to custody fight); (custodial) Dad of 5.7.99 Bea. PAGAN HUMANIST WITCH of Maat and Eve Gaia. Old good-shape fart. See POMES at http://chalice.us/poe/ ! & FILK --> http://fishsingers.org . Likes Http://uua.org/CLF & http://cuups.org. Het nonphobe notmostlypoly; wood flute; full time, underpaid ($7/hr) 1-person office. Presently in Chattanooga. PHOTOS: http://pho.fixthe.us . Geek of http://chattanoogansforpeace.org & http://chattanoogapagans.org ; Techie news feeds at http://10bea.freezope.org . See also http://TNHamilton.com , http://byareas.us , http://chatta.us . I do html by hand, and real programming. Looking for writer, weaver, and geek partners. Values Linux, Python, and personal technical means. PROUDLY hosted at http://drak.net ; uses Mozilla 1.4rc3 suite from http://mozilla.org . ***** DONATE TO ME AT HTTP://CHALICE.US , and link to a cheap, elegant, powerful registrar at https://secure.magi.net/dotyou/members.php?aid=612 ! ***** http://stopcarnivore.org !!!! *** Justice, Judgment, Privacy, Truth, Earth *** |
|
From: Per W. <pw...@ia...> - 2003-07-08 14:46:21
|
For someone asking for help on this mailing list you sound a bit angry here. Exactly what are we expected to do? /Per W On Tue, 8 Jul 2003, R. D. Flowers wrote: > 1. I DON'T WANT, right now, to have this program be a C++ program. It > has nothing that needs that. It. Is. In. C. > > 2. To run a C program not much more complicated than a "hello world", I > or anyone new to dev-c++ should not need to link in some library from space. > > 3. MAINLY, a couple of days and a few notes back, some kind and > intelligent person gave me the CORRECT ANSWER. Coming from a Dos > non-case-sensitive c-and-asm-only Turbo-C on an XT, the extension was > .C, not .c, and dev-c++ took that to mean it was C++. > > Damien . wrote: > > > > Yea, you could have, or simply use Per's suggestion, and add -lstdc++ to > > the commands for the linker arguments. The ___gxx_personality_v0 > > problem seems to rear its head in code compiled as c and not c++. I > > think you would know how to edit your makefile to compile the program as > > C++, or call g++. or u can always rename the file with .cpp extension. > > Hope that helps with any future probs you may have. > > > > ----Original Message Follows---- > > From: "R. D. Flowers" > > To: "Damien ." > > Subject: Re: [Dev-C++] new dev-cpp bombs out on short program > > Date: Mon, 07 Jul 2003 13:01:31 -0400 > > It is just a simple C program, not C++. I just told it a C console > > program -- I forget what it ran under the hood, but are you telling me I > > should have told it C++ ? > > Damien . wrote: > > >Compile he project with g++ instead of gcc. > > > > > >----Original Message Follows---- > > >From: "R. D. Flowers" > > >To: dev...@li... > > >Subject: [Dev-C++] new dev-cpp bombs out on short program > > >Date: Sun, 06 Jul 2003 21:33:29 -0400 > > >I just downloaded the recent beta of dev-cpp. I am on W98se. > > >The linker says that .eh_frame+0x11 in my object file wants > > >something called ___gxx_personality_v0 . > > >My program is a short and simple hex dump console program in C . > > >Can someone give me a hint? > > >-- > > >The Bear At Home > > >R. D. Flowers > > >------------------------------------------------------- > > >This SF.Net email sponsored by: Free pre-built ASP.NET sites > > >including > > >Data Reports, E-commerce, Portals, and Forums are available now. > > >Download today and enter to win an XBOX or Visual Studio .NET. > > >http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > > >_______________________________________________ > > >Dev-cpp-users mailing list > > >Dev...@li... > > >TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > > >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > > >------------------------------------------------------------------------ > > >The new MSN 8: smart spam > > >protection and 2 months FREE* > > > > ------------------------------------------------------------------------ > > Tired of spam? Get advanced junk mail protection > > <http://g.msn.com/8HMEEN/2734??PS=> with MSN 8. > > -- > The Bear At Home > R. D. Flowers, O. H. (of Heresy) > > "If you can keep your head when all about you are losing theirs and > blaming it on you ..." > > For the Heretical Bene Gesserit at http://HBeneG.com . No sex till > 7.19.03 (due to custody fight); (custodial) Dad of 5.7.99 Bea. PAGAN > HUMANIST WITCH of Maat and Eve Gaia. Old good-shape fart. See POMES at > http://chalice.us/poe/ ! & FILK --> http://fishsingers.org . Likes > Http://uua.org/CLF & http://cuups.org. Het nonphobe notmostlypoly; wood > flute; full time, underpaid ($7/hr) 1-person office. Presently in > Chattanooga. > PHOTOS: http://pho.fixthe.us . > > Geek of http://chattanoogansforpeace.org & http://chattanoogapagans.org > ; Techie news feeds at http://10bea.freezope.org . See also > http://TNHamilton.com , http://byareas.us , http://chatta.us . I do html > by hand, and real programming. Looking for writer, weaver, and geek > partners. Values Linux, Python, and personal technical means. PROUDLY > hosted at http://drak.net ; uses Mozilla 1.4rc3 suite from > http://mozilla.org . > ***** DONATE TO ME AT HTTP://CHALICE.US , and link to a cheap, elegant, > powerful registrar at https://secure.magi.net/dotyou/members.php?aid=612 > ! ***** > http://stopcarnivore.org !!!! > *** Justice, Judgment, Privacy, Truth, Earth *** > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: R. D. F. <ro...@ch...> - 2003-07-08 16:02:48
|
My apology. I didn't mean to sound angry, just make things clear. I was emphasizing, because somehow what I said before was clear enough. Per Westermark wrote: > For someone asking for help on this mailing list you sound a bit angry > here. Exactly what are we expected to do? > > /Per W > > > On Tue, 8 Jul 2003, R. D. Flowers wrote: > > >>1. I DON'T WANT, right now, to have this program be a C++ program. It >>has nothing that needs that. It. Is. In. C. >> >>2. To run a C program not much more complicated than a "hello world", I >>or anyone new to dev-c++ should not need to link in some library from space. >> >>3. MAINLY, a couple of days and a few notes back, some kind and >>intelligent person gave me the CORRECT ANSWER. Coming from a Dos >>non-case-sensitive c-and-asm-only Turbo-C on an XT, the extension was >>.C, not .c, and dev-c++ took that to mean it was C++. >> >>Damien . wrote: >> >>>Yea, you could have, or simply use Per's suggestion, and add -lstdc++ to >>>the commands for the linker arguments. The ___gxx_personality_v0 >>>problem seems to rear its head in code compiled as c and not c++. I >>>think you would know how to edit your makefile to compile the program as >>>C++, or call g++. or u can always rename the file with .cpp extension. >>>Hope that helps with any future probs you may have. >>> >>>----Original Message Follows---- >>>From: "R. D. Flowers" >>>To: "Damien ." >>>Subject: Re: [Dev-C++] new dev-cpp bombs out on short program >>>Date: Mon, 07 Jul 2003 13:01:31 -0400 >>>It is just a simple C program, not C++. I just told it a C console >>>program -- I forget what it ran under the hood, but are you telling me I >>>should have told it C++ ? >>>Damien . wrote: >>> >Compile he project with g++ instead of gcc. >>> > >>> >----Original Message Follows---- >>> >From: "R. D. Flowers" >>> >To: dev...@li... >>> >Subject: [Dev-C++] new dev-cpp bombs out on short program >>> >Date: Sun, 06 Jul 2003 21:33:29 -0400 >>> >I just downloaded the recent beta of dev-cpp. I am on W98se. >>> >The linker says that .eh_frame+0x11 in my object file wants >>> >something called ___gxx_personality_v0 . >>> >My program is a short and simple hex dump console program in C . >>> >Can someone give me a hint? >>> >-- >>> >The Bear At Home >>> >R. D. Flowers >>> >------------------------------------------------------- >>> >This SF.Net email sponsored by: Free pre-built ASP.NET sites >>> >including >>> >Data Reports, E-commerce, Portals, and Forums are available now. >>> >Download today and enter to win an XBOX or Visual Studio .NET. >>> >http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 >>> >_______________________________________________ >>> >Dev-cpp-users mailing list >>> >Dev...@li... >>> >TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm >>> >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users >>> > >>> >------------------------------------------------------------------------ >>> >The new MSN 8: smart spam >>> >protection and 2 months FREE* >>> >>>------------------------------------------------------------------------ >>>Tired of spam? Get advanced junk mail protection >>><http://g.msn.com/8HMEEN/2734??PS=> with MSN 8. >> >>-- >>The Bear At Home >>R. D. Flowers, O. H. (of Heresy) >> >>"If you can keep your head when all about you are losing theirs and >>blaming it on you ..." >> >>For the Heretical Bene Gesserit at http://HBeneG.com . No sex till >>7.19.03 (due to custody fight); (custodial) Dad of 5.7.99 Bea. PAGAN >>HUMANIST WITCH of Maat and Eve Gaia. Old good-shape fart. See POMES at >>http://chalice.us/poe/ ! & FILK --> http://fishsingers.org . Likes >>Http://uua.org/CLF & http://cuups.org. Het nonphobe notmostlypoly; wood >>flute; full time, underpaid ($7/hr) 1-person office. Presently in >>Chattanooga. >>PHOTOS: http://pho.fixthe.us . >> >>Geek of http://chattanoogansforpeace.org & http://chattanoogapagans.org >>; Techie news feeds at http://10bea.freezope.org . See also >>http://TNHamilton.com , http://byareas.us , http://chatta.us . I do html >>by hand, and real programming. Looking for writer, weaver, and geek >>partners. Values Linux, Python, and personal technical means. PROUDLY >>hosted at http://drak.net ; uses Mozilla 1.4rc3 suite from >>http://mozilla.org . >>***** DONATE TO ME AT HTTP://CHALICE.US , and link to a cheap, elegant, >>powerful registrar at https://secure.magi.net/dotyou/members.php?aid=612 >>! ***** >> http://stopcarnivore.org !!!! >> *** Justice, Judgment, Privacy, Truth, Earth *** >> >> >> >> >>------------------------------------------------------- >>This SF.Net email sponsored by: Free pre-built ASP.NET sites including >>Data Reports, E-commerce, Portals, and Forums are available now. >>Download today and enter to win an XBOX or Visual Studio .NET. >>http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 >>_______________________________________________ >>Dev-cpp-users mailing list >>Dev...@li... >>TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm >>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users >> > > > > > -- The Bear At Home R. D. Flowers, O. H. (of Heresy) "If you can keep your head when all about you are losing theirs and blaming it on you ..." For the Heretical Bene Gesserit at http://HBeneG.com . No sex till 7.19.03 (due to custody fight); (custodial) Dad of 5.7.99 Bea. PAGAN HUMANIST WITCH of Maat and Eve Gaia. Old good-shape fart. See POMES at http://chalice.us/poe/ ! & FILK --> http://fishsingers.org . Likes Http://uua.org/CLF & http://cuups.org. Het nonphobe notmostlypoly; wood flute; full time, underpaid ($7/hr) 1-person office. Presently in Chattanooga. PHOTOS: http://pho.fixthe.us . Geek of http://chattanoogansforpeace.org & http://chattanoogapagans.org ; Techie news feeds at http://10bea.freezope.org . See also http://TNHamilton.com , http://byareas.us , http://chatta.us . I do html by hand, and real programming. Looking for writer, weaver, and geek partners. Values Linux, Python, and personal technical means. PROUDLY hosted at http://drak.net ; uses Mozilla 1.4rc3 suite from http://mozilla.org . ***** DONATE TO ME AT HTTP://CHALICE.US , and link to a cheap, elegant, powerful registrar at https://secure.magi.net/dotyou/members.php?aid=612 ! ***** http://stopcarnivore.org !!!! *** Justice, Judgment, Privacy, Truth, Earth *** |