diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 1999-01-26 21:36:02 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 1999-01-26 21:36:02 +0000 |
| commit | b983b285cc4f0627a1f72c9d6c510047af0ad116 (patch) | |
| tree | 1b2356a291e2360885e733fef47b40f5983ff9da /documentation/intro.html | |
| parent | 43a4c224ef4831fe33bc1ed649e6498313205eb3 (diff) | |
Lots of documentation fixes, and added a new image for the Fluid chapter.
git-svn-id: file:///fltk/svn/fltk/trunk@244 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/intro.html')
| -rw-r--r-- | documentation/intro.html | 30 |
1 files changed, 26 insertions, 4 deletions
diff --git a/documentation/intro.html b/documentation/intro.html index ffcf35603..488b8eb3a 100644 --- a/documentation/intro.html +++ b/documentation/intro.html @@ -95,7 +95,7 @@ terms of the <A href=#licensing>GNU Library General Public License</A>. Contrary to popular belief, it can be used in commercial software! (Even Bill Gates could use it.) <H2>What Does "FLTK" Mean?</H2> - FLTK was originally designed to be compatable with the Forms Library + FLTK was originally designed to be compatible with the Forms Library written for SGI machines. In that library all the functions and structures started with "fl_". This naming was extended to all new methods and widgets in the C++ library, and this prefix was taken as @@ -110,8 +110,30 @@ Kit". the default of no options and then compile everything. <P>FLTK uses GNU autoconf to configure itself for your UNIX platform. 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. </P> +OpenGL (or Mesa), and JPEG header and library files. If these cannot be +found in the standard include/library locations you'll need to define the +<tt>CFLAGS</tt>, <tt>CXXFLAGS</tt>, and <tt>LDFLAGS</tt> environment +variables. For the Bourne and Korn shells you'd use:</P> +<UL><PRE> +CFLAGS=-I<I>includedir</I>; export CFLAGS +CXXFLAGS=-I<I>includedir</I>; export CXXFLAGS +LDFLAGS=-L<I>libdir</I>; export LDFLAGS +</PRE></UL> +For C shell and tcsh, use: +<UL><PRE> +setenv CFLAGS "-I<I>includedir</I>" +setenv CXXFLAGS "-I<I>includedir</I>" +setenv LDFLAGS "-L<I>libdir</I>" +</PRE></UL> +By default configure will look for a C++ compiler named <tt>CC</tt>, <tt>c++</tt>, +<tt>g++</tt>, or <tt>gcc</tt> in that order. To use another compiler you need +to set the <tt>CXX</tt> environment variable: +<UL><PRE> +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. <P>You can run configure yourself to get the exact setup you need. Type "./configure <options>", where options are: </P> <DL> @@ -184,7 +206,7 @@ reporting bugs]</DD> </DL> To send a message to the FLTK mailing list ("fltk@easysw.com") you must first join the list. Non-member submissions are blocked to avoid -problems with SPAM... +problems with unsolicited email. <P>To join the FLTK mailing list, send a message to "majordomo@easysw.com" with "subscribe fltk" in the message body. A digest of this list is available by subscribing to the "fltk-digest" |
