Menu

#303 MSVC Import: GCC needs different ENV var strings

open
nobody
None
5
2012-09-26
2004-05-03
No

In MSVC you can use ENV var for e.g. defines. In MSVC
they have to be $(ENV_VAR). Those aren't working in
GCC. GCC needs $ENV_VAR. When importing a MSVC project,
this should be converted.

Discussion

  • Oliver Stöneberg

    Logged In: YES
    user_id=591019

    Hm...I thought I had it working with $ENV_VAR. But for some
    reason it doesn't work. I will look into it later and put a
    comment with the right solution for GCC here.

     
  • Colin Laplace

    Colin Laplace - 2004-05-23

    Logged In: YES
    user_id=25510

    Ok, when reporting MSVC import bugs, please also attach a
    sample MSVC project files - I don't have any on my
    computers ;)

    Colin

     
  • Marek Januszewski

    Logged In: YES
    user_id=609236

    try ${ENV_VAR} ?

     
  • Oliver Stöneberg

    Logged In: YES
    user_id=591019

    yes, it seems to work! :)

     
  • Marek Januszewski

    Logged In: YES
    user_id=609236

    so I'm going to close this one.

     
  • Nobody/Anonymous

    Logged In: NO

    Err...well...it should be added to the MSVC importer, as you
    can use $(xxx) vars in there and they won't work with GCC.
    That's the reason why I added this bug report.

     
  • Marek Januszewski

    Logged In: YES
    user_id=609236

    998873 is similar to this bug

     
  • aditsu

    aditsu - 2005-01-22

    Logged In: YES
    user_id=682737

    I'd like to use environment variables for the exe and object
    output dirs (in build options); I tried a few things but it
    didn't work.
    I'm not sure if this fits here, should I submit a new bug
    report (or rfe)?

    Adrian

     
  • Marek Januszewski

    Logged In: YES
    user_id=609236

    Adrian, probably a new rfe

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.