Girish Kumar <[email protected]> writes:

> I am cross compiling nettle-3.2  for armv7 on linux. But I  am getting 
> following error.

>     $(LTOP)/nettle-3.2/configure --prefix=$(BUILT_BASE)
> --host=$(CCPREFIX) --disable-static&> $(OBJS)/nettle/configure.out
>     @touch $(OBJS)/nettle/nettle.configured

You don't say what CCPREFIX is?

>     declare -x HOSTCC=`which gcc`;\

You probably want CC_FOR_BUILD, or the old name HOST_CC. Nothing I'm
aware of examines the variable HOSTCC. And for it to have effect,
you should set it when invoking configure, not when invoking make. But
it gcc is in your PATH (which it has to be for which to find it), you
shouldn't need to set any environment variables to point it out.

>     $(MAKE) install  &> $(OBJS)/nettle/install.out
> checking build system compiler gcc... no
> checking build system compiler cc... no
> checking build system compiler c89... no
> checking build system compiler c99... no
> configure: error: Cannot find a build system compiler

For trouble-shooting configure problems liek this, you have to look in
config.log. There you should find the commands configure tries to run,
and error messages when they fail.

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.
_______________________________________________
nettle-bugs mailing list
[email protected]
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs

Reply via email to