From: Alexandre Oliva (oliva@dcc.unicamp.br)
Date: Wed Jan 13 1999 - 14:26:18 EST
On Jan 13, 1999, Godmar Back <gback@cs.utah.edu> wrote:
> What does "takes care of it" mean?
> The oskit's script will break if you attempt to invoke them with "-lc",
> or "-lm", for that matter. That's because there's no libc.a.
> It's called liboskit_c.a.
> My understanding is that configure should respect my choice of
> CC and figure out whether it's cross-compiling or not. It tests
> for it, does it not?
Yep, it tests whether it can run a program generated by the selected
compiler. If it can, it believes it's not cross compiling. Anyway,
you're explicitly specifying that `host' is i386-oskit, so it should
be all right.
We might benefit from a libtool port to oskit, otherwise it will do
everything as simple as possible, building only static libraries, and
assuming inter-library dependencies must all be resolved at program
link-time (after all, there are no shared libraries to make things
harder).
However, there's the -lc issue. Around line 1450 of ltmain.sh,
there's a case that excludes some systems, such as cygwin, mingwin and
os2, from explicitly adding -lc. We might add *-oskit (or *-*-oskit,
as it should have probably been) to this exclusion list, as a first
step in porting libtool to oskit. Would that help you? Would you
please give it a try before I go ahead and install it in libtool?
-- Alexandre Oliva http://www.dcc.unicamp.br/~oliva aoliva@{acm.org} oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org} Universidade Estadual de Campinas, SP, Brasil
This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:41 EDT