Re: old gcc #pragma handling

2019-01-30 Thread Wayne S via cctalk
Fyi
There is a gcc atari.readme in that directory

Sent from my iPhone

> On Jan 30, 2019, at 13:00, Christian Groessler via cctalk 
>  wrote:
> 
>> On 1/30/19 7:19 PM, Carlos E Murillo-Sanchez via cctalk wrote:
>> Peter Corlett via cctalk wrote:
 On Tue, Jan 29, 2019 at 11:53:59PM +0100, Christian Groessler via cctalk 
 wrote:
 [...]
 But I cannot find gcc 1.34. ftp.gnu.org has gcc-1.30.atari (where the
 sequence doesn't exist), and gcc-1.35 (where it's "#if 0"ed).
 Does anyone know where to find the source code of gcc 1.34?
>>> The canonical place would be http://ftp.gnu.org/old-gnu/gcc/, which is
>>> presumably where you found those versions. It seems that earlier versions 
>>> were
>>> distributed as diffs to be progressively applied, and those may be found in
>>> http://ftp.gnu.org/old-gnu/gcc/Version1.diffs/. You should be able to
>>> reverse-apply ("patch -R") the patches to get back from 1.35.
>>> 
>>> Eyeballing the patch from 1.34 to 1.35, it seems that this had already been
>>> ifdeffed out in an earlier release.
>> Perhaps this could be helpful:
>> 
>> http://www.netgull.com/gcc/old-releases/gcc-1/
> 
> Great! Thanks! There's a gcc-0.9 version there which has this interesting 
> pragma handling enabled.
> 
> Now I need to get the thing compiled. If the file dates are correct, it's 
> from Mar 1987.
> 
> regards,
> chris
> 


Re: old gcc #pragma handling

2019-01-30 Thread Christian Groessler via cctalk

On 1/30/19 7:19 PM, Carlos E Murillo-Sanchez via cctalk wrote:

Peter Corlett via cctalk wrote:
On Tue, Jan 29, 2019 at 11:53:59PM +0100, Christian Groessler via 
cctalk wrote:

[...]

But I cannot find gcc 1.34. ftp.gnu.org has gcc-1.30.atari (where the
sequence doesn't exist), and gcc-1.35 (where it's "#if 0"ed).
Does anyone know where to find the source code of gcc 1.34?

The canonical place would be http://ftp.gnu.org/old-gnu/gcc/, which is
presumably where you found those versions. It seems that earlier 
versions were
distributed as diffs to be progressively applied, and those may be 
found in

http://ftp.gnu.org/old-gnu/gcc/Version1.diffs/. You should be able to
reverse-apply ("patch -R") the patches to get back from 1.35.

Eyeballing the patch from 1.34 to 1.35, it seems that this had 
already been

ifdeffed out in an earlier release.


Perhaps this could be helpful:

http://www.netgull.com/gcc/old-releases/gcc-1/



Great! Thanks! There's a gcc-0.9 version there which has this 
interesting pragma handling enabled.


Now I need to get the thing compiled. If the file dates are correct, 
it's from Mar 1987.


regards,
chris



Re: old gcc #pragma handling

2019-01-30 Thread Christian Groessler via cctalk

On 1/30/19 3:21 PM, Peter Corlett via cctalk wrote:

On Tue, Jan 29, 2019 at 11:53:59PM +0100, Christian Groessler via cctalk wrote:
[...]

But I cannot find gcc 1.34. ftp.gnu.org has gcc-1.30.atari (where the
sequence doesn't exist), and gcc-1.35 (where it's "#if 0"ed).
Does anyone know where to find the source code of gcc 1.34?

The canonical place would be http://ftp.gnu.org/old-gnu/gcc/, which is
presumably where you found those versions. It seems that earlier versions were
distributed as diffs to be progressively applied, and those may be found in
http://ftp.gnu.org/old-gnu/gcc/Version1.diffs/. You should be able to
reverse-apply ("patch -R") the patches to get back from 1.35.



Thanks. I didn't notice the Version1.diffs directory.

With the diffs I've patched 1.34 back to 1.23, but there the part is 
still "#if 0"ed.


regards,
chris



Re: old gcc #pragma handling

2019-01-30 Thread Carlos E Murillo-Sanchez via cctalk

Peter Corlett via cctalk wrote:

On Tue, Jan 29, 2019 at 11:53:59PM +0100, Christian Groessler via cctalk wrote:
[...]

But I cannot find gcc 1.34. ftp.gnu.org has gcc-1.30.atari (where the
sequence doesn't exist), and gcc-1.35 (where it's "#if 0"ed).
Does anyone know where to find the source code of gcc 1.34?

The canonical place would be http://ftp.gnu.org/old-gnu/gcc/, which is
presumably where you found those versions. It seems that earlier versions were
distributed as diffs to be progressively applied, and those may be found in
http://ftp.gnu.org/old-gnu/gcc/Version1.diffs/. You should be able to
reverse-apply ("patch -R") the patches to get back from 1.35.

Eyeballing the patch from 1.34 to 1.35, it seems that this had already been
ifdeffed out in an earlier release.


Perhaps this could be helpful:

http://www.netgull.com/gcc/old-releases/gcc-1/

carlos.



Re: old gcc #pragma handling

2019-01-30 Thread Peter Corlett via cctalk
On Tue, Jan 29, 2019 at 11:53:59PM +0100, Christian Groessler via cctalk wrote:
[...]
> But I cannot find gcc 1.34. ftp.gnu.org has gcc-1.30.atari (where the
> sequence doesn't exist), and gcc-1.35 (where it's "#if 0"ed).
> Does anyone know where to find the source code of gcc 1.34?

The canonical place would be http://ftp.gnu.org/old-gnu/gcc/, which is
presumably where you found those versions. It seems that earlier versions were
distributed as diffs to be progressively applied, and those may be found in
http://ftp.gnu.org/old-gnu/gcc/Version1.diffs/. You should be able to
reverse-apply ("patch -R") the patches to get back from 1.35.

Eyeballing the patch from 1.34 to 1.35, it seems that this had already been
ifdeffed out in an earlier release.



gcc-1.34 source?, was Re: old gcc #pragma handling

2019-01-29 Thread Steven M Jones via cctalk

On 01/29/2019 14:53, Christian Groessler via cctalk wrote:


But I cannot find gcc 1.34. ftp.gnu.org has gcc-1.30.atari (where the 
sequence doesn't exist), and gcc-1.35 (where it's "#if 0"ed).


Does anyone know where to find the source code of gcc 1.34?



I'm not positive that this is "pure" gcc 1.34, and not altered for this 
"Cross compiling environment to DJGPP v1" project on SourceForge, but 
it's the only source I could find:


https://sourceforge.net/projects/crossdjgppv1/files/GNU%20Source/gcc-1.34.tar.bz2/download


Contents of the README in the tarball:

This directory contains the version 1.34 test release of the GNU C compiler.
All bugs reported for previous test releases have been fixed.
Some bugs surely remain.

See the file gcc.texinfo for installation and porting information.
The file INSTALL contains a copy of the installation information.

The GNU C compiler is free software.  See the file COPYING for copying
permission.



Good luck,
--S.



Re: old gcc #pragma handling

2019-01-29 Thread Peter Coghlan via cctalk
> Hi,
> 
> I knew that since ~20 yrs, but I didn't know the affected gcc 
> version(s). According to http://toni.technetium.be/hacker/pragma.htm 
> this "special" pragma handling should be in gcc 1.34.
> 
> But I cannot find gcc 1.34. ftp.gnu.org has gcc-1.30.atari (where the 
> sequence doesn't exist), and gcc-1.35 (where it's "#if 0"ed).
> 
> Does anyone know where to find the source code of gcc 1.34?
> 

As far as I can see, the "special" pragma handling is in gcc 0.90 (in cccp.c)
and is enclosed by #if 0 / #endif by gcc 1.21 or earlier.

(This is probably the closest I've ever been to gcc v.anything so I may be
barking up the wrong tree entirely.  Maybe there was one of those version
number reorganisations?)

Regards,
Peter Coghlan.


old gcc #pragma handling

2019-01-29 Thread Christian Groessler via cctalk

Hi,

I knew that since ~20 yrs, but I didn't know the affected gcc 
version(s). According to http://toni.technetium.be/hacker/pragma.htm 
this "special" pragma handling should be in gcc 1.34.


But I cannot find gcc 1.34. ftp.gnu.org has gcc-1.30.atari (where the 
sequence doesn't exist), and gcc-1.35 (where it's "#if 0"ed).


Does anyone know where to find the source code of gcc 1.34?

regards,
chris