Cannot cross compile to freebsd
, windows
works fine
#22333
Labels
Bug
This tag is applied to issues which reports bugs.
OS: FreeBSD
Bugs/feature requests, that are specific to FreeBSD OS.
Describe the bug
I have a project that is written in V and only depends on standard V modules. I am on
linux
and cross-compilation towindows
works fine but I get a linker error when trying the same withfreebsd
.Reproduction Steps
Create the following file
main.v
Linux on Linux:
Windows on Linux:
FreeBSD on Linux:
See output below in Current Behavior section.
Expected Behavior
Should compile a FreeBSD executable.
Current Behavior
Possible Solution
No response
Additional Information/Context
No response
V version
V 0.4.7 372a402
Environment details (OS name and version, etc.)
V full version: V 0.4.7 fd7986c.372a402
OS: linux, "CachyOS"
Processor: 12 cpus, 64bit, little endian, 13th Gen Intel(R) Core(TM) i5-1335U
getwd: /home/dylan/Repos/rr-dl
vexe: /home/dylan/Repos/v/v
vexe mtime: 2024-09-27 17:15:42
vroot: OK, value: /home/dylan/Repos/v
VMODULES: OK, value: /home/dylan/.vmodules
VTMP: OK, value: /tmp/v_1000
Git version: git version 2.46.2
Git vroot status: weekly.2023.45.1-1895-g372a4021
.git/config present: true
CC version: cc (GCC) 14.2.1 20240910
thirdparty/tcc status: thirdparty-linux-amd64 a0799a5
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.
The text was updated successfully, but these errors were encountered: