linus早期在新闻组上的Posts(02)第一次发贴询问Gcc-1.40 and a posix-question的情况
来源:互联网 发布:软件项目分析 编辑:程序博客网 时间:2024/05/21 10:26
Gcc-1.40 and a posix-question
1. Linus Benedict Torvalds (3 users) Jul 3 1991, 9:05 pm
Newsgroups: comp.os.minix
From: torva...@klaava.Helsinki.FI (Linus Benedict Torvalds)
Date: 3 Jul 9110:00:50 GMT
Local: Wed, Jul 3 19916:00 pm
Subject: Gcc-1.40 and a posix-question
Hello netlanders,
Due to a project I'm working on (in minix), I'm interested in the posix
standard definition. Could somebody please point me to a (preferably)
machine-readable format of the latest posix rules? Ftp-sites would be
nice.
standard definition. Could somebody please point me to a (preferably)
machine-readable format of the latest posix rules? Ftp-sites would be
nice.
As an aside for all using gcc on minix - the new version (1.40) has been
out for some weeks, and I decided to test what needed to be done to get
it working on minix (1.37.1, which is the version you can get from
plains is nice, but 1.40 is better :-). To my surpice, the answer
turned out to be - NOTHING! Gcc-1.40 compiles as-is on minix386 (with
old gcc-1.37.1), with no need to change source files (I changed the
Makefile and some paths, but that's it!). As default this results in a
compiler that uses floating point insns, but if you'd rather not,
changing 'toplev.c' to define DEFAULT_TARGET from 1 to 0 (this is from
memory - I'm not at my minix-box) will handle that too. Don't make the
libs, use the old gnulib&libc.a. I have successfully compiled 1.40 with
itself, and everything works fine (I got the newest versions of gas and
binutils at the same time, as I've heard of bugs with older versions of
ld.c). Makefile needs some chmem's (and gcc2minix if you're still using
it).
out for some weeks, and I decided to test what needed to be done to get
it working on minix (1.37.1, which is the version you can get from
plains is nice, but 1.40 is better :-). To my surpice, the answer
turned out to be - NOTHING! Gcc-1.40 compiles as-is on minix386 (with
old gcc-1.37.1), with no need to change source files (I changed the
Makefile and some paths, but that's it!). As default this results in a
compiler that uses floating point insns, but if you'd rather not,
changing 'toplev.c' to define DEFAULT_TARGET from 1 to 0 (this is from
memory - I'm not at my minix-box) will handle that too. Don't make the
libs, use the old gnulib&libc.a. I have successfully compiled 1.40 with
itself, and everything works fine (I got the newest versions of gas and
binutils at the same time, as I've heard of bugs with older versions of
ld.c). Makefile needs some chmem's (and gcc2minix if you're still using
it).
Linus Torvalds torva...@kruuna.helsinki.fi
PS. Could someone please try to finger me from overseas, as I've
installed a "changing .plan" (made by your's truly), and I'm not certain
it works from outside? It should report a new .plan every time.
installed a "changing .plan" (made by your's truly), and I'm not certain
it works from outside? It should report a new .plan every time.
2. SILVER50%snypotva.bitnet Jul 4 1991, 8:26 pm
Newsgroups: comp.os.minix
From: SILVER50%snypotva.bit...@cunyvm.cuny.edu
Date: 4 Jul 9110:23:44 GMT
Local: Thurs, Jul 4 19916:23 pm
Subject: Re: Gcc-1.40 and a posix-question
Where can I get the new version from? Is it necessary that I get the old
version first? Is gcc a c++ compiler? Thanks a lot - Micah Silverman!
version first? Is gcc a c++ compiler? Thanks a lot - Micah Silverman!
3. Linus Benedict Torvalds Jul 4 1991, 10:27 pm
Newsgroups: comp.os.minix
From: torva...@klaava.Helsinki.FI (Linus Benedict Torvalds)
Date: 4 Jul 9113:04:56 GMT
Local: Thurs, Jul 4 19919:04 pm
Subject: Re: Gcc-1.40 and a posix-question
In article <5...@nigel.ee.udel.edu> SILVER50%snypotva.bit...@cunyvm.cuny.edu writes:
>Where can I get the new version from? Is it necessary that I get the old
>version first? Is gcc a c++ compiler? Thanks a lot - Micah Silverman!
>Where can I get the new version from? Is it necessary that I get the old
>version first? Is gcc a c++ compiler? Thanks a lot - Micah Silverman!
Uhhuh. Maybe I wasn't too clear about gcc-1.40. You DO need 1.37.1 (or
whatever awb & company ported (available at plains)). They did all the
hard work necessary to get started on gcc (ie libraries, include-files
etc). UPDATING is easy, but you do need gcc to compile gcc (without
undue problems that is. Thanks awb et.c.)
whatever awb & company ported (available at plains)). They did all the
hard work necessary to get started on gcc (ie libraries, include-files
etc). UPDATING is easy, but you do need gcc to compile gcc (without
undue problems that is. Thanks awb et.c.)
If you do want to upgrade (I know - I like to have the newest version,
but it isn't really that necessary :-), you can find gcc-1.40 at least
on nic.funet.fi. People in the states (and other far-away places) might
want to check other sources. (And no, I haven't tried g++, which IS a
c++ compiler, maybe somebody else could tell us if it's easy/possible).
but it isn't really that necessary :-), you can find gcc-1.40 at least
on nic.funet.fi. People in the states (and other far-away places) might
want to check other sources. (And no, I haven't tried g++, which IS a
c++ compiler, maybe somebody else could tell us if it's easy/possible).
Linus (torva...@kruuna.helsinki.fi)
PS. Gcc-2.0 should be out sometime "soon" (don't know what that means),
so if you can wait for that, maybe you should.
so if you can wait for that, maybe you should.
4. cad dir user Jul 5 1991, 1:16 am
Newsgroups: comp.os.minix
From: c...@csun5.uta.edu (cad dir user)
Date: 4 Jul 9116:09:42 GMT
Local: Fri, Jul 5 199112:09 am
Subject: Re: Gcc-1.40 and a posix-question
You can get the gcc and g++ officially from ( ftp ) prep.ai.mit.edu.
If you already had the previous version , you can only ftp the diff's file.
Otherwise, get the whole things. about 3megs for gcc, and 1.3megs for g++.
Gcc and G++ are two different things , but they works together.
If you already had the previous version , you can only ftp the diff's file.
Otherwise, get the whole things. about 3megs for gcc, and 1.3megs for g++.
Gcc and G++ are two different things , but they works together.
ps: the exact directory : /pub/gnu
-botaque
-botaque
5. Peter Lautenschlaeger Jul 5 1991, 4:43 pm
Newsgroups: comp.os.minix
From: D98E%DDATHD21.BIT...@cunyvm.cuny.edu (Peter Lautenschlaeger)
Date: 5 Jul 9108:06:04 GMT
Local: Fri, Jul 5 19914:06 pm
Subject: Re: Gcc-1.40 and a posix-question
> Where can I get the new version from?
you can get the version from prep.ai.mit.edu /pub/gnu
> Is it necessary that I get the old version first?
you should have the 1.37 minix version to bootstrap the new version
> Is gcc a c++ compiler?
As far as I know it isn't. It's a ANSI C compiler which understands
PROFILES and so on. g++ is the c++ compiler, but you need gcc to run
g++.
PROFILES and so on. g++ is the c++ compiler, but you need gcc to run
g++.
Hope that will help you.
Peter
6. Jyrki Kuoppala Jul 5 1991, 8:03 pm
Newsgroups: comp.os.minix
From: j...@cs.HUT.FI (Jyrki Kuoppala)
Date: 5 Jul 9111:07:24 GMT
Local: Fri, Jul 5 19917:07 pm
Subject: Re: Gcc-1.40 and a posix-question
In article <1991Jul4.130456.2...@klaava.Helsinki.FI>, torvalds@klaava (Linus Benedict Torvalds) writes:
>on nic.funet.fi. People in the states (and other far-away places) might
>want to check other sources.
>want to check other sources.
Prep.ai.mit.edu is the official distribution host. It probably also
has diffs from 1.37 to 1.38, 1.38 to 1.39 and 1.39 to 1.40.
has diffs from 1.37 to 1.38, 1.38 to 1.39 and 1.39 to 1.40.
>(And no, I haven't tried g++, which IS a
>c++ compiler, maybe somebody else could tell us if it's easy/possible).
>c++ compiler, maybe somebody else could tell us if it's easy/possible).
I have g++ 1.39 running on pc532 minix 1.5h. My port is with estdio,
and you'll need gas and GNU binutils. The diffs are at nic.funet.fi,
pub/misc/pc532/jkp-backups/1.5/diffs (I think, well they're somewhere
around there with lots of other diffs like groff, emacs, gawk, bash
etc. to get GNU programs working on pc532 minix 1.5h).
and you'll need gas and GNU binutils. The diffs are at nic.funet.fi,
pub/misc/pc532/jkp-backups/1.5/diffs (I think, well they're somewhere
around there with lots of other diffs like groff, emacs, gawk, bash
etc. to get GNU programs working on pc532 minix 1.5h).
Please don't ask me if the diffs work for your Minix running on a C64
or a Z80 or a Cray or any other Minix version you might have other
than the pc532 - I have no knowledge about them, you'll have to try it
yourself.
or a Z80 or a Cray or any other Minix version you might have other
than the pc532 - I have no knowledge about them, you'll have to try it
yourself.
//Jyrki
- linus早期在新闻组上的Posts(02)第一次发贴询问Gcc-1.40 and a posix-question的情况
- linus早期在新闻组上的Posts(03) 发贴答复关于gcc 1.40 for Minix-386的问题
- linus早期在新闻组上的Posts(01)前言
- linus早期在新闻组上的Posts(04) 著名的询问What would you like to see most in minix?及回复
- 我在google上的几个技术新闻组
- 我常上的几个新闻组服务器
- 部署redis在linus上的几个注意事项
- 第一次发的哦
- 第一次在CSDN上发Blog
- 我的blog,第一次发贴!
- 开发者的新闻组
- 新闻组的命名规则
- 数组上的询问【前缀和】
- 在csdn上发的帖子,感慨!
- 有人在酷壳的留言版上询问下面的问题
- 第一次在CSDN的Blog上~
- 第一次在自己的Blog上闲逛...
- PyCharm在MAC上的第一次使用
- 在javascript中去掉前后空格的函数
- 正则表达式笔记(二)
- 最近比较烦
- Linux下C开发工具介绍
- 体验时代的基本法则
- linus早期在新闻组上的Posts(02)第一次发贴询问Gcc-1.40 and a posix-question的情况
- 构建小型的入侵检测系统(FreeBSD)
- 领域]在实践中展望。。。(写给DDD注释版)
- 网站投资你和我的20个自身检查
- 把编码作为艺术品来创作
- 分页控件下载地址
- Linux网卡接口没有eth0,却有eth1的问题
- Error Message: HTTP 403.9 - Access Forbidden: Too many users are connected
- 笔试面试题整理,慢慢搜集....持续更新