• Error building xHarbour for MGW64

    From Enrico Maria Giordano@21:1/5 to All on Fri Dec 29 14:18:36 2023
    I do not think it is a good idea to rename HB_ARCH 64 to w64. What about
    lines like this?

    -lvm$(HB_MT)$(HB_ARCH)$(HB_DEBUG)\

    Anyway, I'm currently getting this error:

    cc1.exe: error: CPU you selected does not support x86-64 instruction set mingw32-make: *** [winmake/compile.mak:374: obj\gc64\hbrmw64.o] Error 1

    --
    Enrico Maria Giordano

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ron Pinkas@21:1/5 to Enrico Maria Giordano on Fri Dec 29 17:13:50 2023
    Enrico Maria Giordano wrote:

    I do not think it is a good idea to rename HB_ARCH 64 to w64. What about lines like this?

    -lvm$(HB_MT)$(HB_ARCH)$(HB_DEBUG)\

    Anyway, I'm currently getting this error:

    Different archittecture even with same compiler are handled by means of %SUB_DIR% the LIBEXT rule was already corrected in make files I touched.

    Anyway I am in the middle of very intense rewrite of the Windows make
    and bld batch files. Let's review and consider all issues once I am done
    ok?

    cc1.exe: error: CPU you selected does not support x86-64 instruction set mingw32-make: *** [winmake/compile.mak:374: obj\gc64\hbrmw64.o] Error 1


    I don't have mingw and I don't believe I touched any related file.

    Ron

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Fri Dec 29 23:28:33 2023
    Il 29/12/2023 23:13, Ron Pinkas ha scritto:

    I do not think it is a good idea to rename HB_ARCH 64 to w64. What about
    lines like this?

    -lvm$(HB_MT)$(HB_ARCH)$(HB_DEBUG)\

    Anyway, I'm currently getting this error:

    Different archittecture even with same compiler are handled by means of %SUB_DIR% the LIBEXT rule was already corrected in make files I touched.

    Yes, but the result of the above line would be vmw64 instead of the
    correct vm64.

    Anyway I am in the middle of very intense rewrite of the Windows make
    and bld batch files. Let's review and consider all issues once I am done
    ok?

    Ok, no problems.

    --
    Enrico Maria Giordano

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Fri Dec 29 23:34:08 2023
    Il 29/12/2023 23:13, Ron Pinkas ha scritto:

    cc1.exe: error: CPU you selected does not support x86-64 instruction set
    mingw32-make: *** [winmake/compile.mak:374: obj\gc64\hbrmw64.o] Error 1

    I don't have mingw and I don't believe I touched any related file.

    Yes, you change this line in make_gc64.bat, that is the cause of the
    problem:

    SET HB_ARCH=w64

    Can I revert it to the correct

    SET HB_ARCH=64

    ? Please confirm.

    --
    Enrico Maria Giordano

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)