Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.atari.st > #1368
| From | Francois LE COAT <lecoat@atari.org> |
|---|---|
| Newsgroups | comp.sys.atari.st |
| Subject | Re: GNU/GCC optimizing |
| Date | 2015-10-06 21:51 +0200 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <mv18o0$vlb$1@speranza.aioe.org> (permalink) |
| References | (5 earlier) <slrnn10l69.438.news-1326478115@a-tuin.ms.intern> <mur8pi$cne$1@speranza.aioe.org> <slrnn12rck.438.news-1326478115@a-tuin.ms.intern> <mus28q$d9r$1@speranza.aioe.org> <slrnn17u7k.438.news-1326478115@a-tuin.ms.intern> |
Hi, Michael Schwingen writes: > Francois LE COAT wrote: >> Well, the same recipe should at least give the same meal. > > Not if the recipy is unclear, like "take a spoonful of whatever red > ingredient you find in the fridge". > >> What should I think about GNU/GCC 4 compared to GNU/GCC 2 and 3, >> PURE C 1.1 and other compilers, building my C program Eureka 2.12, >> when the produced binary is such a messy meal ? > > That your source is a messy meal, when judged by the current C standards > that the compiler implements - for good reason (it gives much better > performance when compiling standard-compliant sources). And no, the compiler > is working as expected (by the standard) - it it giving you one kind of > correct result, just not the one you want. > > If you insist on keeping your source code as it is, you are limited to old, > badly-optimizing compilers that will by chance get the results you want. > > Otherwise, you need to take a look *where* the problems are (as I said, > compiling with full warnings enabled, understanding and removing them is a > good start, but deeper debugging may be required). The links I posted should > provide a good start to understand what constructs are to be avoided when > using modern compilers. I think the GNU/GCC 4 compiler is too restrictive. There's a lot of other C compilers on ATARI computers, I tested many of those, which are not so rigorous. If you want to eliminate all chance there's any misunderstanding with the previous generation of compilers, you can use the -pendantic option. I think GNU/GCC 4 is naturally "pedandic". The problem is that it eliminates a large amount of old C code, that becomes "obsolete". Obsolescence is the worse of catastrophes that severely impacts the informatics industries, because it gives better profits to the giants of this lucrative business. I'm surprised that GNU foundation is encouraging that kind of business. Thanks for your answer. Regards, -- François LE COAT Author of Eureka 2.12 (2D Graph Describer, 3D Modeller) http://eureka.atari.org/
Back to comp.sys.atari.st | Previous | Next — Previous in thread | Next in thread | Find similar
GNU/GCC optimizing Francois LE COAT <lecoat@atari.org> - 2015-09-30 23:45 +0200
Re: GNU/GCC optimizing Miro Kropáček <miro.kropacek@gmail.com> - 2015-09-30 23:18 -0700
Re: GNU/GCC optimizing Francois LE COAT <lecoat@atari.org> - 2015-10-01 21:41 +0200
Re: GNU/GCC optimizing Miro Kropáček <miro.kropacek@gmail.com> - 2015-10-01 23:12 -0700
Re: GNU/GCC optimizing Francois LE COAT <lecoat@atari.org> - 2015-10-03 16:07 +0200
Re: GNU/GCC optimizing Michael Schwingen <news-1326478115@discworld.dascon.de> - 2015-10-03 22:20 +0000
Re: GNU/GCC optimizing Francois LE COAT <lecoat@atari.org> - 2015-10-04 15:15 +0200
Re: GNU/GCC optimizing Michael Schwingen <news-1326478115@discworld.dascon.de> - 2015-10-04 18:19 +0000
Re: GNU/GCC optimizing Francois LE COAT <lecoat@atari.org> - 2015-10-04 22:30 +0200
Re: GNU/GCC optimizing Michael Schwingen <news-1326478115@discworld.dascon.de> - 2015-10-06 16:38 +0000
Re: GNU/GCC optimizing Francois LE COAT <lecoat@atari.org> - 2015-10-06 21:51 +0200
Re: GNU/GCC optimizing Michael Schwingen <news-1326478115@discworld.dascon.de> - 2015-10-07 06:55 +0000
Re: GNU/GCC optimizing David Wade <dave.g4ugm@gmail.com> - 2015-10-04 21:20 +0100
Re: GNU/GCC optimizing Francois LE COAT <lecoat@atari.org> - 2015-10-04 23:35 +0200
Re: GNU/GCC optimizing Miro Kropáček <miro.kropacek@gmail.com> - 2015-10-05 02:36 -0700
Re: GNU/GCC optimizing Francois LE COAT <lecoat@atari.org> - 2015-10-08 21:31 +0200
Re: GNU/GCC optimizing Miro Kropáček <miro.kropacek@gmail.com> - 2015-10-08 23:55 -0700
Re: GNU/GCC optimizing Francois LE COAT <lecoat@atari.org> - 2015-10-09 17:25 +0200
Re: GNU/GCC optimizing Michael Schwingen <news-1326478115@discworld.dascon.de> - 2015-10-10 09:40 +0000
Re: GNU/GCC optimizing Francois LE COAT <lecoat@atari.org> - 2015-10-10 13:07 +0200
csiph-web