[BRLTTY] MingW

Samuel Thibault samuel.thibault at ens-lyon.org
Mon Mar 5 05:43:13 EST 2007


Lars Bjørndal, le Mon 05 Mar 2007 11:34:02 +0100, a écrit :
> On Mon, Mar 05, 2007 at 11:00:40AM +0100, Samuel Thibault wrote:
> > Hi,
> > 
> > Lars Bjørndal, le Mon 05 Mar 2007 10:33:41 +0100, a écrit :
> > > configure:2430: checking for C compiler default output file name
> > > configure:2433: gcc    conftest.c  >&5
> > > configure:2436: $? = 0
> > > configure:2482: result: a.exe
> > > configure:2487: checking whether the C compiler works
> > > configure:2493: ./a.exe
> > > configure:2496: $? = 5
> > > configure:2505: error: cannot run C compiled programs.
> > 
> > There's a problem here indeed: the simple program
> > int main() {
> > 	return 0;
> > }
> > 
> > actually returns 5...  There's a problem with MingW here.
> > 
> 
> This is really strange, since I have not changed anything with mingw
> since last time I used it (for a longer time ago). Both, the command
> gcc and c++ seems to work?

Yes, but the resulting executable returns 5 while it should return 0...

Samuel


More information about the BRLTTY mailing list