2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 13:22:11 +00:00
Commit Graph

1844 Commits

Author SHA1 Message Date
John Maddock
283daad33f Second attempt at fixing msvc / Borland lib builds - removed piecemeal action.
[SVN r20785]
2003-11-11 12:36:14 +00:00
Dave Abrahams
17500f4c67 Refactored testing and exe building code.
[SVN r20784]
2003-11-11 10:43:55 +00:00
Vladimir Prus
5e3a86adf3 Using -R instead of -rpath.
* tools/gcc.jam
   (link): substitute -R for -rpath
   (link.dll): substitute -R for -rpath

Patch from Andre Hentz.


[SVN r20783]
2003-11-11 06:11:47 +00:00
Dave Abrahams
6c680985f5 Fix search for source so that it can work from a remote directory.
[SVN r20778]
2003-11-10 17:33:40 +00:00
John Maddock
fbd1555c3a Changed lib build so that it deletes the old lib file before re-creating it.
[SVN r20775]
2003-11-10 11:28:06 +00:00
Rene Rivera
9fb2d82993 Add static-libs/archives path to the library search path options so that the auto_link feature can find the libraries.
[SVN r20767]
2003-11-08 18:32:51 +00:00
Vladimir Prus
593da1b0f3 * tools/gcc.jam
(link.dll) : -soname is not accepted by solaris LD. Using -h allows
      it to work with GNU LD and solaris LD (and presumably others).

Patch from Andre Hentz.


[SVN r20750]
2003-11-08 09:58:47 +00:00
Vladimir Prus
6b555018fd * tools/msvc.jam
(achive action): Add /NOLOGO switch
  (link, link.dll): Change -nologo to /NOLOGO for consistency.

Patch from Jurgen Hunold.


[SVN r20749]
2003-11-08 09:34:36 +00:00
Vladimir Prus
bebf8ca7d8 * tools/msvc.jam
(link.dll action): Use DEF_FILE.
  (link action): Don't use DEF_FILE.

Patch from Pedro Ferreira.


[SVN r20748]
2003-11-08 09:31:03 +00:00
Rene Rivera
361d63cd2b Add common-names rule to facilitate library authors using the common name targets and auto_link headers.
[SVN r20721]
2003-11-07 05:29:13 +00:00
Rene Rivera
ff81f1b64a Add some missing quotes for actions so that we can deal with filenames with spaces.
[SVN r20720]
2003-11-07 04:57:35 +00:00
Christopher Currie
8cf0167823 * Add support for sonaming.
* Realign the toolset path determination to the changes made in the gcc
   toolset (upon which the sunpro toolset is based).
* Updates the documentation:
   - matches the changes in the toolset
   - adds version specific compatibility information


[SVN r20711]
2003-11-06 17:46:31 +00:00
Vladimir Prus
8dae5e4740 Update download locations.
[SVN r20709]
2003-11-06 16:48:55 +00:00
Vladimir Prus
5f1e752add Update version.
[SVN r20708]
2003-11-06 16:48:33 +00:00
Vladimir Prus
028df60b79 Fix BB58: the unit-test rule was ignoring <library> property.
* tools/builtin.jam
  (linking-generator): Move <library> properties to sources in the 'run'
  method. This makes the logic usable by everyone who invokes the generator.
  (exe-target-class, lib-target-class): Don't do the above.


[SVN r20707]
2003-11-06 16:46:29 +00:00
Vladimir Prus
218d38a858 Fix a typo which broke threading support on gcc.
[SVN r20706]
2003-11-06 16:43:41 +00:00
Vladimir Prus
08ed526238 Don't make 'use-interface' propagated, since we don't want to build
two version of library just because it's used by both console and gui
application.

Probably, a better approach would be to make 'user-interface' feature
irrelevant to all targets except for exe, but that requires some design
and coding.

Patch from Brock Peabody.


[SVN r20699]
2003-11-06 07:37:35 +00:00
Vladimir Prus
e0e8d345a4 Incremental improvement to the darwin toolset.
* Set the proper suffix for shared libraries
 * Added C and C++ compile options used in v1:
    -Wno-long-double, -no-cpp-precomp, and -fcoalesce-templates
 * Converted the link.dll rule to use the bundled libtool
 * Added support for linking to frameworks

Patch from Christopher Currie.


[SVN r20695]
2003-11-06 07:32:04 +00:00
Vladimir Prus
f9d7140cf2 Tweak.
[SVN r20694]
2003-11-06 07:29:32 +00:00
Vladimir Prus
f01178607a * tools/rc.jam
Handle LINUX, as well.

  Patch from Jurgen Hunold.


[SVN r20693]
2003-11-06 07:17:53 +00:00
Vladimir Prus
a74edee228 * tools/msvc.jam
Add /INCREMENTAL:NO to linker options when linking exes, not only dlls.
  It was omitted from exes by mistake.


[SVN r20692]
2003-11-06 07:16:10 +00:00
Rene Rivera
79994feb12 Fix compilation for GCC type compilers that take .c files to be ANSI-C only, not a hybrid C/C++. This immediately affects MinGW (gcc).
[SVN r20687]
2003-11-05 23:37:40 +00:00
Rene Rivera
8624502b0a Fix -b option missing "-" for AIX.
[SVN r20685]
2003-11-05 19:48:52 +00:00
Rene Rivera
4a290bd14c Fix misplaced -o option.
[SVN r20680]
2003-11-05 07:01:41 +00:00
Vladimir Prus
bc7db9535c Explain what's 'unified diff' is.
[SVN r20679]
2003-11-05 06:41:00 +00:00
Rene Rivera
80c0430a58 Fixes for MacOSX Darwin compilation:
* Shufle the placement of the -bind_at_load option.
* Take out the -bundle_loader option out, again.


[SVN r20678]
2003-11-05 04:49:10 +00:00
Rene Rivera
63811793f8 Put back the use of bundle-loader, instead of link-format-bundle for MacOSX/Darwin builds of extensions.
[SVN r20670]
2003-11-04 22:18:21 +00:00
Rene Rivera
ced2acb40d Fix handling of bundle-loader vs. link-format.
[SVN r20669]
2003-11-04 22:17:19 +00:00
Vladimir Prus
52d4dd9f3b Update version check.
[SVN r20662]
2003-11-04 17:54:52 +00:00
Vladimir Prus
046fd40193 Bump version to 3.1.8.
[SVN r20661]
2003-11-04 17:51:28 +00:00
Vladimir Prus
aa73901afb Bump version.
[SVN r20660]
2003-11-04 17:48:15 +00:00
Vladimir Prus
263b4f80e2 Update download location and change times.
[SVN r20659]
2003-11-04 17:47:48 +00:00
Vladimir Prus
f484ffbbaf * build/virtual-target.jam
(abstract-file-target.creating-subvariant): Renamed from
  'dg', which was meaningless.


[SVN r20657]
2003-11-04 17:26:58 +00:00
Vladimir Prus
0bf9f6fd96 Add missing import.
[SVN r20656]
2003-11-04 17:25:18 +00:00
Vladimir Prus
7afb7a98ab Fix a bug with searched libraries. When they are bypassed by static library,
we need to bypass <library-path> property, as well.

* tools/builtin.jam
  (lib-target-class.compute-usage-requirements): The above change.

* build/virtual-target.jam
  (subvariant.set-usage-requirements, subvariant.usege-requirements):
      New methods.
  (abstract-file-target.dg): Don't allow changing the value.

* build/targets.jam
  (basic-target.generate): Explicitly don't change value of 'dg'.


[SVN r20655]
2003-11-04 17:14:29 +00:00
Vladimir Prus
d01539f02d Bugfix: RSP files were never recreated.
[SVN r20653]
2003-11-04 17:03:18 +00:00
Vladimir Prus
1fdffcdc6a Add a test for linking a libary to library. This revealed some bug, and
in fact, caused rsp files refactoring comitted previously.


[SVN r20651]
2003-11-04 16:40:45 +00:00
Vladimir Prus
47cca752f5 Refactor the way response files are handled. There are now created by the
rules which create corresponding EXE/LIB targets.

The drawback with the previous approach, where there was a separate generator
for RSP file, was that the list of consumable target types is different,
depending on main target which uses RSP, and it's hard to express this
information.

* tools/builtin.jam
  (response-file): Move to...

* tools/common.jam: Here.

* tools/msvc.jam
* tools/borland.jam
  Split 'link' rule into 'link' and 'link.dll'. Call 'response-file'
  from rules.

* tools/stage.jam
  Fix a bug which cause RSP file to be staged incorrectly.


[SVN r20650]
2003-11-04 16:28:30 +00:00
Vladimir Prus
5d76c84597 Refactorings.
* build/virtual-target.jam
  (clone-action): New rule.

* tools/stage.jam
  (stage-exe-generator.run): Use 'clone-action'.


[SVN r20647]
2003-11-04 13:17:06 +00:00
John Maddock
190f723ba3 Added <native-wchar_t> option to allow turning off of /Zc:wchat_t option
[SVN r20646]
2003-11-04 13:08:34 +00:00
Vladimir Prus
4bbb54b463 Add forgotten file.
[SVN r20645]
2003-11-04 13:07:39 +00:00
Vladimir Prus
3da6d0840e Remove obsolete tests.
[SVN r20634]
2003-11-04 10:07:32 +00:00
Rene Rivera
0f07115f1a Attempt to simulate the actions that Python itself uses for building extensions.
* darwin-tools.jam; Added <link-format> to specify the type of linking to do.
* python.jam; Adjust framework specification so that the added search path is correct.
* python.jam; Change selection of library when building on MacOSX to always use the framework.
* python.jam; Change adjustment of properties so that it builds Python extensions with link-format = bundle.


[SVN r20633]
2003-11-04 08:15:59 +00:00
Rene Rivera
732b13ed53 Remove the -framework option for compiling as it's only needed for linking.
[SVN r20629]
2003-11-04 06:38:50 +00:00
Rene Rivera
6c72d76980 Oops, fix minor syntax mistake.
[SVN r20626]
2003-11-04 03:04:40 +00:00
Rene Rivera
5384bc16b2 Apply patches for building with gcc on AIX from J. Micheal Owen, with some minor mods.
[SVN r20625]
2003-11-04 03:00:46 +00:00
Rene Rivera
ea78e214f7 Attempt to handle frameworks in consistent manner.
* darwin-tools.jam; Use -F option to specify the framework location, if the framework has one.
* python.jam; Try and determine where the Python framework is.
* python.jam; Remove requirement that warnings be off when building.


[SVN r20616]
2003-11-03 19:50:47 +00:00
Vladimir Prus
3677e4b637 Fix the bug that compsite properties in the 'requirements' attribute are not expanded.
* build/targets.jam
  (basic-target.refined-properties): expand composites in the 'requirements' property-set.

Patch from Paul Lin.

* tests/composite.py: New test.


[SVN r20615]
2003-11-03 15:19:36 +00:00
Vladimir Prus
efe10deb66 * tools/rc.jam
Added the directory of the generated files to the include path,
  allowing files created by other generators to be included by the resource
  script.

Patch from Pedro Ferreira.


[SVN r20614]
2003-11-03 12:23:33 +00:00
Rene Rivera
6cb418973c Build+Install:
* common-stage-tag; fix vc toolsets not getting the version number.
* common-stage-tag; handle stlport native iostream mode with "n" tag.
* common-stage-tag; try to catch more instances of stlport use.


[SVN r20577]
2003-10-31 16:42:50 +00:00