Where do I specify /MACHINE for static libraries?  
Author Message
Steve Folly





PostPosted: Visual C++ General, Where do I specify /MACHINE for static libraries? Top

Hi,

I'm building a static library with Visual Studio 2005, and I'm getting the following warning:

LIB : warning LNK4068: /MACHINE not specified; defaulting to X86

Where is the property I need to change to make this warning go away (I assume it's in the Librarian settings somewhere )

Thanks for any help.

Regards,
Steve.


Visual C++6  
 
 
einaros





PostPosted: Visual C++ General, Where do I specify /MACHINE for static libraries? Top

There's no setting for the machine type for static libraries. You can add it to the command line (Alt+F7, Configuration properties -> Librarian -> Command line) to get rid of the linker warning, though.