make的指令搜尋路徑 - Linux
By Cara
at 2020-11-18T22:49
at 2020-11-18T22:49
Table of Contents
PATH=/cygdrive/c/Program\ Files/SDCC/bin/:$PATH make
我的makefile:
CC = sdcc.exe
$ make
/bin/sh: sdcc: command not found
-------------------------
PATH不去動他
CC = /cygdrive/c/Program\ Files/SDCC/bin/sdcc.exe
$make
(正常輸出,直到)
ldxxxxx: command not found
目前有點一頭霧水,要怎樣讓make到指定的位置找編譯工具呢?
環境: mobaxterm, 骨子裡是cygwin
不過sdcc是一般windows binary
--
我的makefile:
CC = sdcc.exe
$ make
/bin/sh: sdcc: command not found
-------------------------
PATH不去動他
CC = /cygdrive/c/Program\ Files/SDCC/bin/sdcc.exe
$make
(正常輸出,直到)
ldxxxxx: command not found
目前有點一頭霧水,要怎樣讓make到指定的位置找編譯工具呢?
環境: mobaxterm, 骨子裡是cygwin
不過sdcc是一般windows binary
--
Tags:
Linux
All Comments
By Isla
at 2020-11-22T16:09
at 2020-11-22T16:09
By Mia
at 2020-11-26T12:30
at 2020-11-26T12:30
By Puput
at 2020-11-27T23:03
at 2020-11-27T23:03
By Caroline
at 2020-11-30T03:49
at 2020-11-30T03:49
By Andrew
at 2020-12-01T06:25
at 2020-12-01T06:25
By Doris
at 2020-12-03T03:59
at 2020-12-03T03:59
By Ophelia
at 2020-12-04T05:47
at 2020-12-04T05:47
By Brianna
at 2020-12-08T00:55
at 2020-12-08T00:55
By Frederica
at 2020-12-11T23:35
at 2020-12-11T23:35
Related Posts
時間增減的計算
By Thomas
at 2020-11-16T10:31
at 2020-11-16T10:31
Ubuntu20.04 安裝bootloader?
By John
at 2020-11-14T07:04
at 2020-11-14T07:04
wps搭配hime輸入法
By Bethany
at 2020-11-13T14:47
at 2020-11-13T14:47
bash 空白行導致 command not found
By Valerie
at 2020-11-13T10:42
at 2020-11-13T10:42
CentOS 8怎麼只刪除GUI
By Sarah
at 2020-11-12T23:41
at 2020-11-12T23:41