⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 537-540.html

📁 linux-unix130.linux.and.unix.ebooks130 linux and unix ebookslinuxLearning Linux - Collection of 12 E
💻 HTML
字号:
<HTML>

<HEAD>

<TITLE>Linux Unleashed, Third Edition:Other Compilers</TITLE>

<SCRIPT>
<!--
function displayWindow(url, width, height) {
        var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>

 -->




<!--ISBN=0672313723//-->

<!--TITLE=Linux Unleashed, Third Edition//-->

<!--AUTHOR=Tim Parker//-->

<!--PUBLISHER=Macmillan Computer Publishing//-->

<!--IMPRINT=Sams//-->

<!--CHAPTER=30//-->

<!--PAGES=537-540//-->

<!--UNASSIGNED1//-->

<!--UNASSIGNED2//-->



<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="../ch29/535-536.html">Previous</A></TD>

<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>

<TD><A HREF="540-542.html">Next</A></TD>

</TR>

</TABLE>

</CENTER>

<P><BR></P>

<H2><A NAME="Heading1"></A><FONT COLOR="#000077">Chapter 30<BR>Other Compilers

</FONT></H2>

<P><I>by Tim Parker</I></P>

<DL>

<DT><B>In This Chapter</B>

<DT>&#149;&nbsp;&nbsp; Ada

<DT>&#149;&nbsp;&nbsp; COBOL

<DT>&#149;&nbsp;&nbsp; DSP

<DT>&#149;&nbsp;&nbsp; Eiffel

<DT>&#149;&nbsp;&nbsp; FORTRAN

<DT>&#149;&nbsp;&nbsp; LISP

<DT>&#149;&nbsp;&nbsp; Modula-3

<DT>&#149;&nbsp;&nbsp; OGI speech tools

<DT>&#149;&nbsp;&nbsp; Scheme

<DT>&#149;&nbsp;&nbsp; Scilab

</DL>

<P>So far in this section we&#146;ve looked at a number of popular programming languages and their support under Linux. Maybe you&#146;re not a big fan of C, C&#43;&#43;, awk, Perl, or Tcl. Maybe you really want to program in Ada or FORTRAN on your Linux box. Don&#146;t give up hope. Linux has a wide variety of language compilers and support tools that have been ported to work under this operating system. This chapter takes a brief tour of the languages you can find and where to get them.

</P>

<P>We can&#146;t possibly hope to cover every language available for Linux: there are new ports and language developments made almost weekly. However, we&#146;ve taken a list of the most popular languages and gone from there.</P>

<H3><A NAME="Heading2"></A><FONT COLOR="#000077">Ada</FONT></H3>

<P>The Ada language is in widespread use in military applications and has gained acceptance over the last decade. With the popularity of the language among defense-related application programmers, it was inevitable that several ports of Ada would appear for Linux. The most popular version of Ada for Linux is the GNAT (Gnu Ada Translator) package developed and primarily supported through New York University. For information about the GNAT project or for information on the latest releases of GNAT, send email to <TT>gnat-request&#64;cs.nyu.edu</TT>. The current version of GNAT is available from several FTP sites and will need to be compiled on your Linux system using the GNU C compiler.</P>

<BLOCKQUOTE>

<P><FONT SIZE="-1"><HR><B>Tip:&nbsp;&nbsp;</B><BR>Several FTP sites mirror the NYU GNAT archive. You can find the most recent version of GNAT at the FTP site <TT>tsx-11.mit.edu</TT> in the directory <TT>/pub/linux/packages/ada</TT>.<HR></FONT>

</BLOCKQUOTE>

<P>GNAT covers both the Ada83 and Ada90 standards for the Ada language and is compatible with some commercial Ada compilers.

</P>

<H3><A NAME="Heading3"></A><FONT COLOR="#000077">COBOL</FONT></H3>

<P>COBOL has been around for decades and it is likely that there is more COBOL code written in the world than any other language. There are several commercial ports of COBOL compilers available for Linux, most notably the COBOL-85 port from Acucobol (see <A HREF="http://www.acucobol.com">http://www.acucobol.com</A> for more information). To date no public domain version of a COBOL compiler is available for Linux although there are several COBOL tools available from Linux FTP sites.</P>

<H3><A NAME="Heading4"></A><FONT COLOR="#000077">DSP</FONT></H3>

<P>A DSP (Digital Signal Processing) package called ObjectProDSP is available for Linux. ObjectProDSP is an X-based object-oriented digital signal processing development tool useful for many engineering and science applications.

</P>

<BLOCKQUOTE>

<P><FONT SIZE="-1"><HR><B>Tip:&nbsp;&nbsp;</B><BR>Several FTP sites offer ObjectProDSP for Linux. You can find several versions at the FTP site <TT>tsx-11.mit.edu</TT> in the directory <TT>/pub/linux/packages/dsp</TT>. If you use a Web browser for FTP access, use the URL <A HREF="ftp://tsx-11.mit.edu/pub/linus/packages/dsp">ftp://tsx-11.mit.edu/pub/linus/packages/dsp</A>.<HR></FONT>

</BLOCKQUOTE>

<P>The author of ObjectProDSP can be reached through email at <TT>mtnmath&#64;mtnmath.com</TT>.</P>

<H3><A NAME="Heading5"></A><FONT COLOR="#000077">Eiffel</FONT></H3>

<P>Eiffel is an object-oriented programming language that has a high code-reuse capability. Eiffel has developed a loyal following since its development by Bertrand Meyer in the late 1980s. Eiffel has been placed in the public domain and is managed by the Nonprofit International Consortium for Eiffel (NICE). As an OO language, Eiffel is superb with all the features you would expect.

</P>

<BLOCKQUOTE>

<P><FONT SIZE="-1"><HR><B>Tip:&nbsp;&nbsp;</B><BR>Eiffel for Linux can be found at several FTP sites and through the Web at <A HREF="http://www.cm.cf.ac.uk/tower">http://www.cm.cf.ac.uk/Tower</A>.<HR></FONT>

</BLOCKQUOTE>

<H3><A NAME="Heading6"></A><FONT COLOR="#000077">FORTRAN</FONT></H3>

<P>FORTRAN (Formula Translator) is one of the standard programming languages of the &#146;60s and &#146;70s, especially in the fields of science and engineering. There are several ports of the FORTRAN77 version of FORTRAN available on Linux FTP sites, and ports of FORTRAN90 other than commercial releases are starting to appear as well.

</P>

<BLOCKQUOTE>

<P><FONT SIZE="-1"><HR><B>Tip:&nbsp;&nbsp;</B><BR>Several FTP sites offer versions of FORTRAN for Linux. You can find several versions at the FTP site <TT>tsx-11.mit.edu</TT> in the directory <TT>/pub/linux/packages/fortran</TT>. Several Linux FORTRAN support tools are available there, too.<HR></FONT>

</BLOCKQUOTE>

<P>Apart from the FORTRAN compilers, there are several support tools that have been converted to run under Linux. Most of these are available through the FTP site mentioned above, including converters from FORTRAN to C.

</P>

<P>The toolpack package is useful for FORTRAN programmers. It includes a number of utilities for simplifying output formatting and printing tasks. The package <TT>mpfun</TT> allows for multiple-precision FORTRAN calculations with up to 16 million decimal digits (more than enough for most people!). There are also several tools available that check your FORTRAN code for compliance with the FORTRAN77 and FORTRAN90 standards, as well as portability.</P><P><BR></P>

<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="../ch29/535-536.html">Previous</A></TD>

<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>

<TD><A HREF="540-542.html">Next</A></TD>

</TR>

</TABLE>

</CENTER>





</td>
</tr>
</table>

<!-- begin footer information -->





</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -