Subject: Re: ldconfig and ld.aout_so on m68k ELF
To: None <steve@mctavish.co.uk>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-m68k
Date: 03/20/2001 06:08:16
In <Pine.NEB.4.33.0103192051550.6938-100000@oor-wullie.mctavish.co.uk>
steve@mctavish.co.uk wrote:
> I agree that someone should produce a hacked up ld.so which looks for
> a.out libs in some place other than /usr/lib. Only then can the alternate
> search path in COMPAT_AOUT_M68K be ditched.
-current ld.aout_so seems to have its support already.
In ld.aout_so/shlib.c, add_search_dir() has the following lines:
search_dirs[n_search_dirs - 1] =
xmalloc(sizeof(_PATH_EMUL_AOUT) + strlen(name));
strcpy(search_dirs[n_search_dirs - 1], _PATH_EMUL_AOUT);
Or some other special procedure is needed?
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp