[BRLTTY] Bug report MingW

Samuel Thibault samuel.thibault at ens-lyon.org
Wed Mar 22 03:30:26 EST 2006


Lars Bjørndal, le Wed 22 Mar 2006 09:03:33 +0100, a écrit :
> Samuel Thibault <samuel.thibault at ens-lyon.org> writes:
> ...
> > This is really strange: I just tried on my machine, and this works
> > except some errors in Programs/auth.c (btw, Dave, you should try
> > compiling in mingw for fixing this.)
> >
> > Could you send the output of
> > gcc -Wall -g -O2 -DWINVER=0X0501 -I. -I.. -I. -I..  -DHAVE_CONFIG_H -E ./sys_windows.c
> > ?
> 
> OK:
> 
> In file included from ./sys_windows.c:25:
> sys_boot_none.h:18: warning: #warning boot parameter retrieval not available on this platform
> In file included from sys_beep_windows.h:19,
>                  from ./sys_windows.c:31:
> sys_beep_none.h:18: warning: #warning console beep support not available on this platform
> # 1 "./sys_windows.c"
>  
> # 1 "../prologue.h" 1
>  
> 
> 
> # 51 "../prologue.h"
> 
> 
> # 1 "/usr/include/sys/types.h" 1 3

Ah, here is the issue: #if defined(__CYGWIN32__) || defined(__MINGW32__)
fails... I guess we don't have the same version of MSYS. Could you try
to run

sed -i -e "s/__MINGW32__/__MSYS__/g" $(grep -rl __MINGW32__ .)

from the brltty sources directory, for replacing all __MINGW32__
occurrences with __MSYS__?

(Dave, we will probably have to add "|| defined(__MSYS__)"
everywhere...)

Regards,
Samuel


More information about the BRLTTY mailing list