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:
parent
6882323172
commit
8c2b800488
7
README
7
README
@ -38,9 +38,14 @@ BUILDING AND INSTALLING FLTK UNDER UNIX
|
|||||||
The main things that the configure script will look for are the
|
The main things that the configure script will look for are the
|
||||||
X11, OpenGL (or Mesa), and JPEG header and library files. Make
|
X11, OpenGL (or Mesa), and JPEG header and library files. Make
|
||||||
sure that they are in the standard include/library locations. If
|
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.
|
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.
|
You can run configure yourself to get the exact setup you need.
|
||||||
Type "./configure <options>". Options include:
|
Type "./configure <options>". Options include:
|
||||||
|
|
||||||
|
@ -132,8 +132,9 @@ to set the <tt>CXX</tt> environment variable:
|
|||||||
CXX=xlC; export xlC
|
CXX=xlC; export xlC
|
||||||
setenv CXX "xlC"
|
setenv CXX "xlC"
|
||||||
</PRE></UL>
|
</PRE></UL>
|
||||||
The <tt>CC</tt> environment variable can also be used to override the default
|
The <tt>CC</tt> environment variable can also be used to override the
|
||||||
C compiler, which is used for a few FLTK source files.
|
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
|
<P>You can run configure yourself to get the exact setup you need. Type
|
||||||
"./configure <options>", where options are: </P>
|
"./configure <options>", where options are: </P>
|
||||||
<DL>
|
<DL>
|
||||||
|
Loading…
Reference in New Issue
Block a user