Re: [HACKERS] Build with Visual Studio & MSVC
"Dave Page" <[email protected]> Fri, 9 Sep 2005 19:58:01 +0100
| Newsgroups | gmane.comp.db.postgresql.devel.win32,gmane.comp.db.postgresql.devel.general |
|---|---|
| Message-ID | <E7F85A1B5FF8D44C8A1AF6885BC9A0E4CC2AF0@ratbert.vale-housing.co.uk> |
This is a multi-part message in MIME format. ------_=_NextPart_001_01C5B570.67AA968F Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable =20 ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Chuck McDevitt Sent: 09 September 2005 19:38 To: [email protected] Cc: PostgreSQL-development Subject: [HACKERS] Build with Visual Studio & MSVC =09 =09 Just for fun, I went through PostgreSQL 8.1 and did a complete build using Microsoft's C and the latest Visual Studio. With a few minor tweaks, everything compiled with no errors. =20 My assumption is that because PostgreSQL is a UNIX/Linux-centric project (and gcc/gdb centric), this really isn't of much interest to anyone. So other than this e-mail, I don't plan to do anything with this except for my own amusement. =20 If I'm wrong, and there is some real interest in supporting MSVC, let me know, and I'll put some work into cleaning it up and making patches out of it, etc.=20 =20 Hi Chuck, =20 We discussed this again on list only the other day in fact! Basically we're not particulalry interested in supporting VS prject files in place of gmake/autoconf, purely because they will undoubtedly cause maintenance headaches as the majority of our developers don't have Windows boxes, let alone a copy of Visual Studio.=20 =20 However, if you need something to keep yourself amused (unless I can persuade you to come help out with psqlODBC :-) ), we would be interested in patches that allow us to use Microsoft's compiler as an alternative to gcc. =20 It's interesting to know it built fairly easily though... =20 Regards, Dave. =20 =20 ------_=_NextPart_001_01C5B570.67AA968F Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML xmlns=3D"http://www.w3.org/TR/REC-html40" xmlns:o =3D=20 "urn:schemas-microsoft-com:office:office" xmlns:w =3D=20 "urn:schemas-microsoft-com:office:word"><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <META content=3D"MSHTML 6.00.2900.2627" name=3DGENERATOR> <STYLE>@font-face { font-family: MS Mincho; } @font-face { font-family: @MS Mincho; } @page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; } P.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman" } LI.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman" } DIV.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman" } A:link { COLOR: blue; TEXT-DECORATION: underline } SPAN.MsoHyperlink { COLOR: blue; TEXT-DECORATION: underline } A:visited { COLOR: purple; TEXT-DECORATION: underline } SPAN.MsoHyperlinkFollowed { COLOR: purple; TEXT-DECORATION: underline } SPAN.EmailStyle17 { COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose } DIV.Section1 { page: Section1 } </STYLE> </HEAD> <BODY lang=3DEN-US vLink=3Dpurple link=3Dblue> <DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff=20 size=3D2></FONT> </DIV><BR> <BLOCKQUOTE dir=3Dltr=20 style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px = solid; MARGIN-RIGHT: 0px"> <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft> <HR tabIndex=3D-1> <FONT face=3DTahoma size=3D2><B>From:</B> = [email protected]=20 [mailto:[email protected]] <B>On Behalf Of </B>Chuck=20 McDevitt<BR><B>Sent:</B> 09 September 2005 19:38<BR><B>To:</B>=20 [email protected]<BR><B>Cc:</B>=20 PostgreSQL-development<BR><B>Subject:</B> [HACKERS] Build with Visual = Studio=20 & MSVC<BR></FONT><BR></DIV> <DIV></DIV> <DIV class=3DSection1> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Just for fun, I went = through=20 PostgreSQL 8.1 and did a complete build using Microsoft’s C and = the latest=20 Visual Studio.<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">With a few minor tweaks, = everything compiled with no errors.<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: = Arial"><o:p> </o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">My assumption is that = because=20 PostgreSQL is a UNIX/Linux-centric project (and gcc/gdb centric), this = really=20 isn’t of much interest to anyone.<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">So other than this = e-mail, I don’t=20 plan to do anything with this except for my own=20 amusement.<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: = Arial"><o:p> </o:p></SPAN></FONT></P> <P class=3DMsoNormal><SPAN style=3D"FONT-SIZE: 10pt; FONT-FAMILY: = Arial">If I’m=20 wrong, and there is some real interest in supporting MSVC, let me = know, and=20 I’ll put some work into cleaning it up and making patches out of = it, etc.<FONT=20 color=3D#0000ff><SPAN = class=3D991525218-09092005> </SPAN></FONT></SPAN></P> <P class=3DMsoNormal><SPAN style=3D"FONT-SIZE: 10pt; FONT-FAMILY: = Arial"><FONT=20 color=3D#0000ff><SPAN=20 = class=3D991525218-09092005></SPAN></FONT></SPAN> </P></DIV></BLOCKQU= OTE> <P class=3DMsoNormal dir=3Dltr><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT = color=3D#0000ff><SPAN=20 class=3D991525218-09092005>Hi Chuck,</SPAN></FONT></SPAN></P> <P class=3DMsoNormal dir=3Dltr><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT = color=3D#0000ff><SPAN=20 class=3D991525218-09092005></SPAN></FONT></SPAN> </P> <P class=3DMsoNormal dir=3Dltr><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT = color=3D#0000ff><SPAN=20 class=3D991525218-09092005>We discussed this again on list only the = other day=20 in fact! Basically we're not particulalry interested in supporting VS = prject=20 files in place of gmake/autoconf, purely because they will undoubtedly = cause=20 maintenance headaches as the majority of our developers don't have = Windows=20 boxes, let alone a copy of Visual Studio. </SPAN></FONT></SPAN></P> <P class=3DMsoNormal dir=3Dltr><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT = color=3D#0000ff><SPAN=20 class=3D991525218-09092005></SPAN></FONT></SPAN> </P> <P class=3DMsoNormal dir=3Dltr><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT = color=3D#0000ff><SPAN=20 class=3D991525218-09092005>However, if you need something to keep = yourself amused=20 (unless I can persuade you to come help out with psqlODBC :-) ), we = would be=20 interested in patches that allow us to use Microsoft's compiler as = an=20 alternative to gcc.</SPAN></FONT></SPAN></P> <P class=3DMsoNormal dir=3Dltr><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT = color=3D#0000ff><SPAN=20 class=3D991525218-09092005></SPAN></FONT></SPAN> </P> <P class=3DMsoNormal dir=3Dltr><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT = color=3D#0000ff><SPAN=20 class=3D991525218-09092005>It's interesting to know it built fairly = easily=20 though...</SPAN></FONT></SPAN></P> <P class=3DMsoNormal dir=3Dltr><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT = color=3D#0000ff><SPAN=20 class=3D991525218-09092005></SPAN></FONT></SPAN> </P> <P class=3DMsoNormal dir=3Dltr><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT = color=3D#0000ff><SPAN=20 class=3D991525218-09092005>Regards, Dave.</SPAN></FONT></SPAN></P> <P class=3DMsoNormal dir=3Dltr><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT = color=3D#0000ff><SPAN=20 class=3D991525218-09092005></SPAN></FONT></SPAN> </P> <P class=3DMsoNormal dir=3Dltr><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT = color=3D#0000ff><SPAN=20 class=3D991525218-09092005></SPAN></FONT></SPAN> </P></BODY></HTML> ------_=_NextPart_001_01C5B570.67AA968F--