From: Borut R. <bor...@si...> - 2003-02-10 17:57:00
|
> The folder "Program Files" has a different name in different countries (e.g. > "Programme" in germany). Hardcoding this name doesn't make sense at all. > > Searching relative to sdcc.exe (`path to sdcc.exe`\..\include) should solve > all problems. I agree. But then Johan's proposition should be changed to: <excerpt src="draft sdccman.lyx, chapter: Search Paths" status="to be approved"> binaries: - path(argv[0]) if available - getenv("SDCC_BIN_PATH") - getenv("SDCCHOME")/bin - $PATH includes: - -I - getenv("SDCC_INCLUDE_PATH") - getenv("SDCCHOME")/include - /usr/local/share/sdcc/include (for *nix and cygwin) - path(argv[0])/../include (for windoze borland and msvc) libs: - -L - getenv("SDCC_LIB_PATH")/model - getenv("SDCCHOME")/lib/model - /usr/local/share/sdcc/lib/model (for *nix and cygwin) - path(argv[0])/../lib/model (for windoze borland and msvc) docs: - /usr/local/share/sdcc/doc (for *nix and cygwin) - path("sdcc.exe")/../doc (for windoze borland and msvc) </excerpt> There are removed absolute paths for includes, libs and docs as the last resource in Windows version. P.S.: Johan, as you can see, I corrected the subject ;-)) Borut |