From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Michiel Ephraim <ephraim(at)euph1(dot)xs4all(dot)nl> |
Cc: | pgsql-hackers-win32(at)postgresql(dot)org |
Subject: | Re: build annoyences |
Date: | 2004-04-19 22:32:39 |
Message-ID: | 200404192232.i3JMWdH27814@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers-win32 pgsql-patches |
Michiel Ephraim wrote:
>
> dear hackers-win32 list,
>
> When building today's CVS version for win32, i found a few little things which
> stopped a clean "gmake && gmake install". Most of them are missing .exe
> extensions in the makefiles.
>
> A diff is attached to this mail. Changes to "src/makefiles/Makefile.win32"
> were only necessary for cross-compilation.
>
> My setup is
> compiler: mingw32-gcc (GCC) 3.3.1 (mingw special 20030804-1)
> host: FreeBSD euph4 5.2-RELEASE
> configure options used: --host=mingw32 --prefix=/opt/postgres-mingw32
> --without-readline --without-zlib
>
> The gcc is setup as a cross-compiler for mingw32, and is simply installed from
> ports.
Interesting. I am confused why others didn't need these changes. In
psql's Makefile I see:
psql: $(OBJS) $(libpq_builddir)/libpq.a
$(CC) $(CFLAGS) $(OBJS) $(libpq) $(LDFLAGS) $(LIBS) -o $@
...
install: all installdirs
$(INSTALL_PROGRAM) psql$(X) $(DESTDIR)$(bindir)/psql$(X)
Why do other compilers output .exe from CC? Is it because you are
cross-compiling? Also, why did you need to change the #include in
snprintf?
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2004-04-20 01:37:18 | Re: [HACKERS] locale issues on win32 (fix?) |
Previous Message | Magnus Hagander | 2004-04-19 21:11:28 | locale issues on win32 (fix?) |
From | Date | Subject | |
---|---|---|---|
Next Message | Marc Recht | 2004-04-20 00:12:48 | NetBSD 2.0 / native threads |
Previous Message | Bruce Momjian | 2004-04-19 22:15:31 | Re: pg_restore ignore error patch |