Unix Technical Forum

Re: Building with Visual C++

This is a discussion on Re: Building with Visual C++ within the Pgsql Patches forums, part of the PostgreSQL category; --> > I've done a similar thing myself (building the complete > backend with Visual Studio 2005). I got it ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql Patches

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-18-2008, 12:32 AM
Magnus Hagander
 
Posts: n/a
Default Re: Building with Visual C++

> I've done a similar thing myself (building the complete
> backend with Visual Studio 2005). I got it to basically
> work, but stopped due to lack of interest in the PostgreSQL community.


Well, I'm one of those previously with lack of interest :-)

The main difference between what I'm trying now from most of what I've
seen before is that I *don't* want to create a separate build
environment that needs to be maintained. Instead have a conversion
script from our current one to a VC compatible one.

> But, I'd be happy to help out your effort in any way I can.


Thanks. There'll be plenty of pieces to pick up once I'm done with the
initial version of the script :-)


//Magnus

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-18-2008, 12:32 AM
Tom Lane
 
Posts: n/a
Default Re: Building with Visual C++

"Magnus Hagander" <mha@sollentuna.net> writes:
> The main difference between what I'm trying now from most of what I've
> seen before is that I *don't* want to create a separate build
> environment that needs to be maintained. Instead have a conversion
> script from our current one to a VC compatible one.


This is definitely the only way that the project will fly --- there's
no way we're going to duplicate our forest of Makefiles in a different
format that has to be hand-maintained. If Magnus can make a conversion
script work, though, I think we can accept that.

We'll need a VC buildfarm member in place to catch us anytime we change
the Makefiles in a way that the script doesn't understand. Before the
buildfarm existed I'd have been skeptical of whether even the
conversion-script approach would be viable in the long run, but with
timely info about breakages I think it can work.

BTW, has anyone looked at the possibility of driving VC from gmake,
so that we can continue to use the same Makefiles? Or is that just
out of the question?

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-18-2008, 12:37 AM
Peter Eisentraut
 
Posts: n/a
Default Re: Building with Visual C++

Tom Lane wrote:
> BTW, has anyone looked at the possibility of driving VC from gmake,
> so that we can continue to use the same Makefiles? Or is that just
> out of the question?


The Coin 3D project had a wrapper program that makes VC look like a Unix
compiler. Looking at
<http://www.coin3d.org/support/coin_faq/#extension_MSVCproject> now, it
seems they have changed to autogenerating a project file as well. But
check there anyway; these guys have been doing this for years.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:33 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com