龙芯开源社区

 找回密码
 注册新用户(newuser)
楼主: 胶林探索

FPC的移植总算有所进展了

  [复制链接]
发表于 2007-7-9 19:28:08 | 显示全部楼层
初始版本的编译器当然不适商用 但发展到一定程度就可以开发商用嘛

我就不信微软是用VC开发的VC
发表于 2007-7-9 23:03:24 | 显示全部楼层
原帖由 water 于 2007-6-9 03:00 PM 发表


呵呵  要不尽量把变量分配在寄存器中 不够时再写回内存 只是这样就要跟踪变量的使用 比较复杂

生成中间语言的话 优化能力有限啊 听说gcc从4.0开始采用了个什么技术 从源语言一级进行优化 虽然现在的实际 ...


那个从源语言一级开始优化的技术主要是为了程序向量化吧,为了适合super computer用的,对一般的计算机好像效果并不明显。
发表于 2007-7-10 13:07:40 | 显示全部楼层
我说这仅仅是个方向嘛  编译器重点逐渐由语法向语义过渡了
 楼主| 发表于 2007-7-10 22:24:22 | 显示全部楼层
原帖由 胶林探索 于 2007-7-9 01:30 PM 发表

系统库编译通过,64位运算还有问题。

64位运算问题解决了。

下一步计划:
1.做进一步的测试。
2.如果进一步的测试没问题就把源代码清理和整理一下,去掉各种临时的修改,以便公布。
发表于 2007-7-11 13:33:49 | 显示全部楼层

回复 #44 胶林探索 的帖子

呵呵 好极了  顺便恭贺本帖成为精华
 楼主| 发表于 2007-7-11 14:58:47 | 显示全部楼层
原帖由 water 于 2007-7-11 01:33 PM 发表
呵呵 好极了  顺便恭贺本帖成为精华


给你威望 +10

谢谢!
 楼主| 发表于 2007-7-11 15:00:00 | 显示全部楼层
看看老外的移植过程,比较有意思。

http://www.freepascal.org/news.var
 楼主| 发表于 2007-7-11 15:01:44 | 显示全部楼层
# 31 May 2004

    * A third public beta for 2.0 has released as version 1.9.4. PowerPC is stable and has now also support for Mac OS X.


# 25 May 2003

    * Yesterday, "make cycle" worked for the first time under Linux/PPC. This means the PowerPC code generator is now fairly stable. Someone (Olle Raab) is working on a classic Mac OS Run Time Library and the Darwin RTL is being worked on as well. Hopefully we'll have something distributable in the next few weeks!

# 24 September 2002

    * During the last days, the 1.0.x compiler compiled itself for the first time. The job was done on a 50 MHz Mac IIci (68030), under NetBSD, and the compilation took over 3 hours.
      It seems that the multiplatform FPC compiler is finally starting to become reality.

===============
# February 15, 2006

    * An FPC port for Solaris/Sparc has been created. Get a snapshot here.

# 22 Sep 2004

    * Today the Sparc compiler compiled itself on a Sparcstation 5 and a UltraSparc, both running Linux.
      Update:You can download a Sparc/Linux snapshot here.

# 21 October 2003

    *

      The work on the first 2.0 beta is progressing nicely and a first release is scheduled for 1st November. However, this first beta will be available only for linux-i386, win32-i386 and freebsd-i386. Preparing beta releases for more OSes would take too much time of the core developers. Of course, any volounteer is welcome to help us to prepare beta releases for other OSes. Beta releases of linux-powerpc and linux-sparc will be released a few weeks later.

      To avoid confusion: this will be the first release of the 1.1 development branch compiler. The packages, compiler etc. will get the version number 1.9.x. As soon as the final release is released, the version will be changed to 2.0.0.

# 11 July 2003

    * Finally, the long awaited successor to 1.0.6 is out. It is called 1.0.10, and is a (mostly) fixes release. The reason for skipping 1.0.8 is that the release process took too long, and temporary files have been exposed too long on the FTP site, so the FPC team decided to make the final release 1.0.10.

      This release is expected to be the absolute last release in the 1.0 fixbranch. Development will now be completely focused on the main branch (1.1) where significant progress has been made lately (SPARC and PPC ports).

# 7 July 2003

    * Today, "Hello world!" worked for the first time under Linux/SPARC. This means the SPARC code generator is now minimally working!


# 6 September 2002

    * The PowerPC port is finally progressing nicely. Under Linux, we can already get a "Hello world" on screen (followed by a number of "RunTime Error" messages and a kernel crash , but we're making progress. The Darwin RTL has also been started.

摘录几段。
发表于 2007-7-11 19:05:59 | 显示全部楼层
呵呵 # 24 September 2002

    * During the last days, the 1.0.x compiler compiled itself for the first time.

多美妙啊
发表于 2008-1-29 13:57:26 | 显示全部楼层
Google搜索FPC居然搜到这里了 没想到居然会有作FPC龙芯移植的
无论如何也要支持一下

本版积分规则

小黑屋|手机版|Archiver|Lemote Inc.  

GMT+8, 2019-8-24 08:57 , Processed in 0.150145 second(s), 17 queries .

快速回复 返回顶部 返回列表