Here's a snapshot with the patch applied:
http://footstool.stanford.edu/~blp/psppire-ldflags.tar.gz
"Michel Boaventura" <[EMAIL PROTECTED]> writes:
> This is the patch. It adds LD flag options for each executable.
>
> ---------- Forwarded message ----------
> From: John Darrington <[EMAIL PROTECTED]>
> Date: Tue, 21 Oct 2008 10:20:41 +0800
> Subject: Re: Annoying DOS box launching psppire
> To: Michel Boaventura <[EMAIL PROTECTED]>
> Cc: [email protected]
>
> Try this patch then.
>
> You should be able to do
>
> ./configure PSPPIRE_LDFLAGS="\"-Wl,-subsystem windows\""
>
>
> If it works, then I'll check it into the stable branch.
>
> J'
>
>
>
>
>
> On Mon, Oct 20, 2008 at 10:35:46PM -0300, Michel Boaventura wrote:
> Good idea. With this I guess this is solved.
>
> On 10/20/08, John Darrington <[EMAIL PROTECTED]> wrote:
> > I suggest that the easiest solution would be for us to create a
> > couple of variables PSPP_LDFLAGS and PSPPIRE_LDFLAGS for the
> > convenience of people who need to pass special linker flags to one
> > binary but not the other.
> >
> > Would that help?
> >
> > On Mon, Oct 20, 2008 at 10:03:30PM -0300, Michel Boaventura wrote:
> > This works. Now psppire opens without the annoying DOS box. But
> > setting those flags on CFLAGS make also pspp to be compiled with
> it,
> > so it stop works, because it needs to open on a DOS box. If those
> > flags don't broke anything on linux, maybe we can put it
> on makefile,
> > so only psppire uses it.
> >
> > 2008/10/17 Ben Pfaff <[EMAIL PROTECTED]>:
> > > "Michel Boaventura" <[EMAIL PROTECTED]> writes:
> > >
> > >> Searching on mingw FAQ I've found that to remove the annoying
> DOS
> > box
> > >> who opens before psppire we need to compile it with the flag:
> > >> "-Wl,-subsystem,windows".
> > >> Where's a good place to put it on makefile?
> > >
> > > You can specify it on the configure command line:
> > > ./configure LDFLAGS="-Wl,-subsystem,windows"
> >
> > --
> > PGP Public key ID: 1024D/2DE827B3
> > fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
> > See http://pgp.mit.edu or any PGP keyserver for public key.
> >
> >
> >
>
> --
> Sent from Gmail for mobile | mobile.google.com
>
> --
> PGP Public key ID: 1024D/2DE827B3
> fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
> See http://pgp.mit.edu or any PGP keyserver for public key.
>
>
>
> --
> Sent from Gmail for mobile | mobile.google.com
>
>
--
"But hey, the fact that I have better taste than anybody else in the
universe is just something I have to live with. It's not easy being
me."
--Linus Torvalds
_______________________________________________
pspp-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/pspp-dev