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

244 Commits

Author SHA1 Message Date
Rene Rivera
cf7aedcd68 Patch from Christopher Currie, changes building with sunpro tools to use the C compiler instead of the C++ compiler.
[SVN r19263]
2003-07-22 16:40:27 +00:00
Rene Rivera
dc593efc8b Simplyfied toolset definition code. Now supports easily adding different types of builds, and additional options.
[SVN r19129]
2003-07-15 16:07:11 +00:00
Dave Abrahams
2cb5e435bd fix --noassert option
[SVN r19119]
2003-07-14 21:55:47 +00:00
Dave Abrahams
430a3c109b add --noassert option
[SVN r19114]
2003-07-14 18:53:03 +00:00
Rene Rivera
5eaca2c483 Remove platform check for preventing use of yacc.
Replace with dev option "--grammar" which enables building of the grammar.
Some cleanup and generalization of searching for tools using ProgramFiles.


[SVN r19107]
2003-07-14 06:08:03 +00:00
Rene Rivera
03d3cfd132 Prevent use of yacc in Solaris/SunOS as it causes parse overflow errors in the grammar.
[SVN r19098]
2003-07-13 17:11:55 +00:00
Toon Knapen
aa1ae86a7c only use C style comments since bjam is compiled with C compiler
[SVN r19049]
2003-07-11 13:19:37 +00:00
Toon Knapen
c57c3ee0b1 need prototype for init_cache
[SVN r19042]
2003-07-11 06:50:21 +00:00
Toon Knapen
57b6c25d31 need prototype for rexexp.h
[SVN r19041]
2003-07-11 06:49:58 +00:00
Toon Knapen
d258a48ec9 need to cast return value from realloc to final type on sunpro
[SVN r19040]
2003-07-11 06:49:32 +00:00
Toon Knapen
6ccb8f5afb dereferencing env.var. just need leading dollar sign
[SVN r19039]
2003-07-11 06:48:52 +00:00
Toon Knapen
2842b210df removed own (incorrect) signature of regex_compile, including compile.h now for the signature
[SVN r19038]
2003-07-11 06:30:40 +00:00
Toon Knapen
f80dbd7c40 also changed module to module_t in typedef
[SVN r19033]
2003-07-10 16:02:51 +00:00
Toon Knapen
d3bed59788 port to sunpro
[SVN r19022]
2003-07-10 12:09:28 +00:00
Toon Knapen
72849922c0 added include of unistd.h for sunpro
[SVN r19020]
2003-07-10 11:00:51 +00:00
Toon Knapen
26926416ef added include unistd.h and wait.h for sunpro
[SVN r19019]
2003-07-10 10:59:26 +00:00
Toon Knapen
9ea39fe73a module type has become module_t
[SVN r19018]
2003-07-10 10:58:40 +00:00
Toon Knapen
ac864962e8 rename module type to module_t to avoid clash between type and variable called module on sunpro
[SVN r19017]
2003-07-10 10:56:59 +00:00
Toon Knapen
c737a3188c added include of lists.h
[SVN r19016]
2003-07-10 10:54:45 +00:00
Toon Knapen
102b74f309 added prototype of backtrace (sunpro can't handle missing prototypes)
[SVN r19015]
2003-07-10 10:54:10 +00:00
Toon Knapen
cb4a68cdc0 void* (return from malloc) can't be assigned to char* without a cast using sunpro
[SVN r19014]
2003-07-10 10:52:14 +00:00
Vladimir Prus
8f895673a1 Bugfix.
* jam_src/make1.c
  (make1c): Don't change function-scope 't' variable inside some if scope.
  Use another variable in that scope.


[SVN r18983]
2003-07-09 05:49:12 +00:00
Rene Rivera
89958fb194 Added detection of SunPro compiler.
[SVN r18968]
2003-07-07 18:28:05 +00:00
Vladimir Prus
63eeb06875 Bugfix: don't assign the same number to two different flags.
[SVN r18961]
2003-07-07 15:02:36 +00:00
Vladimir Prus
1f1b5c918d Fix use of uninitialized memory.
[SVN r18954]
2003-07-07 07:37:34 +00:00
Rene Rivera
1f5f62acc9 Fix minor typos after testing on Linux.
[SVN r18943]
2003-07-05 16:13:19 +00:00
Rene Rivera
60d66ba4e8 Fix various problems with removal of grammar files when yacc program fails.
Also added VS71COMNTOOLS detection for vc7.


[SVN r18942]
2003-07-05 15:34:34 +00:00
Vladimir Prus
27a3ee645a Fix segfault, caused by premature deletion of some data. Positively,
valgrind rocks!


[SVN r18931]
2003-07-03 09:57:51 +00:00
Vladimir Prus
9f9f661453 Kill some warnings.
[SVN r18930]
2003-07-03 09:55:39 +00:00
Vladimir Prus
b6f1d3f351 Fix compilation errors on borland.
[SVN r18906]
2003-07-01 14:00:04 +00:00
Vladimir Prus
a61389b1c6 Change the core so that both "existing" and "updated" modifiers are both
allowed.


[SVN r18901]
2003-07-01 09:45:56 +00:00
Vladimir Prus
4b6f3babbb Bump Jam version to 3.1.6.
[SVN r18897]
2003-07-01 05:14:46 +00:00
Vladimir Prus
bd5a03d448 Handle include dependencies between generated sources correctly.
[SVN r18889]
2003-06-30 14:24:20 +00:00
Vladimir Prus
b703a29011 Partial sync with Perforce state. The main purpose was to merge
changesets 2499 and 2614, which change (and improve), handling of includes.


[SVN r18888]
2003-06-30 14:14:50 +00:00
Vladimir Prus
2e532793ae Change handling of generated headers to use the idea of
Matt Armstrong, from jamming mailing list.

* new/search.h
  (search): Add a new parameter 'another_target', which returns
  the name of a target already bound to the same location via LOCATE.

* new/search.c
  (search): Ajust the search algorithm to check for targets bound to searched
  directories.


[SVN r18887]
2003-06-30 14:10:04 +00:00
Vladimir Prus
787b8d0b53 Kill MinGW warning.
[SVN r18831]
2003-06-18 05:54:21 +00:00
Rene Rivera
c6c6444c20 Improvements to bootstraping and building.
- build.bat; added more possible locations for VC7.
- build.bat; added an alternate for finding bison (gnuwin32.sourceforge.net version).
- build.jam; added an alternate for finding bison (gnuwin32.sourceforge.net version).
- build.jam; removed some obsolete docs from distribution.
- build.jam; fixed path problem when packaging on windows, the debian directory.
- build.jam; added header scanning to create the extra dependencies to make building the grammar work correctly.
- build.jam; fixed building of the grammar to remove attempts at building it spuriously.
- build.jam; fixed building of grammar so that it doesn't delete existing files if the yacc execution fails.
- index.html; minor cleanup of language in some places.
- index.html; removed references to no longer packaged docs.
- *; updated the version to 3.1.5 in various places.
- build.*; tested on windows with vc7, metrowerks, mingw, and borland


[SVN r18703]
2003-06-07 18:44:32 +00:00
Vladimir Prus
2e2d1a1685 Fix debian package build.
[SVN r18492]
2003-05-22 08:41:18 +00:00
Vladimir Prus
2f3cd9913e Bump bjam version to 3.1.5. The current V2 codebase won't work with
older bjams, at all.


[SVN r18437]
2003-05-19 10:07:00 +00:00
Dave Abrahams
4ee5b15a5d * expand.c - Implemented :W modifier for Cygwin->Windows path
translation.  Cleaned up indentation and idiomatic use of string.

* index.html - documented recent features including VARNAMES and
  DELETE_MODULE

* borland.jam, msvc.jam - use the new :W modifier to simplify
  code (but only somewhat)

* BoostBuild.py - ignore MSVC .ilk files under Cygwin and NT


[SVN r18434]
2003-05-19 06:30:44 +00:00
Dave Abrahams
2da99c1a86 Fixed scoping of invocations to typechecking rules. They weren't being
executed in the right module.


[SVN r18425]
2003-05-16 15:51:08 +00:00
Dave Abrahams
b0e68b86a4 Improved comment for Volodya
[SVN r18415]
2003-05-15 23:15:41 +00:00
Dave Abrahams
91f796fa72 * builtins.c/h, modules.c/h - Added VARNAMES and DELETE_MODULE rules,
for getting the list of variable names and for clearing all rule and
  variable storage.

* compile.c - better error reporting for unknown rules; now it is a
  hard error.

* hash.c/h - added hash_free to allow removal of elements from a hash

* rule.c/h - implemented rule freeing; stopped exporting rules to the
  global module by default.

* variable.c - reclaim variable storage when disposing of variable
  hash.

* build.jam - make grammar building work under NT


[SVN r18405]
2003-05-15 20:53:16 +00:00
Dave Abrahams
ab3a315a73 Don't look for 'yacc' without an '.exe' extension on NT, because we
might find the Cygwin script which isn't executable through the NT
shell.


[SVN r18404]
2003-05-15 20:07:44 +00:00
Vladimir Prus
84d354288e Try to eliminate short paths on windows, at least in some contexts. They
are very annoying --- e.g. you might decide there are several msvc
installation just because you have default location as long name, and there's
vcvars32.bat in PATH, and PATH element uses short name.

* jam_src/pathsys.h
  (short_name_to_long_name): New function.

* jam_src/filent.c:
  (file_dirscan): Call 'short_name_to_long_name' on argument.

* jam_src/pathunix.c:
  (ShortPathToLongPath): Move here from pwd.c, and fix bugs:
    '.' and '..' elements were completely broken.
  (short_name_to_long_name): Implement here.


[SVN r18401]
2003-05-15 13:07:09 +00:00
Dave Abrahams
d60ab1d2d8 Removed redundant -y flag from bison flags
Added -t -v to the yacc/bison flags when --debug is used.

Additionally, we now grab $(YACCFLAGS) from the
environment/command-line to get more yacc diagnostics


[SVN r18379]
2003-05-10 17:57:44 +00:00
Dave Abrahams
f2c14abcdd Type checking for argument lists
[SVN r18378]
2003-05-10 15:03:54 +00:00
Dave Abrahams
ce38ecc9fb Build jam0 with debugging under MSVC, in case it crashes (which it does).
[SVN r18377]
2003-05-10 14:28:30 +00:00
Dave Abrahams
8cbcbd861b Don't reverse slash direction when reconstituting paths on NT
[SVN r18368]
2003-05-08 13:30:24 +00:00
Dave Abrahams
a24042fe51 On NT, force backslashes during binding phase so that files will be
found.  This used to be taken care of by path_build, but now that
we're trying to preserve slash direction there, we need this here.


[SVN r18345]
2003-05-07 16:07:40 +00:00