Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.atari.st > #1374

Re: GNU/GCC optimizing

From Francois LE COAT <lecoat@atari.org>
Newsgroups comp.sys.atari.st
Subject Re: GNU/GCC optimizing
Date 2015-10-10 13:07 +0200
Organization Aioe.org NNTP Server
Message-ID <mvarh0$rdm$1@speranza.aioe.org> (permalink)
References (9 earlier) <4d5f5390-6f86-4118-ab94-b30efb4acadf@googlegroups.com> <mv6g9i$sb0$1@speranza.aioe.org> <7f93b2cb-6b67-4d0e-af56-f563998f3cf0@googlegroups.com> <mv8m95$ffq$1@speranza.aioe.org> <slrnn1hn99.438.news-1326478115@a-tuin.ms.intern>

Show all headers | View raw


Hi,

Michael Schwingen writes:
> Francois LE COAT wrote:
>> I'll add that GNU/GCC 3 is suitable to build ATARI ST softwares.
>> GNU/GCC 4 is not, because it is too restrictive with its syntax,
>> but furthermore it doesn't implement 16bits libraries required
>> for ATARI ST softwares.
>
> Those are not *required*. Operating system calls do not need a special "int"
> size from the compiler - they should use uint16_t/uint32_t in the C library
> syscall implementation, which works just fine with any gcc version, and most
> OS calls I remember actually use 32-bit ints, not 16 bit. After all, the 68k
> CPU is (by architecture) a 32-bit machine.
>
> Good, *portable* C code should work as well when compiled with 32-bit ints,
> although it may run a bit slower and use more memory - how that is offset by
> the better optimizations of the new compiler would need to be checked in
> every case.
>
>> Thanks for your answers. The OS maintainers are making very strange
>> decisions breaking the backward compatibility with the ATARI ST !
>
> Which OS maintainers? The last OS version that was maintained was TOS 4.08.
>
> You are talking about one gcc package - you are free to take the source code
> and compile your own version with 16-bit integer support.  You are also free
> to take the 16 bit libraries and adapt them to compile with gcc4 (or better
> gcc5) - it can be done, I use gcc4 on 16-bit targets (avr) regularly.
>
> If noone stepped up and did just that until now, it does not mean it is
> impossible or someone decreed that 16-bit support should be dropped - just
> that noone wanted it enough to invest their own time.

Sorry, but we're not speaking of contemporary developments, but choices
of implementation done 30 years ago, when GNU foundation was just
created, and when there was no internet network. It's very easy to make
good choices of implementation (usage of integer type etc.) for
actual developers, taking into account about errors of the past
programmers. But if today's programmers are correctly developing in
C language, that's because developers like me made errors in the past.
The problem is that programs like Eureka 2.12 are now obsolete. It
represents a large part of softwares developed on ATARI ST hardware.

You would have been very clever if you had given me those advices
30 years ago. For the time being, there's nothing else I can do,
except being very sad my C sources are not supported anymore, alas.

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 | NextPrevious in thread | Find similar


Thread

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