<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Thanks for the quick answer and apologize for the blury description.</span></div><div><br><span></span></div><div><span>I've been following the GSL documentation to include the library on my example, to try it with RTEMS.</span></div><div><span><br></span></div><div><span>Set the linker flags " -lgsl -lgslcblas -lm" and included the path to the location where it's installed on my system.</span></div><div><br><span></span></div><div><span>However, the linker exits with an error, with the following description:</span></div><div><br><span></span></div><div><span>/opt/rtems-4.10/lib/gcc/sparc-rtems/4.4.5/../../../../sparc-rtems/bin/ld: skipping incompatible /usr/local/lib/libgsl.a when searching for -lgsl<br>/opt/rtems-4.10/lib/gcc/sparc-rtems/4.4.5/../../../../sparc-rtems/bin/ld: cannot find
-lgsl</span></div><div><br><span></span></div><div><span>Thanks,</span></div><div><span>Elias<br></span></div><div><br></div><div><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Arial" size="2"><hr size="1"><b><span style="font-weight: bold;">De:</span></b> Ralf Corsepius <ralf.corsepius@rtems.org><br><b><span style="font-weight: bold;">Para:</span></b> Espúreo Fernandez-Ulloa <estados_espureos@yahoo.com.ar><br><b><span style="font-weight: bold;">CC:</span></b> "rtems-users@rtems.org" <rtems-users@rtems.org><br><b><span style="font-weight: bold;">Enviado:</span></b> lunes, 5 de septiembre de 2011 12:19<br><b><span style="font-weight: bold;">Asunto:</span></b> Re: Compile GSL with RTEMS<br></font><br>On 09/05/2011 04:44 PM, Espúreo Fernandez-Ulloa wrote:<br>> Hi,<br>><br>> I've been working
with RTEMS 4.10 for the LEON3 processor for a few<br>> months, and tried to include the GSL library to compile an ordinary<br>> example with no further results so far.<br>><br>> Haven't found enough information on the web to understand how to<br>> correctly include it in a project.<br>><br>> Does anyone have a suggestion to follow in order to get an application<br>> running GSL functions?<br>><br>> Thanks in advance,<br><br>You are not providing sufficient details. What exactly is your problem?<br><br>Building gsl is close to being as trivial as cross-compilation can be:<br><br>E.g.<br>configure --host=sparc-rtems4.10 \<br>CC="sparc-rtems4.10 -mcyprus -msoft-float" \<br><more options><br><br>or<br>configure --host=sparc-rtems4.10 \<br>CFLAGS="-mcyprus -msoft-float"<br><more options><br><br>Ralf<br><br><br></div></div></div></body></html>