코딩Coding/make★gcc★&g++★clang★compiler
윈도우에서 build.sh 실행하는 방법.
내인생PLUS
2022. 9. 28. 12:20
728x90
https://stackoverflow.com/questions/26522789/how-to-run-sh-on-windows-command-prompt
How to run .sh on Windows Command Prompt?
How can I run .sh on Windows 7 Command Prompt? I always get this error when I try to run this line in it, app/build/build.sh error, 'app' is not recognized... or, bash app/build/build.sh erro...
stackoverflow.com
https://community.chocolatey.org/packages/git
Git 2.37.3
Git for Windows offers a native set of tools that bring the full feature set of the Git SCM to Windows
community.chocolatey.org
1. choco 에서 git 설치하기
choco install git
2. Path 설정 - 윈도우 환경변수 설정
C:\Program Files\Git\bin
내가 만든 build.sh 가서
$ sh ./build.sh
Ada프로그래밍 기준
build.sh 파일
#!bin/bash
gcc -c hello.adb
gnatbind -x hello.ali
gnatlink hello.ali -o hello
./hello.exe
End Good!
반응형