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

207 Commits

Author SHA1 Message Date
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
Rene Rivera
af8a522fd2 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
7dbda0c6e7 Fix mistaken commit
[SVN r18302]
2003-04-24 11:49:34 +00:00
Vladimir Prus
19e776cc6d Add a script for making distributions
[SVN r18300]
2003-04-24 11:35:40 +00:00
Rene Rivera
828616e5d4 Change behaviour so that we always do a clean bootstrap.
[SVN r18287]
2003-04-21 04:39:44 +00:00
Rene Rivera
e5c152f90d Add preliminary support for building the final VMS bjam executable.
[SVN r18286]
2003-04-21 04:38:30 +00:00
Rene Rivera
e9dc74c73b 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
6dd39487f3 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
3ed8693101 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
e6472a08c8 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
f063766d8e Minor change to hopefully cover more NT shells.
[SVN r18068]
2003-03-24 00:56:58 +00:00
Rene Rivera
a2a8fd3a9d Cleanup.
[SVN r17579]
2003-02-21 18:30:58 +00:00
Rene Rivera
e55c3bc7b6 Removed outdated build scripts.
[SVN r17578]
2003-02-21 17:22:21 +00:00
Beman Dawes
9f605b2df5 initial commit
[SVN r17577]
2003-02-21 16:55:47 +00:00
Dave Abrahams
6934a87bd2 Automatically add library-path values to RUN_PATH/RUN_LD_LIBRARY_PATH
[SVN r17562]
2003-02-20 20:28:05 +00:00
Dave Abrahams
59d3e9eac6 Use downcased globbing on NT/Cygwin
[SVN r17537]
2003-02-19 16:43:55 +00:00
Dave Abrahams
a1eaff8296 Fix EOL trimming
[SVN r17532]
2003-02-19 13:59:17 +00:00
Vladimir Prus
88c8b27ba9 Fix debugging output.
[SVN r17521]
2003-02-19 08:00:53 +00:00
Dave Abrahams
38ca2de3b2 untested MSVC toolset
untested response-file support
expanded optimization to speed/space/off

removed module_actions.PYC
validate multiple properties at once.
Fix bugs in type.jam, virtual-target.jam, symlink.py


[SVN r17487]
2003-02-17 15:16:35 +00:00
Rene Rivera
ab64b25c5a Make the target option in RPM work conditionaly, as it has different syntax depending on version/os variant... yuk.
[SVN r17166]
2003-02-02 21:23:36 +00:00
Rene Rivera
715e57c0c8 Minor change to options for RPM build to make it work on YellowDog PPC-Linux.
[SVN r17165]
2003-02-02 21:08:27 +00:00
Rene Rivera
d7082642c4 Reflect current state of checked for toolsets.
[SVN r17164]
2003-02-02 17:37:38 +00:00
Rene Rivera
c7bb382265 * Make use of CC, CFLAGS, and LIBS env when using cc toolset.
* Adjust generated packages for posting to SourceForge. Specifically, generate a tgz for the single binary.


[SVN r17163]
2003-02-02 17:36:49 +00:00
Dave Abrahams
e31bc8af8b Fix integer overflow that was causing traps on Cray.
[SVN r17150]
2003-02-01 17:21:54 +00:00
Rene Rivera
96ef2fa56a Prefer using "whence" to test PATH, but fallback to "hash" when not available like in bash.
[SVN r16994]
2003-01-22 16:57:35 +00:00
Dave Abrahams
a994e22c99 Handle BB1
[SVN r16966]
2003-01-21 04:55:24 +00:00
Ronald Garcia
bfdfb78e5c calls to "test" were using nonportable "-e" (bash-ism). Changed to -r.
[SVN r16923]
2003-01-17 19:54:04 +00:00
Rene Rivera
f26c7b5405 Add recognition of OpenBSD... to fix some of the regression tests (threads).
[SVN r16893]
2003-01-13 16:51:58 +00:00
Vladimir Prus
2782e9b785 Fix/improve the symlink rule.
* new/path.jam
    (make-NT, make-UNIX): Convert empty path into "."

* new/project.jam
    (path-relative-to-project-location): New rule.

* new/stage.jam
    (stage-target-class.construct): Use the above rule.

* new/symlink.jam
    (symlink-targets.construct): Call 'set-path' on created
    virtual targets.
    (ln): Attempts at better handling creating symlinks in
    directories.

* new/virtual-target.jam
    (abstract-file-target.actual-name): If explicit path was
    given, include it in grist.

* test/symlink.py: New test.

* test/test_all.py
    Run new test.


[SVN r16889]
2003-01-13 16:09:43 +00:00
Rene Rivera
690e60a303 Per John's observation, added missing quotes in acc CC.
[SVN r16862]
2003-01-10 17:43:22 +00:00
Rene Rivera
81857f25c0 Guard against OSPLAT not being defined. Missed one.
[SVN r16861]
2003-01-10 17:15:46 +00:00
Rene Rivera
e0b7b88c4b Guard against OSPLAT not being defined.
[SVN r16860]
2003-01-10 17:09:08 +00:00
Rene Rivera
2b06644d35 Add -Ae flag to acc.
[SVN r16859]
2003-01-10 16:26:23 +00:00
Rene Rivera
af1b75748e Use HP-UX uname to determine if aCC(cc) is available.
Add -Ae flag to acc.


[SVN r16858]
2003-01-10 16:22:05 +00:00
Rene Rivera
c317b69f9c Added "-Ae" flag to acc toolset.
Added generic Unix cc toolset.


[SVN r16843]
2003-01-09 21:57:03 +00:00
Rene Rivera
b1f592f446 Added aCC toolset.
Fixed problematic use of ksh "function" keyword.


[SVN r16841]
2003-01-09 17:50:11 +00:00
Rene Rivera
3411092edc Brought back compatability of command line specified targets to update.
Modified UPDATE builtin to: 1. clear the update list, 2. set the update list to the given targets, 3. return the previous update list.


[SVN r16764]
2003-01-05 19:11:07 +00:00
Dave Abrahams
f671dbd6b3 fix for multiple simultaneous Jam sessions, to avoid overwriting
temporary .bat files, courtesy of "Anichini, Steve"
<Sanichini@midwaygames.com>


[SVN r16658]
2002-12-18 21:35:09 +00:00