Thread overview
Berkeley DB 4.1.25
Mar 07, 2003
Robert M. Münch
Mar 07, 2003
Gisle Vanem
Mar 08, 2003
Robert M. Münch
Mar 08, 2003
Ilya Minkov
Mar 09, 2003
Robert M. Münch
Mar 09, 2003
Ilya Minkov
Mar 07, 2003
Walter
Mar 08, 2003
Robert M. Münch
March 07, 2003
Hi, I'm going to try to compile BDB 4.1.25 with DMC++. Unfortunately the Win32 build stuff is for VC. Is there a fast way to use VC workspace and project files? It looks like BDB use's a quite complex setup and I would like to avoid to reverse engineer it.

--
Robert M. Münch
IT & Management Freelancer
Mobile: +49 (0)177 2452 802
Fax   : +49 (0)721 8408 9112
Web   : http://www.robertmuench.de


March 07, 2003
"Robert M. Münch" <robert.muench@robertmuench.de> wrote:

> Hi, I'm going to try to compile BDB 4.1.25 with DMC++. Unfortunately the Win32 build stuff is for VC. Is there a fast way to use VC workspace and project files? It looks like BDB use's a quite complex setup and I would like to avoid to reverse engineer it.

If you have MSVC, load up the project and export it to a makefile. Then adapt it from nmake to dmc's make syntax. Or use the far better GNU make.

Gisle V.


March 07, 2003
There's the cl.exe program, which will convert vc's command line syntax to dmc. -Walter

"Robert M. Münch" <robert.muench@robertmuench.de> wrote in message news:b4am28$2555$1@digitaldaemon.com...
> Hi, I'm going to try to compile BDB 4.1.25 with DMC++. Unfortunately the Win32 build stuff is for VC. Is there a fast way to use VC workspace and project files? It looks like BDB use's a quite complex setup and I would like to avoid to reverse engineer it.
>
> --
> Robert M. Münch
> IT & Management Freelancer
> Mobile: +49 (0)177 2452 802
> Fax   : +49 (0)721 8408 9112
> Web   : http://www.robertmuench.de
>
>


March 08, 2003
"Gisle Vanem" <gvanem@eunet.no> schrieb im Newsbeitrag news:b4apvk$27j5$1@digitaldaemon.com...

> If you have MSVC, load up the project and export it to a makefile.

Well, if I would have MSVC I would just use it ;-)) to compile the stuff.
Robert


March 08, 2003
"Walter" <walter@digitalmars.com> schrieb im Newsbeitrag news:b4b2ck$2d3t$1@digitaldaemon.com...

> There's the cl.exe program, which will convert vc's command line syntax to dmc. -Walter

Ok, that's for the command line stuff. I'm searching for a tool to avoid to create the make-file strucutre and content myself. Anyway, I'm going to write one as this just needs some parsing. I'll let you know. Robert


March 08, 2003
Small tip: do you know Dev-C++ compiler IDE? It contains a MingW compiler and works with GCC derivates. And the latest beta has this feature: it can import a more-or-less recent MSVC workspace and produce a makefile for the GNU make and GCC. This can be adapted to work with DMC, if you like. Or simply take the newest MingW, which is though the world's slowest beast, the code has recently become fairly good. I can't use it on my old crappy machines because of slowness - new ones don't fall from the sky over here.

If i'm not mistaken, you get it at www.bloodshed.net
you need "5 beta", which actually is 4.9.x.x - take the latest one.

-i.

Robert M. Münch wrote:
> "Gisle Vanem" <gvanem@eunet.no> schrieb im Newsbeitrag
> news:b4apvk$27j5$1@digitaldaemon.com...
> 
> 
>>If you have MSVC, load up the project and export it to a makefile.
> 
> 
> Well, if I would have MSVC I would just use it ;-)) to compile the stuff.
> Robert

March 09, 2003
"Ilya Minkov" <midiclub@8ung.at> schrieb im Newsbeitrag news:b4dt8k$rns$1@digitaldaemon.com...

> Small tip: do you know Dev-C++ compiler IDE? It contains a MingW compiler and works with GCC derivates.

Hi, no I don't knew it. Thanks for the tip. BTW: Is DMC++ compatible with the GDB for Windows?

> Or simply take the newest MingW, which is though the
> world's slowest beast, the code has recently become fairly good. I can't
> use it on my old crappy machines because of slowness - new ones don't
> fall from the sky over here.

I had a look at the MingW stuff some time ago but never tried it in deep. IIRC it uses the MS runtime stuff instead of Cygwin as most other GNU stuff is based on, right? Is it worth having a look? Robert


March 09, 2003
Robert M. Münch wrote:
> Hi, no I don't knew it. Thanks for the tip. BTW: Is DMC++ compatible with
> the GDB for Windows?

Urgh... IIRC they expect different debug data format...
[browsing documentation...]
It might just a s well be an old rumor. It appears that GDB recognises a whole lot of debug information formats, so i would still wonder a bit if this one isn't among them. If you find out something more solid before i do, tell us.

> I had a look at the MingW stuff some time ago but never tried it in deep.
> IIRC it uses the MS runtime stuff instead of Cygwin as most other GNU stuff
> is based on, right? Is it worth having a look? Robert

Fist, it doesn't use a UNIX-compatible runtime, that's right, which is the basic idea of it. The idea is the "try to get complete native windows stanards compatibility", so it even has library and object formats compatible with MSVC. Cygwin IIRC isn't compatible, and requieres a 1-meg DLL (POSIX emulator) to be redistributed. The downside is that you can't compile some UNIX utilities with it.

The earlier versions of MingW did use msvcrt.dll IIRC, but there is a project out there to re-implement it from scratch. As i compiled something with MingW 2.0.0 (GCC 3.2-based), it was already independant of MS DLL.

Besides, people report that past the version 3.0 of GCC, generated code quality has improved greatly and has become better than that of MSVC. It's nothing special, just terse and "no-nonsense", which is already very hard to achieve, especially in such a complex, multi-headed beast. [it's a real woder it works at all.] It does a great number of representation conversions and wastes tons of time though...

-i.