[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference microw::acmsxp

Title:ACMSxp product questions and comments
Notice:Refer to notes 1 through 11 for conference information
Moderator:DUCAT::ROSCOE
Created:Tue Oct 05 1993
Last Modified:Thu Jun 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:282
Total number of notes:1134

251.0. "-D_MT -D_DLL options" by WING::SHINDO (Y.Shindo/EJ3 PSC/Tokyo/Japan/8-699-4652) Fri Feb 14 1997 00:19

Hi,

ACMSxp V3.0 for WindowsNT.

Do we need to specify '-D_MT -D_DLL' command line options for 'cl' command to 
compile c sources of processing procedure ?

In the command echo during STDL compiler is compiling ACMSxp stubs, it seems to
specify '-D_MT -D_DLL' options. 
Also in makefile of ivp procedure, it's specified same option for cl command 
line.

Is there any necessity to specify this option during compiling applications ?

Regards,
Yoshizumi
T.RTitleUserPersonal
Name
DateLines
251.1CAMINO::VINELEAFFri Feb 14 1997 12:185
>Is there any necessity to specify this option during compiling applications ?

It's a good idea. These switches are required by pthreads (see their docs
for more info).
251.2ThanksTKOV60::SHINDOY.Shindo/EJ3 PSC/Tokyo/Japan/8-699-4652Mon Feb 17 1997 07:159
Ken,

>It's a good idea. These switches are required by pthreads (see their docs
>for more info).

Thanks. I found the info about this in VC++ Info Viewer.

Yoshizumi
251.3"/MD" switchTKOV60::OKAMURAH.Okamura PS4-2/EJD3/NSIS, JapanWed Apr 16 1997 07:4211
>Do we need to specify '-D_MT -D_DLL' command line options for 'cl' command to 
>compile c sources of processing procedure ?

The most simple way is specifying the "/MD" switch as compiler option.

This switch defines both "_MT" and "_DLL" macros and links MSVCRT.LIB 
library properly.

Unless specifying this option, user may specify the proper library by hand.

Hiroaki