Re: Can you give me gcc-2.91.66 please?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, Jeff Law.

In my environment, neither egcs-1.1.2 nor gcc-2.95.2 can be compiled successfully . There are some errors in the code, for example:
decl.c: In function 'start_struct':
decl.c:4448:1: error: argument 'code' doesn't match prototype
 start_struct (code, name)
 ^
In file included from decl.c:187:0:
ch-tree.h:736:13: error: prototype declaration
 extern tree start_struct                        PROTO((enum tree_code, tree));
             ^

Can you teach me how to resolve this problem? The blow is my environment information:
[test@ubuntu:gcc-2.95.2]$ uname -a
Linux ubuntu 4.4.0-78-generic #99~14.04.2-Ubuntu SMP Thu Apr 27 18:51:25 UTC 2017 i686 i686 i686 GNU/Linux
[test@ubuntu:gcc-2.95.2]$ gcc -v
gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3)



> On Sep 25, 2018, at 3:54 AM, nosay <chenwen1228@xxxxxxx> wrote:
> 
> Thank you very much!
> 
>> On Sep 25, 2018, at 3:41 AM, Jeff Law <law@xxxxxxxxxx> wrote:
>> 
>> On 9/24/18 1:13 PM, nosay wrote:
>>> I want to compile linux-2.4.0 kernel source. The README writes:
>>> COMPILING the kernel:
>>> - Make sure you have gcc-2.91.66 (egcs-1.1.2) available.  gcc 2.95.2 may
>>>  also work but is not as safe, and *gcc 2.7.2.3 is no longer supported*.
>>>  Also remember to upgrade your binutils package (for as/ld/nm and company)
>>>  if necessary. For more information, refer to ./Documentation/Changes.
>>> 
>>> But I can’t find gcc-2.91.66 in https://gcc.gnu.org/releases.html. And it says “gcc-2.95.2 is no longer maintained” in https://gcc.gnu.org/gcc-2.95/. So can you tell me how to get gcc-2.91.66 or gcc-2.95.2? thank you very much!
>>> 
>>> 
>>> 
>> It's been a long time.  I would see if any of the egcs releases
>> correspond to what you need.  They're available via anonymous ftp from
>> gcc.gnu.org/pub/gcc/old-releases/egcs
>> 
>> gcc-2.95 would be found in
>> 
>> gcc.gnu.org/pub/gcc/gcc-2
>> 
> 





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux