Commit Graph

171 Commits

Author SHA1 Message Date
Sylvain Pion ab286a243f Grrr... the build-all-at-once mode made the g++ 4.2 bug pop up again.
-fno-strict-aliasing is back.
Hopefully no user will hit it on 3.3...
2007-06-02 11:24:21 +00:00
Sylvain Pion f7bf5e46c8 typo 2007-05-22 16:28:51 +00:00
Sylvain Pion 76fc826c38 Completely remove g++ pre-4.2 bug workaround. 2007-05-22 13:41:42 +00:00
Sylvain Pion 7cec95ffb9 Remove IRIX support. 2007-05-22 07:57:24 +00:00
Sylvain Pion 337e52bf44 The -fno-strict-aliasing workaround for g++ 4.2.0 does not seem necessary anymore. 2007-05-17 11:49:52 +00:00
Sylvain Pion 418c7aa532 Mention that wrapped standard files concern C++98. 2007-05-09 07:30:50 +00:00
Laurent Saboret 11b6f80083 Fixed test suite (cgal_test) for g++ on Cygwin 2007-05-04 17:54:26 +00:00
Daniel Russel a8accd4e18 fix useless PACKNAME_INCL_DIR to list valid completions of PACKAGENAME 2007-04-28 17:35:05 +00:00
Joachim Reichel aaff0e8c49 improve help message after discussion with Daniel
(reordering of options, rewording and reformmatting)
2007-04-28 17:04:31 +00:00
Joachim Reichel 3ce2ccf1bc rename installed makefile from "makefile" to "cgal.mk" 2007-04-24 19:17:59 +00:00
Joachim Reichel 43164d2630 the second part of the diff of r38421 was unintentionally reversed in r38422,
re-reverse the changes
2007-04-24 18:30:55 +00:00
Daniel Russel 347198d891 another attempt to clean up after my svn mess. This revision should be 38295 + changes to the help message + some suppression of printing the list of all library names at startup + a warning that changing the install dir only works on Mac OS. Hopefully everything is right this time. 2007-04-23 23:21:24 +00:00
Joachim Reichel 975a8b3b07 reenable changes of r38142 (unintentionally reversed in r38351)
use LIBPATH_OPT instead of hardcoded -L when modifying the makefile
  to be installed
2007-04-23 22:27:31 +00:00
Daniel Russel 4672d296ff check in the correct version with only the help changes 2007-04-19 20:26:14 +00:00
Daniel Russel 6e6dc1d56d improved help messages. Removed documentation -os as it was broken. moved list of all external libraries to log 2007-04-19 02:43:30 +00:00
Sylvain Pion ed66966ab9 - Remove special treatment for g++ 2.* (option -ftemplate-depth required)
- Add -fno-strict-aliasing to CGAL_LIBS_OPTFLAGS for g++ 4.2.
  (see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31268)
2007-04-18 12:29:06 +00:00
Sylvain Pion 376284825c Intel C++ warns about -O2, so replace it by -Od. 2007-04-18 11:32:15 +00:00
Michael Hoffmann 0ffba72ed8 Efi says slashed paths are ok for Windos. 2007-04-16 09:50:43 +00:00
Marc Glisse 8c80580bee define SUNCC_COMPILER also on linux. 2007-04-07 13:12:40 +00:00
Laurent Rineau 0389b256f5 - add variables SUNCC_COMPILER and DARWIN_COMPILER in install_cgal
- add corresponding "REQUIRE/INCOMPATIBLE =" in several config/support files
2007-04-05 13:34:23 +00:00
Laurent Rineau ea73c2a41a small patch: the variable *_REQUIRED_BY were not filled 2007-04-05 11:49:54 +00:00
Andreas Meyer 5ce50139ff yet another leda/friend injection-related commit. problem was previously,
that the workaround was only active, when performing non-interactive install
from cmdline. now, it is active on

* rebuild using old config/install file
* interactive install
* non-interactive fresh install 

which should be complete.
2007-04-04 11:02:24 +00:00
Laurent Rineau e14b2c7f4f Quote parameters in "[ a = b ]". 2007-04-04 09:55:53 +00:00
Joachim Reichel dd922458e4 fix misleading variable name 2007-04-03 20:37:12 +00:00
Joachim Reichel 954154978a Darwin does not set RUNTIME_LINKER_FLAG, hence the old hack is still needed 2007-04-03 16:19:16 +00:00
Andreas Meyer a2e451db51 g++-4.1/LEDA workaround: only apply, if LEDA is actually supported 2007-04-02 21:34:59 +00:00
Joachim Reichel 66f1eb5725 generate shared libraries with correct RPATH setting if --prefix is used
(does not work if the interactive installer is used and the installation
directory is changed after the libraries are build)
2007-04-02 17:24:41 +00:00
Andreas Meyer d77bcac271 g++ 4.1 / LEDA needs CXXFLAGS "-ffriend-injection" 2007-04-01 11:53:51 +00:00
Sylvain Pion d1506c70da Move *Linux*pgCC* case before *Linux*CC* one otherwise it will match the wrong case. 2007-03-30 09:25:56 +00:00
Sylvain Pion 55e9ee28c9 Alternate match for SunCC on Linux. 2007-03-29 20:47:56 +00:00
Joachim Reichel c079a5f471 reverse previous commit (causes problems with the interactive installer) 2007-03-26 18:24:29 +00:00
Joachim Reichel cae96de071 generate libraries with correct RPATH definition if --prefix is used
remove Darwin-specific hack
2007-03-26 17:47:01 +00:00
Joachim Reichel af61c9e9a1 remove extra newline in makefile_print_from_var() 2007-03-25 13:30:44 +00:00
Daniel Russel 1919a8bd42 fixed empty string passed to gcc and runtime shared lib path now points to the right place after install 2007-03-22 21:06:08 +00:00
Laurent Rineau 10ccff6780 Use 'printf "%s\n"' instead of 'echo -n'. 2007-03-22 14:59:41 +00:00
Laurent Rineau 204ecbba22 - Do not loose part of install.log with the use of --CGAL_DIR.
- Fix a syntax error on Solaris: test -z  needs an argument, so
    [ -z `value_of PROVIDE_PKG_${i}` ]
  needs to be quoted into
    [ -z "`value_of PROVIDE_PKG_${i}`" ]
2007-03-21 00:09:58 +00:00
Daniel Russel ac4bdb4378 log to log for non-interactive installation 2007-03-20 22:30:36 +00:00
Joachim Reichel f233d31cbf add $(strip ...) calls to definitions of CGAL_CXXFLAGS, CGAL_LIBPATHFLAGS,
and CGAL_LDFLAGS
2007-03-20 20:26:34 +00:00
Laurent Rineau ae81a9ff42 Again a major speed-up of parse_support_options(): use only one awk to do the
whole job.

Tested on Linux and Solaris.
2007-03-20 19:54:56 +00:00
Joachim Reichel f038ffdd56 drop support for external CORE 2007-03-20 19:09:33 +00:00
Laurent Rineau 9497f94d67 New shell variable: ${CGAL_LIBS_OPTFLAGS}. Set to "-O2" but for SunCC: Marc
Glisse told me that -O is better for sunCC, because -O is the optimization
level that is the more stable.
2007-03-20 10:29:21 +00:00
Marc Glisse dc3364c65a Basics for sunpro on linux-x86. I will touch FPU.h again later. 2007-03-19 18:25:06 +00:00
Joachim Reichel 78deced48d add missing definitions for shared libraries on *alpha*Linux*g++* 2007-03-19 17:07:22 +00:00
Joachim Reichel 10a1be523a print version number of supported libraries (if known) 2007-03-19 17:02:55 +00:00
Laurent Rineau 2408837793 Fix getconf call: `getconf PATH` is more standard than `getconf CS_PATH`
(Single Unix Specification version 3).
2007-03-19 07:46:40 +00:00
Joachim Reichel 0cbdfe9716 install makefile as $(CGAL_INSTALL_DIR)/share/cgal/makefile
do not install unused subdirectory $(CGAL_INSTALL_DIR)/include/CGAL/config
2007-03-18 11:56:46 +00:00
Joachim Reichel 55438c8c8e fix invocation of _check_for_util from _check_for_sysutil (the former
was looking for a program 'gmake n MAKE' instead of 'gmake')
2007-03-18 10:28:58 +00:00
Daniel Russel f1f153c176 added auto compiler determination to ni, made ni default (removed auto), suppressed warnings when missing config file, cleaned up print out when the config is found 2007-03-16 19:29:11 +00:00
Laurent Rineau db7b7eaf97 Special gift feature for Andreas Fabri: the last line of the output of
install_cgal can now be copy pasted in the shell.

E.g.:

  **   WARNING: You did not build any libs during this session. **
  **     If something went wrong, (or maybe also, if not:)      **
  **                have a look at install.log.                 **
  ****************************************************************

Remember to set the CGAL_MAKEFILE environment variable, e.g.:
export CGAL_MAKEFILE="/usr/share/CGAL/make/makefile"
2007-03-16 16:10:53 +00:00
Laurent Rineau 38ff402c77 Quote more, in the display of "set to ..." in try_to_get_var_from_config_file().
A single quote prevents the shell from interpreting the string.
2007-03-16 15:43:20 +00:00