Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document build from command line #4556

Open
gogo2464 opened this issue Jul 3, 2024 · 0 comments
Open

document build from command line #4556

gogo2464 opened this issue Jul 3, 2024 · 0 comments

Comments

@gogo2464
Copy link
Contributor

gogo2464 commented Jul 3, 2024

Is your feature request related to a problem? Please describe.
I want to build rizin in full command line. Sadly I alway install a malware using choco install --yes mingw and maybe another package. I could add documentation on this.

I am over frustrated because I would like to install with chocolatey with no virus.

Could you first just ensure my script is correct and virus free please?

Describe the solution you'd like

I would like to document the usage of this script:

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))

choco install --yes git

choco install --yes visualstudio2022community
choco install --yes visualstudio2022-workload-nativedesktop
choco install --yes visualstudio2022buildtools
choco install --yes microsoft-build-tools
choco install --yes meson ninja
choco install --yes llvm
# choco install --yes mingw # may be a malware


& "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\Tools\LaunchDevCmd.bat"
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64

git clone --recurse-submodules https://github.com/rizinorg/rizin.git

cd rizin
mkdir "C:\dest"
meson --buildtype release --prefix "C:\dest" build
ninja -C build
ninja -C build install

#viruses:
# - mingw

to build rizin from source in win cmd line.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant