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

200 Commits

Author SHA1 Message Date
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
Rene Rivera
391c6e1d13 Removed outdated build scripts.
[SVN r17578]
2003-02-21 17:22:21 +00:00
Beman Dawes
b67133db83 initial commit
[SVN r17577]
2003-02-21 16:55:47 +00:00
Dave Abrahams
eb1b5407d0 Automatically add library-path values to RUN_PATH/RUN_LD_LIBRARY_PATH
[SVN r17562]
2003-02-20 20:28:05 +00:00
Dave Abrahams
fed31d2af9 Use downcased globbing on NT/Cygwin
[SVN r17537]
2003-02-19 16:43:55 +00:00
Dave Abrahams
1b2c46c06e Fix EOL trimming
[SVN r17532]
2003-02-19 13:59:17 +00:00
Vladimir Prus
9d799da62b Fix debugging output.
[SVN r17521]
2003-02-19 08:00:53 +00:00
Dave Abrahams
991f2ecde2 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
bf562a5128 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
40f05f7133 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
e707ecc884 Reflect current state of checked for toolsets.
[SVN r17164]
2003-02-02 17:37:38 +00:00
Rene Rivera
afe1f38071 * 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
a6aa672159 Fix integer overflow that was causing traps on Cray.
[SVN r17150]
2003-02-01 17:21:54 +00:00
Rene Rivera
36606c9e75 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
1f7916983b Handle BB1
[SVN r16966]
2003-01-21 04:55:24 +00:00
Ronald Garcia
c293134c8b calls to "test" were using nonportable "-e" (bash-ism). Changed to -r.
[SVN r16923]
2003-01-17 19:54:04 +00:00
Rene Rivera
ccd16cd590 Add recognition of OpenBSD... to fix some of the regression tests (threads).
[SVN r16893]
2003-01-13 16:51:58 +00:00
Vladimir Prus
4c14009b18 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
9078fdf5ad Per John's observation, added missing quotes in acc CC.
[SVN r16862]
2003-01-10 17:43:22 +00:00
Rene Rivera
24789783ed Guard against OSPLAT not being defined. Missed one.
[SVN r16861]
2003-01-10 17:15:46 +00:00
Rene Rivera
1f6bf335b4 Guard against OSPLAT not being defined.
[SVN r16860]
2003-01-10 17:09:08 +00:00
Rene Rivera
4a7ce9bfdd Add -Ae flag to acc.
[SVN r16859]
2003-01-10 16:26:23 +00:00
Rene Rivera
761de79c80 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
25358c0b39 Added "-Ae" flag to acc toolset.
Added generic Unix cc toolset.


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


[SVN r16841]
2003-01-09 17:50:11 +00:00
Rene Rivera
4f0f52f443 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
8c04955b76 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
Rene Rivera
4ba0a5b989 Account for "Program Files" in different installations of Windows.
[SVN r16526]
2002-12-06 05:02:00 +00:00
Rene Rivera
ec785e826b Minor fixes to compile in OpenVMS.
[SVN r16523]
2002-12-05 00:08:49 +00:00
Rene Rivera
f8a4bcb2f1 Fix end-of-lines
[SVN r16522]
2002-12-04 23:46:54 +00:00
Rene Rivera
b75faafb5d Initial. Minimal build of bootstrap only.
[SVN r16521]
2002-12-04 23:36:31 +00:00
Dave Abrahams
5ee3726c1a Add missing "static" to suppress warning with aCC
[SVN r16484]
2002-12-03 00:02:47 +00:00
Vladimir Prus
0cd123a2db Integrate semaphores extension from Craig McPeeters' branch on
public.perforce.com (revisions 1664, 1665).


[SVN r16472]
2002-12-02 12:28:01 +00:00
Dave Abrahams
075a9eaf97 automatic shared_ptr from_python conversions
[SVN r16467]
2002-12-02 01:37:39 +00:00