Página 1 de 1

Mingw error crtbegin

Publicado: Sab Jul 06, 2019 5:42 pm
por DC
Hi,

I just recently installed 6.2, and harbour in \xailer6\hb32.

The setup program installed mingw in c:\xailer6\hb32\comp\mingw.

The library crtbegin.o is in c:\xailer6\hb32\comp\mingw\lib\gcc\mingw32\4.9.2.

But the Xailer linker seems to be looking for these libraries in c:/xailer6/hb32/comp/mingw/Lib/gcc/i686-w64-mingw32/7.3.0.

So my error while linking is

c:\xailer6\hb32\comp\mingw\Bin\ld: cannot find c:/xailer6/hb32/comp/mingw/Lib/gcc/i686-w64-mingw32/7.3.0/crtbegin.o: No such file or directory

I'm able to compile and link with BC5.

Re: Mingw error crtbegin

Publicado: Lun Jul 08, 2019 7:53 pm
por ignacio
Hi,

Download our Harbour binaries from this link:

http://www2.xailer.com/download/?en&file=2

Regards,

Re: Mingw error crtbegin

Publicado: Vie Jul 12, 2019 2:23 am
por DC
Thanks,

But now I'm getting errors like these:

Compiling: YTVideos.prg...
c:/xailer6/hb32/comp/mingw/i686-w64-mingw32/include/crtdefs.h:123:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
c:/xailer6/hb32/comp/mingw/i686-w64-mingw32/include/crtdefs.h:138:9: error: unknown type name '__time64_t'
Compiling: frm_GetYT.prg...
c:/xailer6/hb32/comp/mingw/i686-w64-mingw32/include/crtdefs.h:123:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
c:/xailer6/hb32/comp/mingw/i686-w64-mingw32/include/crtdefs.h:138:9: error: unknown type name '__time64_t'
Compiling: functional.prg...
c:/xailer6/hb32/comp/mingw/i686-w64-mingw32/include/crtdefs.h:123:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
c:/xailer6/hb32/comp/mingw/i686-w64-mingw32/include/crtdefs.h:138:9: error: unknown type name '__time64_t'
3 Files, 0 Warnings, 6 Errors
Compile time: 7.73s Link time: 0s Total time: 7.77s


, from the line in crtdefs.h

#ifndef _TIME64_T_DEFINED
#define _TIME64_T_DEFINED
__MINGW_EXTENSION typedef __int64 __time64_t;
#endif /* _TIME64_T_DEFINED */


Anyway, I'll just continue using BC5 for the time being.

Regards,



ignacio escribió:Hi,

Download our Harbour binaries from this link:

http://www2.xailer.com/download/?en&file=2

Regards,

Re: Mingw error crtbegin

Publicado: Vie Jul 12, 2019 11:08 am
por jfgimenez
Hi,

you've surely mixed two versions of mingw. Please, reinstall our Harbour+MinGW binaries in a new EMPTY directory

Re: Mingw error crtbegin

Publicado: Sab Jul 13, 2019 3:01 pm
por DC
Ok, I understand. Completely uninstall and remove the hb32 folder, then reinstall.

Got it, thanks.

jfgimenez escribió:Hi,

you've surely mixed two versions of mingw. Please, reinstall our Harbour+MinGW binaries in a new EMPTY directory