[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Some changes for FreeBSD



On Thu, 23 Nov 2000, Wichert Akkerman wrote:
> >  * New way of detecting architecture in configure script. Just compare
> >    begining of line
> >  * If --print-libgcc-file-name gives wrong output, just fallback to 
> >    default and print warning message
> 
> I want to look a bit more at these two, somehow I'm not completely
> comfortable with them.

Ok, but remember, config.guess returns the string with ${UNAME_RELEASE}
at the end for many of OS-es (i.e. *BSD, SunOS, HP-UX). I think we 
should agree with this standard, as far as it isn't reasonable to change
archtable with new release of such OS.

Also, at this time I had to make a wrapper for gcc:

#!/bin/sh
case "$1" in
  --print-libgcc-file-name) 
    echo /usr/lib/gcc-lib/i386-freebsd/0.0.0/libgcc.a;;
  *)
    exec /usr/bin/gcc.real $*
esac

Ok, I understand I have broken OS, but I don't cross compile my packages.
I just need to fallback to default achitecture.

Thanks,
-- 
Piotr Roszatycki | SD Specialist
Internetia Telekom Sp. z o.o.
Netia Holdings S.A. | PL 00-822 Warszawa, ul. Poleczki 13
tel. +48 (22) 648 45 00 wew. 2068



Reply to: