help with multi "make.exe"

This is a discussion on help with multi "make.exe" within the Tech Board forums, part of the Community Boards category; Hello, I need to use different make.exe programs, because I need to compile for different platforms. At the moment, I ...

  1. #1
    Registered User
    Join Date
    Oct 2003
    Posts
    106

    help with multi "make.exe"

    Hello, I need to use different make.exe programs, because I need to compile for different platforms. At the moment, I need to change manually the PATH variable to set the needed make.exe directory to be scanned before the other make.exe directories. How can I do this automatically? Any hint? I tried to investigate the dos shell, but it's so poor that I haven't still found how to manage automatically the PATH variable with batch files.

    BrownB

  2. #2
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    Make a make1.bat file:
    Code:
    \path\path\path\make.exe
    and a make2.bat file:
    Code:
    \anotherpath\make.exe
    And put them to a system path folder, like \windows\system32 or \windows or \windows\command.
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  3. #3
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    This question doesn't appear to be about windows programming; moved to Tech.

    >>I haven't still found how to manage automatically the PATH variable with batch files<<
    Code:
    set path=make_path1;make_path2;%path%
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Multi dimensional array
    By $l4xklynx in forum C Programming
    Replies: 7
    Last Post: 01-03-2009, 03:56 AM
  2. Problem within multi dimensional array
    By lolguy in forum C Programming
    Replies: 5
    Last Post: 12-26-2008, 08:02 AM
  3. Help printing a multi array
    By cjohnman in forum C Programming
    Replies: 4
    Last Post: 05-05-2008, 02:35 PM
  4. starting to learn multi threading
    By hanhao in forum C++ Programming
    Replies: 2
    Last Post: 06-09-2004, 02:44 PM
  5. Replies: 6
    Last Post: 04-26-2004, 11:02 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21