[m-rev.] for review: enable default use of MS Visual C runtime

Peter Ross pro at missioncriticalit.com
Fri Mar 26 04:20:02 AEDT 2004


On Tue, Mar 23, 2004 at 04:40:43PM +0100, Peter Ross wrote:
> 
> Estimated hours taken: 2
> Branches: main
> 
> Allow at configure time to build the compiler so that it uses the MS
> Visual C runtime by default.
> 
> This is needed here at MC to build some components which require
> linking against the MS Visual C runtime versus the standard C runtime.
> 
> configure.in:
> 	Add the option --enable-msvcrt so that the 
> 
> scripts/mgnuc.in:
> 	If we wish to use the MS Visual C runtime, then we need to
> 	define GC_NOT_DLL when we are not in a parallel grade, as
> 	otherwise the header files for boehm_gc decide the collector
> 	must've been built as a DLL, which isn't true.
> 
> scripts/ml.in:
> 	Pass /MD to the linker so that it links against the MS Visual C
> 	runtime, if required.
> 
Unless there are any objections, I will check this in tomorrow.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list