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 <[EMAIL PROTECTED]> 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

_______________________________________________
Scratchbox-devel mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-devel

Reply via email to