On Thursday 07 August 2003 16:35, Dave Page wrote:
> Yes please - if it's good let's have it :-)
>
> Regards, Dave.
>
>       -----Original Message-----
>       From: Adam H. Pendleton [mailto:[EMAIL PROTECTED]
>       Sent: 07 August 2003 15:26
>       To: Dave Page
>       Cc: Darko Prenosil; Andreas Pflug; [EMAIL PROTECTED];
> [EMAIL PROTECTED]
>       Subject: Re: [pgadmin-hackers] pga3 website
>
>
>       Dave Page wrote:
>
>
>
>               Were they? :-( I thought Adam bundled them in with one
> of his updates
>               after reviewing them. Please send them again and I will
> make sure they
>               get applied.
>
>
>
>       I didn't mean to ignore them....:-)  At the time I release my
> last acinclude patch, I didn't include the mingw patch because, the last
> that I heard, even *with* the patches it wasn't possible to get pgadmin3
> to compile under mingw.  I didn't think it should be included until we
> were sure it was going to work.  If that's the case, then by all means,
> let's include it.  Dave, if you want me to submit another patch I can do
> it tonight, since I'll be working on the Mac buld then.
>
>       ahp

It is working, but with precompilled libpq (there is no way to compile libpq 
using MinGW jet).
I used wxWindows 2.5 from CVS also compiled using MinGW and precompilled libpq 
downloaded with pgaccess. Everithing is working just fine, and I do not see 
any differences in compare to downloaded pgadmin binary compilled with VC.


I'm repeating one of the above mentioned mails that describes all needed 
changes:

******************************************************************************************
I see that msw is excluded. It was something like:

    *libwx_mswud-*)
        LIBS="$LIBS ${WX_HOME}/lib/libwx_mswud_stc-${WX_VERSION}.a
${WX_HOME}/lib/libwx_mswud_xrc-${WX_VERSION}.a"
        LIBS="$LIBS $WX_NEW_LDFLAGS"
        LDFLAGS="$LDFLAGS -mwindows -Wl,--subsystem,windows"
    ...
for    every of :
        *libwx_mswu-*)
        *libwx_mswud-*)
        *libwx_mswd-*)
        *libwx_msw-*)


Is that just forgotten, or something else ? My last mail did not make
through (I'm not shore why).

I explained needed changes for Makefile so the MinGW build can work.

Now I'm not shore any more is MinGW build will be supported ?

However the following lines are supposed to end up in the Makefile:

WINDRES = windres.exe

...

pgadmin3_OBJECTS = $(am_pgadmin3_OBJECTS) pgAdmin3.res
...

pgAdmin3.res: ui/pgAdmin3.rc
    $(WINDRES) --include-dir=$(WX_HOME)/include --include-dir=ui  -i
ui/pgAdmin3.rc -I rc -o pgAdmin3.res -O coff


MinGW build is working after those changes. Unfortunatelly I'm not that god
in autoconf/automake to make those changes myself.
******************************************************************************************



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



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

Reply via email to