In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

Mingw error crtbegin

Xailer professional forum in English
Responder
DC
Mensajes: 122
Registrado: Lun May 16, 2011 6:06 pm

Mingw error crtbegin

Mensaje 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.
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9246
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Re: Mingw error crtbegin

Mensaje por ignacio »

Hi,

Download our Harbour binaries from this link:

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

Regards,
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
DC
Mensajes: 122
Registrado: Lun May 16, 2011 6:06 pm

Re: Mingw error crtbegin

Mensaje 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,
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5706
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Re: Mingw error crtbegin

Mensaje por jfgimenez »

Hi,

you've surely mixed two versions of mingw. Please, reinstall our Harbour+MinGW binaries in a new EMPTY directory
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
DC
Mensajes: 122
Registrado: Lun May 16, 2011 6:06 pm

Re: Mingw error crtbegin

Mensaje 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
Responder