From: Borut R. <bor...@si...> - 2003-05-12 19:29:23
|
Hi Bernhard, > The failure is "else if". E.g. on linux pathof(argv[0]) is always available. > With the current solution /usr/local/share/sdcc/lib/<model> is never used. The workaround in this case is to define SDCC_LIB env. variable, which points to /usr/local/share/sdcc/lib. > It's necessary, that _all_ paths are searched, if available. This results in > several -I arguments for sdcpp, several -k lines for aslink and several > binary search paths. This requires some deeper changes in SDCC. Currently the include and library paths are held in {libdir} and {includedir} macros, which means that only one path can be defined. For now I just fixed the problem in the way that it (hopefully ;-) works as it did before my last commit. It will take some more time to implement the possibility to have several include and lib paths, but I'll work on it. Borut |