[Scratchbox-devel] Re: Regarding 'sb-conf install -c'
Diane Holt
holt.diane at gmail.com
Thu May 4 01:17:03 EEST 2006
Actually, never mind about this one. I can see now that host-gcc is really
only useful for building things destined to be used within the scratchbox
environment, which isn't what I'm building. (Well, "never mind" as far as
I'm concerned anyway :)
Thanks,
Diane
On 5/3/06, Diane Holt <holt.diane at gmail.com> wrote:
>
> Is there some technical reason why running it doesn't do anything for a
> host-gcc target? I get that it doesn't actually need to, but is there some
> reason it can't just go ahead and set up links anyway? The reason I ask is
> because one of the open-source components I'm building, ppp, has this in the
> Makefile for pppd:
>
> ifneq ($(wildcard /usr/include/crypt.h),)
> CFLAGS += -DHAVE_CRYPT_H=1
> #endif
> ifneq ($(wildcard /usr/lib/libcrypt.*),)
> LIBS += -lcrypt
> #endif
>
> I'll grant you that's not a terribly wonderful way for them to have done
> that check -- nor did they provide any mechanism to allow you to simply say,
> "Yes, I have that stuff" -- but, given that they did it the way they did,
> and given that one of Scratchbox's intentions is to be able to build
> open-source components without having to diddle them... :)
>
> I can script around it, but if there's no real reason why the links
> couldn't be set up, it might be worth considering doing.
>
> Thanks,
> Diane
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scratchbox.org/pipermail/scratchbox-devel/attachments/20060503/8e6e6b87/attachment.html
More information about the Scratchbox-devel
mailing list