aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc
Commit message (Collapse)AuthorAgeFilesLines
* Only disable VC++ warning C4275 with DLL buildslloyd2010-03-031-2/+2
|
* Disable VC warning 4275lloyd2010-03-031-1/+1
|
* Use /W3 with VC++ (/W4 is really noisy, but it seems mostly useless stuff).lloyd2009-12-231-1/+1
| | | | | | But, disable warnings 4250 and 4251 in build.h with a pragma. Both seem impossible to work around without very major code changes, and both seem harmless AFAICT.
* Make many more headers internal-only.lloyd2009-12-161-1/+3
| | | | | | | | | | | | | Fixes for the amalgamation generator for internal headers. Remove BOTAN_DLL exporting macros from all internal-only headers; the classes/functions there don't need to be exported, and avoiding the PIC/GOT indirection can be a big win. Add missing BOTAN_DLLs where necessary, mostly gfpmath and cvc For GCC, use -fvisibility=hidden and set BOTAN_DLL to the visibility __attribute__ to export those classes/functions.
* Various fixes for Visual C++ per bug 63 - --enable-debug sets debug options,lloyd2009-11-201-9/+9
| | | | | --disable-shared disables DLL options, and don't define _CONSOLE in the library build.
* Force /MD (threaded+DLL libc) with VC++. /MT is the default but seemslloyd2009-11-201-0/+4
| | | | | | | to cause random crashes during the test suite. With /MD they go away. I don't know enough about Windows development to know what this means... I'm sure it makes sense to somebody. Anyway, going with something that appears to function.
* Switch from only-static with VC++ to only a DLL. The static library islloyd2009-11-191-2/+3
| | | | | huge (60+ Mb!); the DLL should be smaller due to link-time merging making it viable to distribute binaries.
* Most compilers had empty dll_*_flags; remove them since the default islloyd2009-11-1913-38/+1
| | | | | | | empty anyway. For VC++ (only user) set BOTAN_DLL to dllimport by default (for apps), and then redefine as dllexport when building the library.
* Remove unecessary quote characters in the cc info files (were required bylloyd2009-11-1915-107/+80
| | | | | | | | | | | configure.pl, but configure.py's parser is smart enough to deal with them with or without quotes). Add support for shared library generation with IBM xlC (untested). Drop bcc - this was for the Borland's old compiler and almost certainly is not right for the current Embarcadero C++Builder. Support for that should be added (though I don't have access to this compiler personally).
* Remove some CPU specific workarounds for things GCC didn't know about, likelloyd2009-11-111-9/+5
| | | | the Alpha EV67 and MIPS R10000.
* Switch from -O2/-O for lib/check to -O3/-O2 with gcclloyd2009-11-111-2/+2
|
* Add Nehalem/Westmere tags for ICClloyd2009-11-101-3/+7
|
* GCC doesn't know what Nehalem or Westmere are, though it does know aboutlloyd2009-11-061-0/+3
| | | | | the AES and PCLMUL instructions. Oddness. For the time being, compile Nehalem and Westmere as Core2 + extras, probably close enough.
* Remove the 'realname' attribute on all modules and cc/cpu/os info files.lloyd2009-10-2915-30/+0
| | | | | Pretty much useless and unused, except for listing the module names in build.h and the short versions totally suffice for that.
* Add theoreticaly support for Clang/LLVM. Current Gentoo clang ebuild doesn'tlloyd2009-10-191-0/+46
| | | | seem to work with C++ at all so untested.
* propagate from branch 'net.randombit.botan.1_8' (head ↵lloyd2009-10-1314-2/+31
|\ | | | | | | | | | | c5ae189464f6ef16e3ce73ea7c563412460d76a3) to branch 'net.randombit.botan' (head e2b95b6ad31c7539cf9ac0ebddb1d80bf63b5b21)
| * Fix --enable-debuglloyd2009-10-091-2/+3
| | | | | | | | With GCC, only use -finline-functions if not a debug build
| * Add a new macro BOTAN_BUILD_COMPILER_IS_XXX to build.hlloyd2009-09-2914-0/+28
| |
* | Rename all of the build-data files with a .txt extension, and filter forlloyd2009-10-1314-0/+0
|/ | | | | | such in configure.py. Paul Clark reported on the list having problems with it otherwise because of CVS droppings being picked up and subsequently errored on when parsing them as build info files (of course) failed.
* Use the default ABI instead of forcing n32 for mips32lloyd2009-08-101-1/+0
| | | | | | | | | | | | | | systems. This was something that for whatever reason that I have long since forogotten was a good idea on IRIX running MIPS circa a decade ago, but was reported to cause problems on the Debian builds. Add mipsel as an alias for the mips32 architecture for Debian. The mips32 submodel names were badly typoed and did not work correctly. Remove the leading mips32- and mips64- from MIPS submodel names.
* Add compiler settings for the Open64 (http://www.open64.net/) compiler,lloyd2009-08-031-0/+30
| | | | | | | based on the SGI Pro64 and Pathscale EKOpath compilers. Only tested on an x86-64 system running Linux (v4.2.1). Miscompiles a few of the block ciphers (segvs, didn't bother to diagnose further; recompile with -O1 to fix), other than that seems OK.
* Add support for Dragonfly BSD (a fork of FreeBSD).lloyd2009-07-251-0/+1
| | | | Contributed by Patrick Georgi
* Use TR1 by default with GNU C++ and Intel C++, since all recent versions oflloyd2008-11-172-0/+4
| | | | | | | | | | | | | | | | | | both support TR1 fine AFAICT. Add ability to explicitly disable using TR1 with --with-tr1=none Add a marker in the cc info files specifiying if TR1 should be chosen by default. Yes, autoconf would be better for this than a static per-compiler setting. Yes, I totally hate autoconf. Yes, I would still consider autoconf patches. No, I'm not going to do it myself. :) I am looking forward to being able to safely adopt C++0x and TR2 throughout the library and make the need for a lot of this special-casing stuff go away. Until then, it seems better to defaulting to using tr1 (and thus, ECC) than not.
* Use -O2 instead of -O3 with Intel C++lloyd2008-10-221-1/+1
|
* Update ICC flags for 10.1lloyd2008-10-221-3/+3
|
* Oops, revert back to standard GCC -Wall flagslloyd2008-10-081-2/+2
|
* Split ecdsa module into ecc_key, ecdsa, eckaeglloyd2008-10-081-2/+2
| | | | | Add actual implementations (from InSiTo) for ECDSA_Operation and ECKAEG_Operation.
* Revert back to portable GCC flagslloyd2008-10-011-2/+2
|
* Move look_pk and pk_algs to new module pubkey/pk_lookuplloyd2008-10-011-1/+1
|
* Handle building Botan with almost all public key code disabled (though onlylloyd2008-10-011-2/+2
| | | | | | | with the aid of macro hackery, at the moment). Change DH feature macro to BOTAN_HAS_DIFFIE_HELLMAN Change NR feature macro to BOTAN_HAS_NYBERG_RUEPPEL
* Rename sh to hitachi-sh - make regexp collisions less likelylloyd2008-10-011-1/+1
|
* Revert; GCC 4.3 specific flagslloyd2008-09-301-2/+2
|
* Strict GCC warningslloyd2008-09-301-2/+2
|
* Remove the misc dir:lloyd2008-09-2913-0/+488
Moved XS, Boost Python, and SWIG wrappers to new toplevel directory 'wrappers' Moved NIST X.509 test suite into checks directory Move the build information used by configure.pl to src/build-data Move scripts directory to doc (for lack of a better spot)