[24383] in Kerberos

home help back first fref pref prev next nref lref last post

Re: Problem building an API program against 1.4.1

daemon@ATHENA.MIT.EDU (Ken Hornstein)
Mon Aug 1 14:32:34 2005

Message-Id: <200508011831.j71IVe0o000906@ginger.cmf.nrl.navy.mil>
To: kerberos@mit.edu
In-Reply-To: <amk6j6c6od.fsf@nutcracker.it.su.se> 
Date: Mon, 01 Aug 2005 14:31:41 -0400
From: Ken Hornstein <kenh@cmf.nrl.navy.mil>
Errors-To: kerberos-bounces@mit.edu

>> gcc -c ${source} `${newly_installed_krb5}/bin/krb5-config --cflags`
>> ...
>> gcc -o ${target} ${objects} \
>> 	`${newly_installed_krb5}/bin/krb5-config --libs`
>>
>> ? or (to possibly uncover a bone of contention) does krb5-config not
>> emit -R options?
>
>krb5-config can't not safely emit -R options because it doesn't know what
>cc is used.

Hm.  I think we have a problem here.  Certainly MIT's krb5-config emits
-R options (on the appropriate platform), and the autoconf glue that
I've written assumes that it does.  I was under the impression that
gcc (at least on Solaris) passes -R options to ld unmolested (I just
tested that, and that's true on Solaris).

--Ken
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post