浏览代码

* solaris port doesn't need the startup files

git-svn-id: trunk@2460 -
florian 19 年之前
父节点
当前提交
d26f004cdb
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      compiler/systems/t_sunos.pas

+ 3 - 0
compiler/systems/t_sunos.pas

@@ -303,8 +303,11 @@ begin
 
   LinkRes.Add('INPUT(');
   { add objectfiles, start with prt0 always }
+  { solaris port contains _start inside the system unit, it
+    needs only one entry because it is linked always against libc
   if prtobj<>'' then
    LinkRes.AddFileName(FindObjectFile(prtobj,'',false));
+  }
   { try to add crti and crtbegin if linking to C }
   if linklibc then { Needed in solaris? }
    begin