diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 1999-02-01 20:22:20 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 1999-02-01 20:22:20 +0000 |
| commit | 8c2b800488d7f471d939039d9a374e8928c80691 (patch) | |
| tree | f911e5ea60a5f2fec7f2774ff728fe7522bb1f0a | |
| parent | 68823231727a8aef4ae10895da495f1cad61bc33 (diff) | |
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
| -rw-r--r-- | README | 7 | ||||
| -rw-r--r-- | documentation/intro.html | 5 |
2 files changed, 9 insertions, 3 deletions
@@ -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: diff --git a/documentation/intro.html b/documentation/intro.html index 488b8eb3a..a978883b1 100644 --- a/documentation/intro.html +++ b/documentation/intro.html @@ -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 "./configure <options>", where options are: </P> <DL> |
