Skip to content

can't build V under windows 7 32b #23137

@21h

Description

@21h

Describe the bug

Got from winlibs.com last version of gcc with MSVCRT runtime for win32 (with LLVM)
Unpacked gcc to c:\mingw
Added c:\mingw\bin and c:\mingw\i686-w64-mingw32\include to PATH
Build V:

git clone https://github.com/vlang/v
cd v
.\make.bat -gcc --local

Reproduction Steps

Output:

C:\apps\v>make -gcc --local
Building V...
 > Attempting to build "./v_win_bootstrap.exe" (from v_win.c) with GCC
./vc/v_win.c:531: No include path in which to find inttypes.h
./vc/v_win.c:544: No include path in which to find stddef.h
./vc/v_win.c:871: No include path in which to find stdio.h
./vc/v_win.c:872: No include path in which to find stdlib.h
./vc/v_win.c:873: No include path in which to find string.h
./vc/v_win.c:875: No include path in which to find stdarg.h
./vc/v_win.c:899: #error "Unknown architecture endianness"
./vc/v_win.c:949: No include path in which to find windows.h
./vc/v_win.c:951: No include path in which to find io.h
./vc/v_win.c:952: No include path in which to find direct.h
./vc/v_win.c:954: No include path in which to find signal.h
./vc/v_win.c:1021: No include path in which to find stdint.h
./vc/v_win.c:1166: No include path in which to find float.h
./vc/v_win.c:1181: No include path in which to find time.h
./vc/v_win.c:1196: No include path in which to find time.h
./vc/v_win.c:1222: No include path in which to find stddef.h
./vc/v_win.c:1223: No include path in which to find stdint.h
./vc/v_win.c:1224: No include path in which to find windows.h
./vc/v_win.c:1579: No include path in which to find winsock2.h
./vc/v_win.c:1594: No include path in which to find sys\stat.h
./vc/v_win.c:1599: No include path in which to find errno.h
./vc/v_win.c:1612: No include path in which to find process.h
./vc/v_win.c:1627: No include path in which to find sys\utime.h
./vc/v_win.c:1642: No include path in which to find windows.h
./vc/v_win.c:1657: No include path in which to find signal.h
./vc/v_win.c:1672: No include path in which to find synchapi.h
./vc/v_win.c:1687: No include path in which to find time.h
./vc/v_win.c:15361: No include path in which to find synchapi.h
In most cases, compile errors happen because the version of GCC installed is too old
2.95

Backend compiler error

Exiting from error
ERROR: please follow the instructions in https://github.com/vlang/v/wiki/Installing-a-C-compiler-on-Windows

C:\apps\v>

Expected Behavior

Build of V is completed

Current Behavior

GCC can't find header files

Possible Solution

No response

Additional Information/Context

No response

V version

master

Environment details (OS name and version, etc.)

Windows 7, 32 bit

Note

You can use the 👍 reaction to increase the issue's priority for developers.

Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.

Huly®: V_0.6-21574

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugThis tag is applied to issues which reports bugs.Compiler: GCCBugs/feature requests, that are related to compiler GCC.OS: WindowsBugs/feature requests, that are specific to Windows OS.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions