Hi, Now I am working on BCC Cross-compiler in order to get the binaries for LEON3 (Google SoC 2007). I changed these lines of Makefile ... CC = gcc CPP = gcc -E ... to these : CC = sparc-elf-gcc -mv8 -msoft-float CPP = sparc-elf-gcc -mv8 -msoft-float -E The options means: -mv8 : generate SPARC V8 instructions -msoft-float : emulate floating-point When I run "make", there is a error: libtool: compile: unable to infer tagged configuration libtool: compile: specify a tag with `--tag' I think the libtool is linking some libraries of gcc instead of sparc-elf-gcc. How can I change this? is it in "configure" file? Thanks, Andr? Costa PS: I wasn't getting to communicate with the LEON in FPGA by serial interface, but I discovered the problem. The number code of my FPGA was slightly different. The difference was just in mapping of pins. When I changed of FPGA (to a cyclone), I got to run a hello word! For while I am using the cyclone, but after I will need to map all the pins. -- Andr? Costa Gerente T?cnico Projeto BrazilIP LSC IC-UNICAMP Cel: + 55 13 9201 1870 http://www.brazilip.org.br/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/theora-dev/attachments/20070524/d807f6b7/attachment.html
On Thu, May 24, 2007 at 06:19:20PM -0300, Andr? Costa wrote:> Now I am working on BCC Cross-compiler in order to get the binaries for > LEON3 (Google SoC 2007).Woohoo! :)> I changed these lines of Makefile ... > > CC = sparc-elf-gcc -mv8 -msoft-float > CPP = sparc-elf-gcc -mv8 -msoft-float -EI agree libtool is probably not picking up on the change. Try something like CC="sparc-elf-gcc -mv8 -msoft-float" ./configure --target=sparc-elf and see if that works better. The GNU autotools generally have very poor support for cross-compilation though. It is probably worth just writing a custom makefile for it. Copy the list of relevent files from lib/(*/)Makefile.am and copy the relevent defines from config.h.in. You probably want: #define THEORA_DISABLE_ENCODE 1 I don't think the library requires any of the others. -r> PS: I wasn't getting to communicate with the LEON in FPGA by serial > interface, but I discovered the problem. The number code of my FPGA was > slightly different. The difference was just in mapping of pins. When I > changed of FPGA (to a cyclone), I got to run a hello word! For while I am > using the cyclone, but after I will need to map all the pins.
Maybe Matching Threads
- Theora hardware is running on LEON3!
- Theora Hardware: Integration with LEON is completed!
- Supermicro AOC-SAT2-MV8 and 1TB Seagate Barracuda ES.2
- compilation bug
- [LLVMdev] subtle issue with soft-float and new attribute scheme (possibly an issue with other attributes)