Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_33_1/tools/build/v1/mingw-tools.jam @ 12

Last change on this file since 12 was 12, checked in by landauf, 17 years ago

added boost

File size: 1.1 KB
RevLine 
[12]1# Copyright 2001 David Abrahams.
2# Copyright 2003-04 Rene Rivera.
3# Distributed under the Boost Software License, Version 1.0.
4# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
5
6
7# singleton variables...
8set-as-singleton MINGW_ROOT_DIRECTORY MINGW_BIN_DIRECTORY MINGW_INCLUDE_DIRECTORY MINGW_STDLIB_DIRECTORY ;
9
10{
11    local GCC_ROOT_DIRECTORY = $(MINGW_ROOT_DIRECTORY) ;
12    local GCC_BIN_DIRECTORY = $(MINGW_BIN_DIRECTORY) ;
13    local GCC_INCLUDE_DIRECTORY = $(MINGW_INCLUDE_DIRECTORY) ;
14    local GCC_STDLIB_DIRECTORY = $(MINGW_STDLIB_DIRECTORY) ;
15    extends-toolset gcc ;
16
17    # So that RUNPATH, and PATH, is set to include where the mingw DLLs are located.
18    flags mingw STDLIBPATH : $(GCC_BIN_DIRECTORY) ;
19}
20
21flags mingw LINKFLAGS <user-interface>gui : -Wl,--subsystem,windows ;
22flags mingw LINKFLAGS : -Wl,--allow-multiple-definition ;
23
24# Prefer linking DLLs without the -Wl,--export-all-symbols flag
25GCC_NO_EXPORT_ALL ?= true ;
26
27# Use the -mno-cygwin flag for compiling C, C++ and linking
28CFLAGS += -mno-cygwin ;
29LINKFLAGS += -mno-cygwin ;
Note: See TracBrowser for help on using the repository browser.