simulavr-devel
[Top][All Lists]
Advanced

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

Re: [Simulavr-devel] libbfd???


From: Klaus Rudolph
Subject: Re: [Simulavr-devel] libbfd???
Date: Sun, 06 Feb 2005 17:05:02 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.6) Gecko/20040114

Preben Mikael Bohn wrote:

Yes, always the same problem but allways the same solution:-)

The simpliest way is the compile your binutils again:
simply type "make" in your binutils directory. After that check for libbfd.a and libiberty.a.
If you could not find the files in the directories:
bfd/libbfd.a
libibertry/libiberty.a
please do:
cd bfd
make libbfd.a
cd ..
cd libiberty
make libiberty.a

After that you should provide the path to the compile directory from the binutils to the configure
script from simulavrxx. Thats it.

If this will not help, please give us a chance for debugging. For that we NEED! your build OS and version,
maybe the ditribution you use and a bit luck :-)))

Bye
 Klaus



Hi all, I am trying to build the latest simulavrxx (simulavrxx-0.8.004),
but I have run into the following bfd error during the configure step.

I can see in the archive that some other people have had the same problem,
but I can not solve it; I have tried to run the configure script in a
number of ways, including:

 ./configure
 ./configure --with-bfd-path=/root/install/binutils-2.15/bfd/
 ./configure --with-bfd-path=/root/install/binutils-2.15/
 ./configure --with-bfd-path=/root/install/binutils-2.15/obj-avr/
 CPPFLAGS=-I/root/install/binutils-2.15/bfd/
LDFLAGS=-L/root/install/binutils-2.15/bfd/ ./configure
...
etc

But they all seem to be complaining about the same error...

I compiled the binutils using
 ./configure --target=avr --disable-nls --enable-install-libbfd

What can I do about it?

Best regards Preben


*** ERROR ***

provide --with-bfd-path=path-to-your-avr-libbfd-files or
ensure your AVR cross-compipler toolset is in the path
\(read-elf is used to auto-detect where your
AVR-build libbfd library is\)

for example, user the --enable-install-libbfd flag when configuring
binutils for AVR or execute make install_libbfd from your
AVR-binutil's bfd subdirectory to install the AVR-binutils version of
libbfd. Observe where the files are installed. For example:
--with-bfd-path=/home/some_user/install/i686-pc-linux-gnu/avr

This will make include/bfd.h and lib/libbfd.a available as required by
this package

alternatively you may just keep your AVR-binutils build files around and
point to the bfd sibdirecotry there.





_______________________________________________
Simulavr-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/simulavr-devel








reply via email to

[Prev in Thread] Current Thread [Next in Thread]