The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: Re_Boot on September 17, 2006, 11:36:48 AM

Title: Masm32 paths?
Post by: Re_Boot on September 17, 2006, 11:36:48 AM
Im having path isssues I think and Im curious what evironmental paths I should have with a Masm32 install?
Title: Re: Masm32 paths?
Post by: mnemonic on September 17, 2006, 11:46:52 AM
Hi Re_Boot,

I always make sure that I install MASM32 into the root directory of some partition. Then I add the path to "[E:]\masm32\bin" to the PATH environment variable so that I can easy assemble and link via the command line. Then it is good practice to keep your code on the same partition where your MASM32 installation resides.

Regards
Title: Re: Masm32 paths?
Post by: hutch-- on September 17, 2006, 12:10:24 PM
Hi Re_Boot,

The installation uses hard code paths so that the correct version of ML, LINK and RC are always used. This is done so it can co-exist with other programming installations like VC and anything else that uses the environment for paths. You shold not require a path setting in the environment if you use the hard coded paths. Note also that the installation will only install directly off the root directory and if you move it after you install it, it will not work.
Title: Re: Masm32 paths?
Post by: PBrennick on October 06, 2006, 11:06:01 AM
Technically, it 'will' work from anywhere on the planet.  The correct statement should be, if you move it, the examples will not rebuild correctly without some modification because they are using hard coded paths.

Some people dislike hard coded paths, I happen to agree with Hutch.  Always use them especially if you have other software development packages installed.

Paul