www.digitalmars.com         C & C++   DMDScript  

c++.chat - dm-compiler with visual c++-ide

reply kartoffelsack <kartoffelsack_member pathlink.com> writes:
hi,

is there a documentation somewhere of how to use the digital Mars c++Compiler
within the visual c++ ide?

Can't find anything on the website.
Jan 02 2003
parent reply "Walter" <walter digitalmars.com> writes:
"kartoffelsack" <kartoffelsack_member pathlink.com> wrote in message
news:av1kc0$l3l$1 digitaldaemon.com...
 is there a documentation somewhere of how to use the digital Mars
c++Compiler
 within the visual c++ ide?
Sorry, there isn't any. But you can use the Digital Mars IDDE, available from www.digitalmars.com/shop.html
Jan 02 2003
parent reply kartoffelsack <kartoffelsack_member pathlink.com> writes:
ok, so I'm giving one as far as I got up to now and hope someone can help me in
solving the last problems ;-):


the lc-Tool reinterprets the microsoft parameter and calls the digital mars
compiler:

Copy folowing files to the ms-Bin-directory:

lc.exe
sc.exe
sc.ini
scppn.exe
link.exe

(you should make copies of the original ms lc and link.exe)

Modify sc.ini to use the headers provided with digital mars.

compile - you will get some error because of some parameters dm's lc.exe doesn't
know. Remove those (Project/preferences/ ... you have to search).

When done this you will get linker-errors. Remove the libaries VC uses for each
project (Project/preferences/linker - winspool.lib seems to be the problem).


That's how far I got. Except some warnings from the linker I get one more error
(until now):

"Error 2: File Not Found :yes.obj"

In fact I can find a file called yes.obj nowhere on my computer . I even can't
find a file like yes.cpp and yes.* ... That for I cannot understand why the
linker tries to find that one???



PS:

In my firm we are looking for a new c++ compiler because we are nerved in the
ones we're using now (one is to slow in compiling, the other to bad with the
standards - guess which ones). That's why im testing digital mars c++. I did
order idde and it seems to be not bad (especialy class-browsing) but the visual
c++-IDE is known as a really good IDE. So chances for dm c++ would increase
rapidly if it could be used with VC-IDE (i've read in some groups, that it does
work but couldn't find details).




In article <av20h7$rjq$1 digitaldaemon.com>, Walter says...
"kartoffelsack" <kartoffelsack_member pathlink.com> wrote in message
news:av1kc0$l3l$1 digitaldaemon.com...
 is there a documentation somewhere of how to use the digital Mars
c++Compiler
 within the visual c++ ide?
Sorry, there isn't any. But you can use the Digital Mars IDDE, available from www.digitalmars.com/shop.html
Jan 03 2003
parent "Rajiv Bhagwat" <dataflow vsnl.com> writes:
In the past, I have used 'external makefile' option with capturing of the
output. That way, on errors, you land up in the proper file on the improper
line....

- Rajiv


"kartoffelsack" <kartoffelsack_member pathlink.com> wrote in message
news:av3l5q$1qfl$1 digitaldaemon.com...
 ok, so I'm giving one as far as I got up to now and hope someone can help
me in
 solving the last problems ;-):


 the lc-Tool reinterprets the microsoft parameter and calls the digital
mars
 compiler:

 Copy folowing files to the ms-Bin-directory:

 lc.exe
 sc.exe
 sc.ini
 scppn.exe
 link.exe

 (you should make copies of the original ms lc and link.exe)

 Modify sc.ini to use the headers provided with digital mars.

 compile - you will get some error because of some parameters dm's lc.exe
doesn't
 know. Remove those (Project/preferences/ ... you have to search).

 When done this you will get linker-errors. Remove the libaries VC uses for
each
 project (Project/preferences/linker - winspool.lib seems to be the
problem).
 That's how far I got. Except some warnings from the linker I get one more
error
 (until now):

 "Error 2: File Not Found :yes.obj"

 In fact I can find a file called yes.obj nowhere on my computer . I even
can't
 find a file like yes.cpp and yes.* ... That for I cannot understand why
the
 linker tries to find that one???



 PS:

 In my firm we are looking for a new c++ compiler because we are nerved in
the
 ones we're using now (one is to slow in compiling, the other to bad with
the
 standards - guess which ones). That's why im testing digital mars c++. I
did
 order idde and it seems to be not bad (especialy class-browsing) but the
visual
 c++-IDE is known as a really good IDE. So chances for dm c++ would
increase
 rapidly if it could be used with VC-IDE (i've read in some groups, that it
does
 work but couldn't find details).




 In article <av20h7$rjq$1 digitaldaemon.com>, Walter says...
"kartoffelsack" <kartoffelsack_member pathlink.com> wrote in message
news:av1kc0$l3l$1 digitaldaemon.com...
 is there a documentation somewhere of how to use the digital Mars
c++Compiler
 within the visual c++ ide?
Sorry, there isn't any. But you can use the Digital Mars IDDE, available from www.digitalmars.com/shop.html
Jan 03 2003