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

233 Commits

Author SHA1 Message Date
Toon Knapen
31664c7b50 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
6964177c48 also changed module to module_t in typedef
[SVN r19033]
2003-07-10 16:02:51 +00:00
Toon Knapen
f4826cf9ab port to sunpro
[SVN r19022]
2003-07-10 12:09:28 +00:00
Toon Knapen
6877925a9c added include of unistd.h for sunpro
[SVN r19020]
2003-07-10 11:00:51 +00:00
Toon Knapen
3f6b5baef6 added include unistd.h and wait.h for sunpro
[SVN r19019]
2003-07-10 10:59:26 +00:00
Toon Knapen
ee95830514 module type has become module_t
[SVN r19018]
2003-07-10 10:58:40 +00:00
Toon Knapen
b53a7a6905 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
59b7556296 added include of lists.h
[SVN r19016]
2003-07-10 10:54:45 +00:00
Toon Knapen
bde9ca4145 added prototype of backtrace (sunpro can't handle missing prototypes)
[SVN r19015]
2003-07-10 10:54:10 +00:00
Toon Knapen
63e5c44780 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
9154b67026 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
90a641cf1d Added detection of SunPro compiler.
[SVN r18968]
2003-07-07 18:28:05 +00:00
Vladimir Prus
efa955eb10 Bugfix: don't assign the same number to two different flags.
[SVN r18961]
2003-07-07 15:02:36 +00:00
Vladimir Prus
06a42c2e47 Fix use of uninitialized memory.
[SVN r18954]
2003-07-07 07:37:34 +00:00
Rene Rivera
277126bf61 Fix minor typos after testing on Linux.
[SVN r18943]
2003-07-05 16:13:19 +00:00
Rene Rivera
8f0c4d8f9b 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
278c662f23 Fix segfault, caused by premature deletion of some data. Positively,
valgrind rocks!


[SVN r18931]
2003-07-03 09:57:51 +00:00
Vladimir Prus
dc5c32f5b4 Kill some warnings.
[SVN r18930]
2003-07-03 09:55:39 +00:00
Vladimir Prus
1dd6cf6703 Fix compilation errors on borland.
[SVN r18906]
2003-07-01 14:00:04 +00:00
Vladimir Prus
0cd8d6599d 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
a38232390f Bump Jam version to 3.1.6.
[SVN r18897]
2003-07-01 05:14:46 +00:00
Vladimir Prus
3ea74bbb4f Handle include dependencies between generated sources correctly.
[SVN r18889]
2003-06-30 14:24:20 +00:00
Vladimir Prus
7cc06eca49 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
8bcec068c6 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
bbdfabee4a Kill MinGW warning.
[SVN r18831]
2003-06-18 05:54:21 +00:00
Rene Rivera
8a7dcb64ba 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
5a124394dd Fix debian package build.
[SVN r18492]
2003-05-22 08:41:18 +00:00
Vladimir Prus
5df16b625e 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
69e27f57bf * 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
e44382cb5b 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
3c60743371 Improved comment for Volodya
[SVN r18415]
2003-05-15 23:15:41 +00:00
Dave Abrahams
3c7f65f943 * 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
deb8e8562a 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
0667999e30 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
a38628bee0 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
a05eca2570 Type checking for argument lists
[SVN r18378]
2003-05-10 15:03:54 +00:00
Dave Abrahams
ba7bb1d4a4 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
a2f68b1635 Don't reverse slash direction when reconstituting paths on NT
[SVN r18368]
2003-05-08 13:30:24 +00:00
Dave Abrahams
db86b4e2d1 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
Rene Rivera
481156d58d Removed the /LIBPATH option for MSVC compilers as it's causing too much grief.
[SVN r18336]
2003-04-30 17:05:48 +00:00
Vladimir Prus
814b4d6989 Fix mistaken commit
[SVN r18302]
2003-04-24 11:49:34 +00:00
Vladimir Prus
766a5f19ae Add a script for making distributions
[SVN r18300]
2003-04-24 11:35:40 +00:00
Rene Rivera
8a53f873fa Change behaviour so that we always do a clean bootstrap.
[SVN r18287]
2003-04-21 04:39:44 +00:00
Rene Rivera
cbf8cc37e1 Add preliminary support for building the final VMS bjam executable.
[SVN r18286]
2003-04-21 04:38:30 +00:00
Rene Rivera
5806cc93c0 Fix failing compilation on non-MSVC compilers. Specifically CodeWarriorn.
The defenitions in tchar.h prevent the definition TCHAR; windows.h must always be included before any other windows headers.


[SVN r18285]
2003-04-21 04:22:27 +00:00
Vladimir Prus
784c48029b Workaround: change timestamp of 0, to 1, so that Jam does not consider
file as missing. This is needed because /cygdrive on cygwin has the
zero timestamp.

* new/fileunix.c
  (file_time): The above change.


[SVN r18256]
2003-04-16 10:01:17 +00:00
Vladimir Prus
51ce3ff756 Win32 fixes. Big thanks to Bjorn Karlsson.
* jam_src/pwc.c: Concert short pathnames to long ones.


[SVN r18181]
2003-04-04 07:55:59 +00:00
Rene Rivera
09dee4da89 Changes to bootstrap and build with the MinGW environment.
* Define the OS as NT as this seems more reasonable than having MINGW as the OS (after all MinGW is the toolset not the OS).
* Add detection of one common install location for MinGW.


[SVN r18073]
2003-03-24 04:34:27 +00:00
Rene Rivera
19d9f9a467 Minor change to hopefully cover more NT shells.
[SVN r18068]
2003-03-24 00:56:58 +00:00
Rene Rivera
740b69afbe Cleanup.
[SVN r17579]
2003-02-21 18:30:58 +00:00