linus早期在新闻组上的Posts(03) 发贴答复关于gcc 1.40 for Minix-386的问题
来源:互联网 发布:西方马克思主义 知乎 编辑:程序博客网 时间:2024/05/18 02:22
gcc 1.40 for Minix-386
1. Kai-Uwe Rommel Aug 20 1991, 1:10 pm
Newsgroups: comp.os.minix
From: rom...@Informatik.TU-Muenchen.DE (Kai-Uwe Rommel)
Date: 19 Aug 91 22:00:59 GMT
Local: Tues, Aug 20 1991 6:00 am
Subject: gcc 1.40 for Minix-386
Someone reported a while ago that compiling gcc 1.40 for Minix-386 would
be straightforward with the running gcc 1.37. I have tried this.
Compiling gcc was not that difficult. But I have a problem now.
cc1 cores on signal 6 when
a) a file with floating point is compiled
b) -O is used.
Does anyone have an idea why? cc1 was compiled with the 1.37 compiler
and gnulib so it should be able to handle floating point.
Well, I could stay with 1.37, but I want to compile g++ and compiling
gcc should be a first step for this.
Kai Uwe Rommel
/* Kai Uwe Rommel, Munich ----- rom...@informatik.tu-muenchen.de */
DOS ... is still a real mode only non-reentrant interrupt
handler, and always will be. -Russell Williams
2. Kai-Uwe Rommel Hide options Aug 20 1991, 1:10 pm
Newsgroups: comp.os.minix
From: rom...@Informatik.TU-Muenchen.DE (Kai-Uwe Rommel)
Date: 19 Aug 91 22:03:03 GMT
Local: Tues, Aug 20 1991 6:03 am
Subject: Re: gcc 1.40 for Minix-386
In article <1991Aug19.220059.27...@Informatik.TU-Muenchen.DE> rom...@Informatik.TU-Muenchen.DE (Kai-Uwe Rommel) writes:
>cc1 cores on signal 6 when
>a) a file with floating point is compiled
>b) -O is used.
If I was unclear: It cores with either a) or b), not only with both combined.
Kai Uwe Rommel
/* Kai Uwe Rommel, Munich ----- rom...@informatik.tu-muenchen.de */
DOS ... is still a real mode only non-reentrant interrupt
handler, and always will be. -Russell Williams
3. Linus Benedict Torvalds Hide options Aug 20 1991, 11:52 pm
Newsgroups: comp.os.minix
From: torva...@klaava.Helsinki.FI (Linus Benedict Torvalds)
Date: 20 Aug 91 12:17:35 GMT
Local: Tues, Aug 20 1991 8:17 pm
Subject: Re: gcc 1.40 for Minix-386
In article <1991Aug19.220059.27...@Informatik.TU-Muenchen.DE> rom...@Informatik.TU-Muenchen.DE (Kai-Uwe Rommel) writes:
>Someone reported a while ago that compiling gcc 1.40 for Minix-386 would
>be straightforward with the running gcc 1.37. I have tried this.
>Compiling gcc was not that difficult. But I have a problem now.
>cc1 cores on signal 6 when
>a) a file with floating point is compiled
>b) -O is used.
>Kai Uwe Rommel
Ok. I'm the one that reported porting was easy. Seems I didn't explain
enough :-).
This is what happens when you either have compiled cc1 without using
-msoft-float (the gcc from plains uses soft-float by default, but if you
compile cc1-1.40 with itself you must put a -msoft-float in the
makefile). The other possibility is that you aren't using the crt0.o
that was shipped with the original gcc-1.37.1 by black&tobin (?). It is
needed to get the signal handler started.
The thing to do is recompile cc1 from scratch while using -msoft-float,
or changing DEFAULT_TARGET to 0 in tm.h (and then recompiling cc1).
This should fix the problem.
Linus (torva...@kruuna.helsinki.fi)
- linus早期在新闻组上的Posts(03) 发贴答复关于gcc 1.40 for Minix-386的问题
- linus早期在新闻组上的Posts(02)第一次发贴询问Gcc-1.40 and a posix-question的情况
- linus早期在新闻组上的Posts(01)前言
- linus早期在新闻组上的Posts(04) 著名的询问What would you like to see most in minix?及回复
- 关于相机标定的问题答复网友
- 关于博客朋友问题的答复
- 关于相机标定的问题答复网友
- 我在google上的几个技术新闻组
- 答复你的问题
- 收到发的答复v發广东东莞
- 我常上的几个新闻组服务器
- 答复--关于buglist的写法
- 关于二维数组地址问题的一个答复
- 部署redis在linus上的几个注意事项
- 【揭秘】linus当年创立linux的过程--0x2,什么时候脱离的minix
- 关于php连接mysql在一段时间后没有正确答复或连接的主机没有反应,连接尝试的问题
- linus关于c++的言论
- Linus关于创新的观点
- 神州数码客户端alpha3版发布[神州数码认证客户端破解]
- MEPG,DAT转rmvb最好的工具 Easy RealMedia Producer应用要领
- Linux手机DIY.库文件专题.交叉编译的浮点问题
- 使用 xfire 快速发布 WebService
- TOMCAT完全攻略
- linus早期在新闻组上的Posts(03) 发贴答复关于gcc 1.40 for Minix-386的问题
- 2006网站设计风格总结分析
- 建立针对arm-linux的交叉编译环境
- 项目开发技巧(一):将Web应用打包成war文件的方法总结
- 近十年硬件品牌兴亡史,一个老IT人的自白
- 如何编写更佳的bug report
- 成长
- 目的
- 错误:UNIX 程序中的错误代码