Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Microsoft C++ and CDT
Microsoft C++ and CDT [message #100294] Mon, 19 April 2004 23:29 Go to next message
Eclipse UserFriend
Originally posted by: thleathley.ryledesign.com

Microsoft has released their complete C++ command line compiler toolkit for
a free download:

http://msdn.microsoft.com/visualc/vctoolkit2003/

Is it theoretically possible that this could be made to work with Eclipse
and CDT on Win32?

Enquiring minds want to know.
Re: Microsoft C++ and CDT [message #100323 is a reply to message #100294] Tue, 20 April 2004 08:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: AlexiKlein.gmx.net

Hi,
I don't know much about it, but I read somewhere that there are some
legal issues that make people nervous about that compiler. There seems
to be some line in the licence agreement that prohibits releasing
binaries that may run on non-Windows systems (and in addition the
licence seems to be incompatible to GPL-code) and it is an open question
how to handle the case of Wine and if the open source community should
endorse a programm that comes under such a licence...

As for the actual question if it will work with CDT, no real clue... :)

Alex
Re: Microsoft C++ and CDT [message #101034 is a reply to message #100294] Tue, 27 April 2004 19:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dschaefe.ca.ibm.com

On Mon, 19 Apr 2004 19:29:04 +0000, T Leathley wrote:

> Microsoft has released their complete C++ command line compiler toolkit for
> a free download:
>
> http://msdn.microsoft.com/visualc/vctoolkit2003/
>
> Is it theoretically possible that this could be made to work with Eclipse
> and CDT on Win32?
>
> Enquiring minds want to know.

Should be possible. This is definitely an enticing story for the CDT.
We'll have to take a serious look at this.

Doug
Re: Microsoft C++ and CDT [message #101049 is a reply to message #101034] Wed, 28 April 2004 14:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dkelsey.nospamhotmail.com

The toolkit doesn't come with a debugger so CDT would need to be able to
provide their own debug system. Alternatively you can download a debugger
from microsoft. You need to look for Debugging Tools for Windows. This
package contains windbg which CDT could launch as an external application

Dave Kelsey
"Doug Schaefer" <dschaefe@ca.ibm.com> wrote in message
news:pan.2004.04.27.19.14.17.630928@ca.ibm.com...
> On Mon, 19 Apr 2004 19:29:04 +0000, T Leathley wrote:
>
> > Microsoft has released their complete C++ command line compiler toolkit
for
> > a free download:
> >
> > http://msdn.microsoft.com/visualc/vctoolkit2003/
> >
> > Is it theoretically possible that this could be made to work with
Eclipse
> > and CDT on Win32?
> >
> > Enquiring minds want to know.
>
> Should be possible. This is definitely an enticing story for the CDT.
> We'll have to take a serious look at this.
>
> Doug
Re: Microsoft C++ and CDT [message #101062 is a reply to message #101049] Wed, 28 April 2004 17:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: markp.softlanding.com

Dave Kelsey wrote:

> The toolkit doesn't come with a debugger so CDT would need to be able
> to provide their own debug system. Alternatively you can download a
> debugger from microsoft. You need to look for Debugging Tools for
> Windows. This package contains windbg which CDT could launch as an
> external application
>
> Dave Kelsey

It also does not come with NMAKE. However, I am told it is included
with the .NET Platform SDK which is a free download.

Does anyone know of any utilities that can convert a .dsw file into a
makefile or any other make utilities that could work with it?

Mark
Re: Microsoft C++ and CDT [message #101075 is a reply to message #101062] Wed, 28 April 2004 20:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dschaefe.ca.ibm.com

On Wed, 28 Apr 2004 17:29:29 +0000, Mark Phippard wrote:

> Dave Kelsey wrote:
>
>> The toolkit doesn't come with a debugger so CDT would need to be able
>> to provide their own debug system. Alternatively you can download a
>> debugger from microsoft. You need to look for Debugging Tools for
>> Windows. This package contains windbg which CDT could launch as an
>> external application
>>
>> Dave Kelsey
>
> It also does not come with NMAKE. However, I am told it is included
> with the .NET Platform SDK which is a free download.
>
> Does anyone know of any utilities that can convert a .dsw file into a
> makefile or any other make utilities that could work with it?
>
> Mark

Yes it does come with nmake in the win64 directory. It probably works for
win32 as well. However, my experience with nmake is not overly positive.
You can still download gnu make through cygwin or mingw (msys) to run
make, which the managed build generates for anyway. Another option is to
use cpptasks from ant-contrib.sourceforge.net which has support for msvc.
I'm not sure how you would tie in the error parser, but it might be
interesting to look into.

Doug
Re: Microsoft C++ and CDT (with CMake) [message #101195 is a reply to message #101062] Thu, 29 April 2004 21:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: epronk.muftor.com

Mark Phippard wrote:
> It also does not come with NMAKE. However, I am told it is included
> with the .NET Platform SDK which is a free download.
>
> Does anyone know of any utilities that can convert a .dsw file into a
> makefile or any other make utilities that could work with it?
>
> Mark

I haven't tried yet, but CMake could be part of a good solution.
See: http://www.cmake.org/

I use CMake to maintain packages that can be build with MSVC6/7.1 and
GCC(Cygwin)

CMake generates Makefiles for native build systems.
So for the MSVC71 commandline tools it can generate an NMake makefile.

For Cygwin/Mingw it can generate a Unix Makefile.

It works similar to GNU Autotools.

typical autotools steps:
../configure
make

typical cmake steps:
cmake .
make

Any ideas on how to integrate these steps in CDT?

Eddy
Re: Microsoft C++ and CDT (with CMake) [message #101241 is a reply to message #101195] Fri, 30 April 2004 14:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: markp.softlanding.com

Eddy Pronk wrote:

> Mark Phippard wrote:
> > It also does not come with NMAKE. However, I am told it is included
> > with the .NET Platform SDK which is a free download.
> >
> > Does anyone know of any utilities that can convert a .dsw file into
> > a makefile or any other make utilities that could work with it?
> >
> > Mark
>
> I haven't tried yet, but CMake could be part of a good solution.
> See: http://www.cmake.org/
>
> I use CMake to maintain packages that can be build with MSVC6/7.1 and
> GCC(Cygwin)
>
> CMake generates Makefiles for native build systems.
> So for the MSVC71 commandline tools it can generate an NMake makefile.
>
> For Cygwin/Mingw it can generate a Unix Makefile.
>
> It works similar to GNU Autotools.
>
> typical autotools steps:
> ./configure
> make
>
> typical cmake steps:
> cmake .
> make
>

What I am finding is that a lot of open source packages that support
Windows assume you have the MS Dev tools and supply everything in that
format. For example, Apache httpd supplies a .dsw file and you build
Apache by running the MSDEV command. OpenSSL supplies a make file to
be run from NMAKE etc...

Now that the actual optimizing compiler and linker from the MS Dev
tools is freely available, it would be nice if the rest of the pieces
for a free toolchain could be assembled and standardized in the OS
community. Then, of course, it would be nice if CDT could
support/drive it all.

Mark
Re: Microsoft C++ and CDT (with CMake) [message #101273 is a reply to message #101241] Fri, 30 April 2004 17:36 Go to previous messageGo to next message
Henning Riedel is currently offline Henning RiedelFriend
Messages: 310
Registered: July 2009
Senior Member
There is a conversion tool in the MinGW, mingw-utils package, which is
able to convert the MSVC++ 6.0 .dsw workspace file into an GNU make
compatible format. It requires the MSYS installation.

Mark Phippard wrote:
> Eddy Pronk wrote:
>
>
>>Mark Phippard wrote:
>>
>>>It also does not come with NMAKE. However, I am told it is included
>>>with the .NET Platform SDK which is a free download.
>>>
>>>Does anyone know of any utilities that can convert a .dsw file into
>>>a makefile or any other make utilities that could work with it?
>>>
>>>Mark
>>
>>I haven't tried yet, but CMake could be part of a good solution.
>>See: http://www.cmake.org/
>>
>>I use CMake to maintain packages that can be build with MSVC6/7.1 and
>>GCC(Cygwin)
>>
>>CMake generates Makefiles for native build systems.
>>So for the MSVC71 commandline tools it can generate an NMake makefile.
>>
>>For Cygwin/Mingw it can generate a Unix Makefile.
>>
>>It works similar to GNU Autotools.
>>
>>typical autotools steps:
>>./configure
>>make
>>
>>typical cmake steps:
>>cmake .
>>make
>>
>
>
> What I am finding is that a lot of open source packages that support
> Windows assume you have the MS Dev tools and supply everything in that
> format. For example, Apache httpd supplies a .dsw file and you build
> Apache by running the MSDEV command. OpenSSL supplies a make file to
> be run from NMAKE etc...
>
> Now that the actual optimizing compiler and linker from the MS Dev
> tools is freely available, it would be nice if the rest of the pieces
> for a free toolchain could be assembled and standardized in the OS
> community. Then, of course, it would be nice if CDT could
> support/drive it all.
>
> Mark
>
>
Re: Microsoft C++ and CDT (with CMake) [message #101297 is a reply to message #101241] Fri, 30 April 2004 23:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: epronk.muftor.com

Mark Phippard wrote:

> What I am finding is that a lot of open source packages that support
> Windows assume you have the MS Dev tools and supply everything in that
> format. For example, Apache httpd supplies a .dsw file and you build
> Apache by running the MSDEV command. OpenSSL supplies a make file to
> be run from NMAKE etc...
>
> Now that the actual optimizing compiler and linker from the MS Dev
> tools is freely available, it would be nice if the rest of the pieces
> for a free toolchain could be assembled and standardized in the OS
> community. Then, of course, it would be nice if CDT could
> support/drive it all.

True. Such projects use GNU Autotools or just Makefiles for their main
development and developer X maintains a parallel build environment for
MSDEV. It's a hard job keeping several build system consistent.

It would be nice if CDT could integrate with existing build systems.
A build system in my definition has knowledge about target toolchains.
(such as GNU Autotools, CMake and BJam V2,.... Any others???)
Query existing build systems instead of generating Makefiles.
Maybe with help of build system developers.

Packages developed with CDT should be able to build without CDT.
The generated Makefile is not sufficient because it is generated
for a specific toolchain. The metadata should be portable.

Eddy
Re: Microsoft C++ and CDT [message #106884 is a reply to message #100294] Sun, 20 June 2004 10:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: user.domain.invalid

T Leathley wrote:
> Microsoft has released their complete C++ command line compiler toolkit for
> a free download:
>
> http://msdn.microsoft.com/visualc/vctoolkit2003/
>
> Is it theoretically possible that this could be made to work with Eclipse
> and CDT on Win32?
>
> Enquiring minds want to know.
>
>
I was able to make it compile by replacing g++ with cl in project
properties and cutting almost all options (are some of them that you can
not cut like O0) but I have problem with the dependencies, by default
CDT is using the same program for compiling for computing the
dependencies (.d files). I took a look in the source code of CDT and I
found that is existing an indexer DefaultIndexerDependencyCalculator
that can be used instead of DefaultGCCDependencyCalculator but I don't
know how to activate it. Can somebody help me with this?
Re: Microsoft C++ and CDT [message #107336 is a reply to message #106884] Wed, 23 June 2004 12:13 Go to previous message
Eclipse UserFriend
Originally posted by: me.privacy.net

On Sun, 20 Jun 2004 12:19:35 +0200, user@domain.invalid wrote:

>T Leathley wrote:
>> Microsoft has released their complete C++ command line compiler toolkit for
>> a free download:
>>
>> http://msdn.microsoft.com/visualc/vctoolkit2003/
>>
>> Is it theoretically possible that this could be made to work with Eclipse
>> and CDT on Win32?
>>
>> Enquiring minds want to know.
>>
>>
>I was able to make it compile by replacing g++ with cl in project
>properties and cutting almost all options (are some of them that you can
>not cut like O0) but I have problem with the dependencies, by default
>CDT is using the same program for compiling for computing the
>dependencies (.d files). I took a look in the source code of CDT and I
>found that is existing an indexer DefaultIndexerDependencyCalculator
>that can be used instead of DefaultGCCDependencyCalculator but I don't
>know how to activate it. Can somebody help me with this?

What's about the following idea:
Have an Standard C++ Project (instead of Managed C++ Project)
and write your own Makefile with
cl and the other M$ tools for compiling linking etc.
and gcc -M for calculating the dependecies
HTH, regards Carsten
Previous Topic:Problems using the CDT update site
Next Topic:CDT2.0M9: Parser problem
Goto Forum:
  


Current Time: Wed Jul 17 18:42:50 GMT 2024

Powered by FUDForum. Page generated in 0.05372 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top