tech-pkg archive

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

Re: Can someone help me to update avr packages?



Dima Veselov wrote:

> Hi!
> 
> I am interested in avr tools on NetBSD-i386 and found packages too old and 
> not working.
> 
> Currently i am trying to update avr-gcc package to gcc 4.3.2, but have 
> problems, since my knowledge in pkgsrc is pretty low.
> 
> For now I have strange problem with configure - it runs different in same 
> conditions. It runs from pkgsrc make like that:
> ./configure --with-mpfr=/usr/pkg --with-gmp=/usr/pkg --target=avr 
> --prefix=/usr/pkg --host=i386--netbsdelf --mandir=/usr/pkg/man
> 
> But being run from shell I get everything working, in particular from 
> config.log:
> 
> configure:4487: checking for correct version of gmp.h
> configure:4510: gcc -c -g -O2 -I/usr/pkg/include -I/usr/pkg/include  
> conftest.c >&5
> configure:4516: $? = 0
> configure:4520: test -z 
> 
> ... And it runs ok.
> 
> Being run from pkgsrc make config.log says:
> 
> configure:4510: gcc -c -O2 -I/usr/pkg/include -I/usr/pkg/include  conftest.c 
> >&5
> conftest.c:12:17: error: gmp.h: No such file or directory
> 
> I wonder how gcc can or can't find gmp.h with same -I flags?


Is this for the 8 or 32 bit avrs?
Have you looked at wip/gcc43?

--
When in doubt, use brute force.

Adam Hoka <ahoka%NetBSD.org@localhost>
Adam Hoka <ahoka%MirBSD.de@localhost>
Adam Hoka <adam.hoka%gmail.com@localhost>

Attachment: pgp3E8KgIGxba.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index