On 27/11/2012, at 4:51 PM, ETANI NORIKO wrote:

> Dear Sirs,
> 
> 
> I am researching the status quo of embedded Linux and find out your website 
> of "Embedded Linux Conference 2013". We are looking for the engineer at a 
> distributor side in order to consult our implementation issues and improve 
> embedded Linux for our system. We have developed high-level API for many-core 
> system based on OpenCL sponsored by NEDO in Japan.
> 
> Our development environments are as follows.
> PC: Sony VAIO
> OS: Windows 7 Professional Service Pack 1 
> VM: VMware Player 4.0.3
> HOST: 32-bit Fedora 16
> TARGET: MIPS typed Linux created with GNU Linux GCC and uClibc
> 
> We found out the following 3 vital implementation issues in our development.
> 1. MPFR and GMP should be available for "LD" to link some object files and 
> create a binary file.
> The MPFR library is a C library for multiple-precision floating-point 
> computations with correct rounding. GMP is a free library for arbitrary 
> precision arithmetic, operating on signed integers, rational numbers, and 
> floating point numbers. These libraries are installed into GCC compiler. So, 
> a binary file executed on device core for computing in many-core system 
> cannot use them because it is created with "LD".

It sounds like you want to create a cross-compiler toolchain (binutils, GCC) 
and use it to generate Linux/uClibc rootfs for your MIPS target.  I.e., the 
compiler will run on x86 and generate code MIPS.

Building a cross-toolchain is a difficult task, weeks of work if you don't know 
exactly what you are doing.  Get one of the precompiled packages if you can 
(google "cross toolchain for MIPS").

The MPFR and GMP libraries are used by the compiler, which is an x86 program, 
so can simply install these libraries from your Fedora distribution: "yum 
install gmp-devel mpfr-devel libmpc-devel".  Read 
http://gcc.gnu.org/wiki/InstallingGCC for additional details.  The main point 
is that there are libraries used by the target (e.g., uClibc) and by host 
(e.g., GMP, MPFR, MPC).

> 2. About generation of uClibc, it should be available for a developer to 
> select some functions among Linux standard library and create uClibc.

I don't quite understand what you mean here.

> 3. Please tell us how to create our Linux for C++ because we have no 
> information about it.

For this you want to specify "--enable-languages=c,c++" when configuring the 
compiler.

Thank you,

--
Maxim Kuvyrkov
CodeSourcery / Mentor Graphics

Reply via email to