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

Re: [Sheflug] autoconf help



On Alex Hudson wrote:
> I presume you're after Linux on MIPs? 

yes

>which won't be glibc unless you're on a GNU platform.

linux-vr

> And.. why can't you do the compile on the MIPs machine? Or is that too
> easy???

i suppose it would be possible.... havn't located any tools for the device at 
the mo..... but vr4100  [at]  66mhz won't exactly provide a speedy comile ;-)

> Given you're using autoconf, is there any reason why:
>
>     ./configure --target=mipsel-linuxelf
>
> .. doesn't work?
>

i havn't tried to be honest as linuxelf is not listed as an explicit option. 
the configure.in gives the following options

if test "$GCC" = yes
then
    if test -z "$arch"
    then
	case "$host" in
	    i386-*)           ;;
	    i?86-*)           arch="-m486" ;;
	    arm*-empeg-*)     arch="-march=armv4 -mtune=strongarm1100" ;;
	    armv4*-*)         arch="-march=armv4 -mtune=strongarm" ;;
	    powerpc-*)        ;;
	    mips*-agenda-*)   arch="-mcpu=vr4100" ;;
	    mips*-luxsonor-*) arch="-mips1 -mcpu=r3000 -Wa,-m4010" ;;
	esac
    fi

i've tried ./configure --build=mips and several variations (including 
--target=) with no joy should i be looking at the 'mips*-agenda-*)' or 
-'mcpu=vr4100' ?

sintax is probably important here so advice on this would be welcome.
every time i try to configure, it defaults to '-m486'

-- 
Thanks,
        Ross
               ross.h [at] ntlworld.com
_______________________________________________________
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.