Updated README and intro.html for a complete discussion on setting

alternate compilers and options.


git-svn-id: file:///fltk/svn/fltk/trunk@263 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet 1999-02-01 20:22:20 +00:00
parent 6882323172
commit 8c2b800488
2 changed files with 9 additions and 3 deletions

7
README
View File

@ -38,9 +38,14 @@ BUILDING AND INSTALLING FLTK UNDER UNIX
The main things that the configure script will look for are the
X11, OpenGL (or Mesa), and JPEG header and library files. Make
sure that they are in the standard include/library locations. If
they aren't you need to define the CXXFLAGS and LDFLAGS
they aren't you need to define the CFLAGS, CXXFLAGS, and LDFLAGS
environment variables.
If you aren't using "gcc", "g++", "c++", or "CC" for your C++
compiler, you'll also need to set the CXX environment variable.
Similarly, if you aren't using "gcc" or "cc" for your C compiler
you'll need to set the CC environment variable.
You can run configure yourself to get the exact setup you need.
Type "./configure <options>". Options include:

View File

@ -132,8 +132,9 @@ to set the <tt>CXX</tt> environment variable:
CXX=xlC; export xlC
setenv CXX "xlC"
</PRE></UL>
The <tt>CC</tt> environment variable can also be used to override the default
C compiler, which is used for a few FLTK source files.
The <tt>CC</tt> environment variable can also be used to override the
default C compiler (<tt>cc</tt> or <tt>gcc</tt>), which is used for a
few FLTK source files.
<P>You can run configure yourself to get the exact setup you need. Type
&quot;./configure &lt;options&gt;&quot;, where options are: </P>
<DL>