www.digitalmars.com         C & C++   DMDScript  

c++ - New to DMC, have a question

reply Scott <Scott_member pathlink.com> writes:
Hi,
I have just started using the Digital Mars C++ compiler and had a question. I
have a project that is for MS Visual C++ 6.0 (I have all the .C and .H files
plus a .dsp file) and was wondering if there is an easy way to convert this
project to a Digital Mars project. In particular, I am playing around with the
Quake 2 source code and want to build a new dll file, gamex86.dll.

Thanks for any help anyone can offer. As I said, I am new to this so maybe it is
quite easy and I just did something wrong.

Scott
Dec 31 2003
parent reply "Walter" <walter digitalmars.com> writes:
"Scott" <Scott_member pathlink.com> wrote in message
news:bsvqug$2mhk$1 digitaldaemon.com...
 Hi,
 I have just started using the Digital Mars C++ compiler and had a

 have a project that is for MS Visual C++ 6.0 (I have all the .C and .H

 plus a .dsp file) and was wondering if there is an easy way to convert

 project to a Digital Mars project. In particular, I am playing around with

 Quake 2 source code and want to build a new dll file, gamex86.dll.

 Thanks for any help anyone can offer. As I said, I am new to this so maybe

 quite easy and I just did something wrong.

If you can get MSVC to output a makefile, that would be a good start.
Jan 01 2004
parent reply Scott <Scott_member pathlink.com> writes:
I can get MSVC to export a makefile, but when I go to open this .mak file in DMC
I get an error about an unknown file type.  Is there a different way to create a
makefile - one that would be compatible with DMC - in MSVC?

Also, since I technically have all of the source code needed to build my dll
file, can I make a new project and set it up to build the dll file, import all
the .c, .h, and .def files and go from there?  I don't know all that much about
creating dll files and such, but I would assume that just because a project was
initially built with MSVC doesnt mean it cannot be rebuilt with another
environment.

Thanks a lot, I appreciate it.


In article <bt27lr$ge$1 digitaldaemon.com>, Walter says...

If you can get MSVC to output a makefile, that would be a good start.

Jan 05 2004
parent Arjan Knepper <arjan ask.me> writes:
You do have the IDDE?

Just setup a new project in the IDDE add all the .c files. Set the 
project settings like the MSVC ones set include paths ans give it a try.

Arjan

Scott wrote:
 I can get MSVC to export a makefile, but when I go to open this .mak file in
DMC
 I get an error about an unknown file type.  Is there a different way to create
a
 makefile - one that would be compatible with DMC - in MSVC?
 
 Also, since I technically have all of the source code needed to build my dll
 file, can I make a new project and set it up to build the dll file, import all
 the .c, .h, and .def files and go from there?  I don't know all that much about
 creating dll files and such, but I would assume that just because a project was
 initially built with MSVC doesnt mean it cannot be rebuilt with another
 environment.
 
 Thanks a lot, I appreciate it.
 
 
 In article <bt27lr$ge$1 digitaldaemon.com>, Walter says...
 
 
If you can get MSVC to output a makefile, that would be a good start.


Jan 05 2004