Jump to content
Excelsior Forums


  • Content count

  • Joined

  • Last visited


Community Reputation

0 Neutral

About Alec

  • Rank
  • Birthday 01/01/1
  1. Solved Nmake parses its command line looking for options and targets. Anything that is not an option is assumed to be a target. The first argument passed to any program is the path to the program. It appears that nmake parses this path and tokenises it at spaces. On my PC, in VC2005, nmake is installed at C:\Program Files\Microsoft Visual Studio 8\VC\bin\nmake.exe This tokenises as and is interpreted as C:\Program path to nmake Files\Microsoft false target Visual false target Studio false target 8\VC\bin\nmake.exe false target The build immediately fails since nmake does not know how to build Files\Microsoft The solution is simple. Copy nmake.exe into a directory path that has no spaces. I put it in c:\nmake. I copied the batch file that sets up the command line environment for VS2005 and changed it to set up the environment and then start XDS. I use the new file (XDSvcvarsall.bat) to start XDS. C:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat copied to a new file C:\Program Files\Microsoft Visual Studio 8\VC\XDSvcvarsall.bat I then edited this file in the section under label :x86 :x86 if not exist "%~dp0bin\vcvars32.bat" goto missing call "%~dp0bin\vcvars32.bat" set PATH=c:\nmake;%path% cd\xds\projects C:\XDS\BIN\xds.exe goto :eof set PATH=c:\nmake;%path% ensures that nmake.exe is found in a path without spaces cd\xds\projects puts me in my preferred working directory C:\XDS\BIN\xds.exe launches xds hope this helps anyone that finds the same problem A
  2. I've searched for the cause of this problem and concluded that nmake is not working properly. It thinks at run time that there is a target called Files\Microsoft but there is no such target. If I create one it builds it! Does anyone have XDS-C working with MSVC, if so which version and what is the version of nmake? I've tried version 7 and 8 of nmake. Thanks Alec
  3. Alec

    Suppoart For 68000 processor

    I'm new to XDS but my understanding is that XDS will compile to x86 or create C source code that can be compiled for any platform / processor for which you have a C compiler. Alec
  4. I'm trying to setup XDS to work with MSVC 2005. Out of the box it seems to be set up for MSVC. W when I select build all nmake fails because it appears to encounter a path with spaces in it. nmake : fatal error U1073: don't know how to make 'Files\Microsoft' If I run nmake from the command prompt nmake -f tmp.mkf it runs OK. Configure->Tools specifies Build All to be "$(xdsmain)" =a =m "$(file)" I cannot see where the path with spaces is comming from. Something must be expanding to c:\program files\Microsoft but I can't work out which macro it is. Any ideas? Thanks Alec