unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Re: [Guile-commits] GNU Guile branch, wip-1-8-mingw-build, updated. release_1-8-7-22-g7edad77
       [not found] <E1NnhBU-0002dm-1u@vcs-noshell.in.savannah.gnu.org>
@ 2010-03-06 22:22 ` Ludovic Courtès
  2010-03-07 22:30   ` Neil Jerram
  0 siblings, 1 reply; 7+ messages in thread
From: Ludovic Courtès @ 2010-03-06 22:22 UTC (permalink / raw)
  To: Neil Jerram; +Cc: guile-devel

Hi Neil,

"Neil Jerram" <neil@ossau.uklinux.net> writes:

> commit f41529c37b4a740aa555741ca78faa55fafcb3c0
> Author: Neil Jerram <neil@ossau.uklinux.net>
> Date:   Tue Mar 2 23:23:52 2010 +0000
>
>     Make test scripts check GUILE environment variable
>     
>     So that they use the guile (or guile.exe, in the MinGW case) that was
>     just built, and not just any guile that can be found in the PATH.

The ‘TESTS_ENVIRONMENT’ variable in ‘test-suite/standalone/Makefile.am’
normally ensures that tests are run with the just-built guile, when run
with ‘make check’.

Thanks,
Ludo’.




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Guile-commits] GNU Guile branch, wip-1-8-mingw-build, updated. release_1-8-7-22-g7edad77
  2010-03-06 22:22 ` [Guile-commits] GNU Guile branch, wip-1-8-mingw-build, updated. release_1-8-7-22-g7edad77 Ludovic Courtès
@ 2010-03-07 22:30   ` Neil Jerram
  2010-03-26  0:31     ` Neil Jerram
  0 siblings, 1 reply; 7+ messages in thread
From: Neil Jerram @ 2010-03-07 22:30 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guile-devel

ludo@gnu.org (Ludovic Courtès) writes:

> Hi Neil,
>
> "Neil Jerram" <neil@ossau.uklinux.net> writes:
>
>> commit f41529c37b4a740aa555741ca78faa55fafcb3c0
>> Author: Neil Jerram <neil@ossau.uklinux.net>
>> Date:   Tue Mar 2 23:23:52 2010 +0000
>>
>>     Make test scripts check GUILE environment variable
>>     
>>     So that they use the guile (or guile.exe, in the MinGW case) that was
>>     just built, and not just any guile that can be found in the PATH.
>
> The ‘TESTS_ENVIRONMENT’ variable in ‘test-suite/standalone/Makefile.am’
> normally ensures that tests are run with the just-built guile, when run
> with ‘make check’.

Thanks.  I'll look into this more carefully then.

     Neil




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Guile-commits] GNU Guile branch, wip-1-8-mingw-build, updated. release_1-8-7-22-g7edad77
  2010-03-07 22:30   ` Neil Jerram
@ 2010-03-26  0:31     ` Neil Jerram
  2010-03-26 12:07       ` Andy Wingo
  0 siblings, 1 reply; 7+ messages in thread
From: Neil Jerram @ 2010-03-26  0:31 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guile-devel

Neil Jerram <neil@ossau.uklinux.net> writes:

> ludo@gnu.org (Ludovic Courtès) writes:
>
>> Hi Neil,
>>
>> "Neil Jerram" <neil@ossau.uklinux.net> writes:
>>
>>> commit f41529c37b4a740aa555741ca78faa55fafcb3c0
>>> Author: Neil Jerram <neil@ossau.uklinux.net>
>>> Date:   Tue Mar 2 23:23:52 2010 +0000
>>>
>>>     Make test scripts check GUILE environment variable
>>>     
>>>     So that they use the guile (or guile.exe, in the MinGW case) that was
>>>     just built, and not just any guile that can be found in the PATH.
>>
>> The ‘TESTS_ENVIRONMENT’ variable in ‘test-suite/standalone/Makefile.am’
>> normally ensures that tests are run with the just-built guile, when run
>> with ‘make check’.
>
> Thanks.  I'll look into this more carefully then.

FWIW, the problem was the ".exe" extension that the MinGW cross-build
adds to generated executables.  On Linux, even if you have Wine
installed, so that NAME.exe is runnable, and even if NAME.exe is in the
PATH, the shell won't find NAME.exe if you ask it for NAME.

(When compiling on Windows I would guess that there isn't this problem.
CMD.EXE will certainly find NAME.exe, and I can imagine that the MSYS
shell has been patched to do that too.)

But anyway, following more careful thinking and feedback from the
"Reconsideration of MinGW" thread, I think that that method of
cross-building (i.e. with a cross-compiler and Wine on Linux) is pretty
unfruitful and I don't propose to continue it.

I'll leave the wip-1-8-mingw-build branch in the repository, in case
it's of interest, and because I don't know if branches can be deleted.
Is there a nice way of marking a branch as obsolete/historical, or of
adding an explanatory note to it?

Regards,
     Neil




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Guile-commits] GNU Guile branch, wip-1-8-mingw-build, updated. release_1-8-7-22-g7edad77
  2010-03-26  0:31     ` Neil Jerram
@ 2010-03-26 12:07       ` Andy Wingo
  2010-03-26 13:37         ` Thien-Thi Nguyen
  2010-03-26 22:17         ` Neil Jerram
  0 siblings, 2 replies; 7+ messages in thread
From: Andy Wingo @ 2010-03-26 12:07 UTC (permalink / raw)
  To: Neil Jerram; +Cc: Ludovic Courtès, guile-devel

On Fri 26 Mar 2010 01:31, Neil Jerram <neil@ossau.uklinux.net> writes:

> Neil Jerram <neil@ossau.uklinux.net> writes:
>
> But anyway, following more careful thinking and feedback from the
> "Reconsideration of MinGW" thread, I think that that method of
> cross-building (i.e. with a cross-compiler and Wine on Linux) is pretty
> unfruitful and I don't propose to continue it.

We have a cross-compilation problem in general right now, no?

Thinking a little about this, I would think that you would need a C
cross-compiler, and a Guile cross-compiler. So Guile's build needs a way
to specify a Guile to use during the build process.

> I'll leave the wip-1-8-mingw-build branch in the repository, in case
> it's of interest, and because I don't know if branches can be deleted.

To delete, git push origin :wip-1-8-mingw-build. (I'm not suggesting
that the branch be deleted.)

> Is there a nice way of marking a branch as obsolete/historical, or of
> adding an explanatory note to it?

I don't know. It would only be for purposes of gitweb/cgit, I don't
think git has this concept.

Andy
-- 
http://wingolog.org/




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Guile-commits] GNU Guile branch, wip-1-8-mingw-build, updated. release_1-8-7-22-g7edad77
  2010-03-26 12:07       ` Andy Wingo
@ 2010-03-26 13:37         ` Thien-Thi Nguyen
  2010-03-26 22:42           ` Neil Jerram
  2010-03-26 22:17         ` Neil Jerram
  1 sibling, 1 reply; 7+ messages in thread
From: Thien-Thi Nguyen @ 2010-03-26 13:37 UTC (permalink / raw)
  To: guile-devel

() Andy Wingo <wingo@pobox.com>
() Fri, 26 Mar 2010 13:07:24 +0100

   On Fri 26 Mar 2010 01:31, Neil Jerram <neil@ossau.uklinux.net> writes:

   > Is there a nice way of marking a branch as obsolete/historical, or of
   > adding an explanatory note to it?

   I don't know. It would only be for purposes of gitweb/cgit, I don't
   think git has this concept.

Perhaps "git tag" with some kind of conventional prefix?  E.g.,

$ { date -u +"%F %T UTC" ; echo ; } > TMP
$ cat >>TMP <<EOF
This branch is live|dead|zombified|historic|pickled|putrescent|etc.
We keep it around because <explanation>.
If you delete it, someone might complain.
If you add to it, you probably are confused.
EOF
$ git tag -F TMP BRANCH-NAME-nb

This way one can easily ignore *-nb tags.  Using a suffix ensures
that the tag hierarchy mirrors the branch hierarchy (if any).

thi




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Guile-commits] GNU Guile branch, wip-1-8-mingw-build, updated. release_1-8-7-22-g7edad77
  2010-03-26 12:07       ` Andy Wingo
  2010-03-26 13:37         ` Thien-Thi Nguyen
@ 2010-03-26 22:17         ` Neil Jerram
  1 sibling, 0 replies; 7+ messages in thread
From: Neil Jerram @ 2010-03-26 22:17 UTC (permalink / raw)
  To: Andy Wingo; +Cc: Ludovic Courtès, guile-devel

Andy Wingo <wingo@pobox.com> writes:

> We have a cross-compilation problem in general right now, no?

Not that I'm aware of; at least not for branch_release-1-8.  I think the
problems that drove me to conclude that MinGW cross-compilation isn't
productive are all Windows-specific, to do with differences between the
emulated build environment and a real Windows environment.

> Thinking a little about this, I would think that you would need a C
> cross-compiler, and a Guile cross-compiler. So Guile's build needs a way
> to specify a Guile to use during the build process.

We have this: GUILE_FOR_BUILD.

However, that prompts me to realize that perhaps I'm not really
addressing your question properly.  Because for my MinGW/Wine build I
actually had to suppress the use of GUILE_FOR_BUILD (see [1]).  So
perhaps what I've been doing isn't actually cross-compiling in the sense
that you're thinking.

[1] http://git.savannah.gnu.org/gitweb/?p=guile.git;a=commit;h=c9e1f32768232495d1452a45110115ac7c035acd

>> I'll leave the wip-1-8-mingw-build branch in the repository, in case
>> it's of interest, and because I don't know if branches can be deleted.
>
> To delete, git push origin :wip-1-8-mingw-build. (I'm not suggesting
> that the branch be deleted.)

Ah yes, thanks.

Regards,
       Neil




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Guile-commits] GNU Guile branch, wip-1-8-mingw-build, updated. release_1-8-7-22-g7edad77
  2010-03-26 13:37         ` Thien-Thi Nguyen
@ 2010-03-26 22:42           ` Neil Jerram
  0 siblings, 0 replies; 7+ messages in thread
From: Neil Jerram @ 2010-03-26 22:42 UTC (permalink / raw)
  To: Thien-Thi Nguyen; +Cc: guile-devel

Thien-Thi Nguyen <ttn@gnuvola.org> writes:

> Perhaps "git tag" with some kind of conventional prefix?  E.g.,
>
> $ { date -u +"%F %T UTC" ; echo ; } > TMP
> $ cat >>TMP <<EOF
> This branch is live|dead|zombified|historic|pickled|putrescent|etc.
> We keep it around because <explanation>.
> If you delete it, someone might complain.
> If you add to it, you probably are confused.
> EOF
> $ git tag -F TMP BRANCH-NAME-nb

That's great, thanks.

I skipped the date, because git tags are dated anyway.  And I preferred
a prefix "branch-notes/" than a suffix "-nb".

I think the result works very well in the web interface (at least
gitweb, I haven't tried cgit yet).

Regards,
        Neil




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-03-26 22:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <E1NnhBU-0002dm-1u@vcs-noshell.in.savannah.gnu.org>
2010-03-06 22:22 ` [Guile-commits] GNU Guile branch, wip-1-8-mingw-build, updated. release_1-8-7-22-g7edad77 Ludovic Courtès
2010-03-07 22:30   ` Neil Jerram
2010-03-26  0:31     ` Neil Jerram
2010-03-26 12:07       ` Andy Wingo
2010-03-26 13:37         ` Thien-Thi Nguyen
2010-03-26 22:42           ` Neil Jerram
2010-03-26 22:17         ` Neil Jerram

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).