Re: Modelsim on cygwin?

Discussion in 'VHDL' started by Anton Erasmus, Nov 29, 2005.

  1. On Thu, 17 Nov 2005 16:13:09 +0000, Ric Thompson <>
    wrote:

    >I've had this problem on a couple of projects now, but I'm not sure
    >what the best fix is.
    >
    >I have an environment which is set up for Unix, with scripts and
    >makefiles containing mainly relative paths, but with some paths rooted
    >at '/'. I also need to get these projects working on Windows/cygwin.
    >
    >On cygwin, the bash scripts and makefiles run Ok, and cygwin makes
    >sure that paths rooted at '/' actually appear at 'c:\cygwin\' in the
    >file system. However, if I have a script which includes the command
    >'vcom /myfile' then vcom/vsim attempt to open 'c:/myfile', and not
    >'c:/cygwin/myfile'. They presumably bypass the cygwin API in some way.
    >
    >Any ideas on the best way to handle this? Ideally, I want to use
    >exactly the same scripts and makefiles on Unix and Windows.


    Check out cygpath.exe under cygwin.
    It translates "cygwin" paths to/from DOS paths.

    Regards
    Anton Erasmus
     
    Anton Erasmus, Nov 29, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andy Peters

    Re: Modelsim on cygwin?

    Andy Peters, Nov 18, 2005, in forum: VHDL
    Replies:
    0
    Views:
    742
    Andy Peters
    Nov 18, 2005
  2. Replies:
    0
    Views:
    486
  3. Replies:
    0
    Views:
    438
  4. WELCOME to

    , Sep 3, 2003, in forum: Python
    Replies:
    1
    Views:
    528
    Robin Becker
    Sep 5, 2003
  5. Replies:
    0
    Views:
    419
Loading...

Share This Page