* Missing pieces for 1.6.0 on MinGW?
@ 2008-08-02 19:05 Junio C Hamano
2008-08-03 8:52 ` Steffen Prohaska
2008-08-03 9:16 ` Johannes Sixt
0 siblings, 2 replies; 6+ messages in thread
From: Junio C Hamano @ 2008-08-02 19:05 UTC (permalink / raw)
To: Johannes Sixt; +Cc: Steffen Prohaska, Johannes Schindelin, git
Just a quick question before the weekend ends and -rc2 gets tagged. (I
lost track of that argv0 vs bin/git vs libexec/git-core/git-foo
discussion).
Are there any missing but necessary patches we need before 1.6.0 for
MinGW?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Missing pieces for 1.6.0 on MinGW?
2008-08-02 19:05 Missing pieces for 1.6.0 on MinGW? Junio C Hamano
@ 2008-08-03 8:52 ` Steffen Prohaska
2008-08-03 9:16 ` Johannes Sixt
1 sibling, 0 replies; 6+ messages in thread
From: Steffen Prohaska @ 2008-08-03 8:52 UTC (permalink / raw)
To: Junio C Hamano; +Cc: Johannes Sixt, Johannes Schindelin, git
On Aug 2, 2008, at 9:05 PM, Junio C Hamano wrote:
> Just a quick question before the weekend ends and -rc2 gets tagged.
> (I
> lost track of that argv0 vs bin/git vs libexec/git-core/git-foo
> discussion).
I haven't found time to work on this and I also haven't observed
any progress made by others.
> Are there any missing but necessary patches we need before 1.6.0 for
> MinGW?
So we don't have patches, although we still have the problem
discussed last weekend.
Unfortunately, I cannot promise that I'll find time the next couple
of days to work on the issue. I propose you just continue the
release cycle without waiting for MinGW.
Steffen
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Missing pieces for 1.6.0 on MinGW?
2008-08-02 19:05 Missing pieces for 1.6.0 on MinGW? Junio C Hamano
2008-08-03 8:52 ` Steffen Prohaska
@ 2008-08-03 9:16 ` Johannes Sixt
2008-08-03 10:10 ` Björn Steinbrink
` (2 more replies)
1 sibling, 3 replies; 6+ messages in thread
From: Johannes Sixt @ 2008-08-03 9:16 UTC (permalink / raw)
To: Junio C Hamano; +Cc: Steffen Prohaska, Johannes Schindelin, git
Zitat von Junio C Hamano <gitster@pobox.com>:
> Just a quick question before the weekend ends and -rc2 gets tagged. (I
> lost track of that argv0 vs bin/git vs libexec/git-core/git-foo
> discussion).
>
> Are there any missing but necessary patches we need before 1.6.0 for
> MinGW?
Yes, there are some open issues:
(1) git-gui was fixed for the msysgit installer, but it broke for me; but I
think I know where to fix it.
(2) the non-builtins in $(bindir) don't set argv0_path, and consequently don't
find ETC_GITCONFIG.
(3) the 'mingw_main undefined' error is still a mystery. I'm about to send a
preprocessed file to Steffen (it's a bit large, even compressed, so I'll do
that in a private mail).
Item (1) I expect to work on later today, but needs some investigation by
Steffen and perhaps Shawn. (2) is probably a minor issue. (3) is, well, a
mystery, although Steffen's patch works for me, too. Nevertheless, I'd like to
know why my original approach does not always work.
-- Hannes
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Missing pieces for 1.6.0 on MinGW?
2008-08-03 9:16 ` Johannes Sixt
@ 2008-08-03 10:10 ` Björn Steinbrink
2008-08-03 10:17 ` Steffen Prohaska
2008-08-03 10:45 ` Johannes Schindelin
2 siblings, 0 replies; 6+ messages in thread
From: Björn Steinbrink @ 2008-08-03 10:10 UTC (permalink / raw)
To: Johannes Sixt; +Cc: Junio C Hamano, Steffen Prohaska, Johannes Schindelin, git
On 2008.08.03 11:16:25 +0200, Johannes Sixt wrote:
> (3) the 'mingw_main undefined' error is still a mystery. I'm about to send a
> preprocessed file to Steffen (it's a bit large, even compressed, so I'll do
> that in a private mail).
FWIW, gcc 4.3 complains about such function declarations:
x.c:4: error: invalid storage class for function ‘foo’
Seems that gcc complains about that since 4.0, and linking failed with
older versions under some circumstances.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12738
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17205
Björn
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Missing pieces for 1.6.0 on MinGW?
2008-08-03 9:16 ` Johannes Sixt
2008-08-03 10:10 ` Björn Steinbrink
@ 2008-08-03 10:17 ` Steffen Prohaska
2008-08-03 10:45 ` Johannes Schindelin
2 siblings, 0 replies; 6+ messages in thread
From: Steffen Prohaska @ 2008-08-03 10:17 UTC (permalink / raw)
To: Johannes Sixt; +Cc: Junio C Hamano, Johannes Schindelin, git
On Aug 3, 2008, at 11:16 AM, Johannes Sixt wrote:
> Zitat von Junio C Hamano <gitster@pobox.com>:
>> Just a quick question before the weekend ends and -rc2 gets
>> tagged. (I
>> lost track of that argv0 vs bin/git vs libexec/git-core/git-foo
>> discussion).
>>
>> Are there any missing but necessary patches we need before 1.6.0 for
>> MinGW?
>
> Yes, there are some open issues:
>
> (1) git-gui was fixed for the msysgit installer, but it broke for
> me; but I
> think I know where to fix it.
I now recognized that not all hunks that I have in 4msysgit were applied
by Shawn. See separate mail
http://article.gmane.org/gmane.comp.version-control.git/91221
> (2) the non-builtins in $(bindir) don't set argv0_path, and
> consequently don't
> find ETC_GITCONFIG.
Setting argv0_path correctly wouldn't help alone. The relative
path to $prefix is different in $prefix/bin and
$prefix/libexec/git-core. Thus, we cannot do the same computation.
system_path() would need to check from which directory the computation
starts.
> (3) the 'mingw_main undefined' error is still a mystery. I'm about
> to send a
> preprocessed file to Steffen (it's a bit large, even compressed, so
> I'll do
> that in a private mail).
ok.
Steffen
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Missing pieces for 1.6.0 on MinGW?
2008-08-03 9:16 ` Johannes Sixt
2008-08-03 10:10 ` Björn Steinbrink
2008-08-03 10:17 ` Steffen Prohaska
@ 2008-08-03 10:45 ` Johannes Schindelin
2 siblings, 0 replies; 6+ messages in thread
From: Johannes Schindelin @ 2008-08-03 10:45 UTC (permalink / raw)
To: Johannes Sixt, Steve Haslam; +Cc: Junio C Hamano, Steffen Prohaska, git
Hi,
On Sun, 3 Aug 2008, Johannes Sixt wrote:
> (2) the non-builtins in $(bindir) don't set argv0_path, and consequently
> don't find ETC_GITCONFIG.
>
> (3) the 'mingw_main undefined' error is still a mystery. I'm about to
> send a preprocessed file to Steffen (it's a bit large, even compressed,
> so I'll do that in a private mail).
For both issues, IMHO Steve's patches should be superior, as they (with my
proposed lookup_program_in_path()) would not only make relative
ETC_GITCONFIG work on MinGW, but everywhere else, too. Obsoleting
mingw_main, of course.
Ciao,
Dscho
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-08-03 10:42 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-02 19:05 Missing pieces for 1.6.0 on MinGW? Junio C Hamano
2008-08-03 8:52 ` Steffen Prohaska
2008-08-03 9:16 ` Johannes Sixt
2008-08-03 10:10 ` Björn Steinbrink
2008-08-03 10:17 ` Steffen Prohaska
2008-08-03 10:45 ` Johannes Schindelin
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 NNTP newsgroup(s).