코딩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
https://community.chocolatey.org/packages/git
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!
반응형