[Freeswitch-dev] crosscompiling for mips
Hello, I'm trying to crosscompile FS for a MIPS architecture. I could follow for examples this nice guidelines for ARM with some tweaking: http://wiki.freeswitch.org/wiki/Installation_Guide#Cross_Compiling_for_A RM_on_Linux I've got a patched buildroot release which comes from the system on chip vendor, but it's a bit ancient (e.g gcc 3.4 in the toolchain). Now are these prerequisites really so necessary? http://wiki.freeswitch.org/wiki/Installation_Guide#Prerequisites Or maybe I could trick the fs and some needed libs to compile also with a 3.4 gcc? I fear that upgrading gcc to 3.95 or later in my toolchain would imply to recompile/port all the other software already compiled for my target MIPS architecture :-) Thanks, Claudio Internet Email Confidentiality Footer ----------------------------------------------------------------------------------------------------- La presente comunicazione, con le informazioni in essa contenute e ogni documento o file allegato, e' rivolta unicamente alla/e persona/e cui e' indirizzata ed alle altre da questa autorizzata/e a riceverla. Se non siete i destinatari/autorizzati siete avvisati che qualsiasi azione, copia, comunicazione, divulgazione o simili basate sul contenuto di tali informazioni e' vietata e potrebbe essere contro la legge (art. 616 C.P., D.Lgs n. 196/2003 Codice in materia di protezione dei dati personali). Se avete ricevuto questa comunicazione per errore, vi preghiamo di darne immediata notizia al mittente e di distruggere il messaggio originale e ogni file allegato senza farne copia alcuna o riprodurne in alcun modo il contenuto. This e-mail and its attachments are intended for the addressee(s) only and are confidential and/or may contain legally privileged information. If you have received this message by mistake or are not one of the addressees above, you may take no action based on it, and you may not copy or show it to anyone; please reply to this e-mail and point out the error which has occurred. -----------------------------------------------------------------------------------------------------
Did anything change sense we discussed this earlier this morning? You had gcc 3.0 not 3.4 and anchient libtool as well, and as I told you neither of those will work. On Sep 23, 2009, at 9:42 AM, "Cavalera Claudio Luigi" <Claudio.Cavalera@italtel.it
wrote:
Hello, I'm trying to crosscompile FS for a MIPS architecture.
I could follow for examples this nice guidelines for ARM with some tweaking: http://wiki.freeswitch.org/wiki/Installation_Guide#Cross_Compiling_for_A RM_on_Linux
I've got a patched buildroot release which comes from the system on chip vendor, but it's a bit ancient (e.g gcc 3.4 in the toolchain).
Now are these prerequisites really so necessary? http://wiki.freeswitch.org/wiki/Installation_Guide#Prerequisites Or maybe I could trick the fs and some needed libs to compile also with a 3.4 gcc? I fear that upgrading gcc to 3.95 or later in my toolchain would imply to recompile/port all the other software already compiled for my target MIPS architecture :-)
Thanks, Claudio
Internet Email Confidentiality Footer --- --- --- --- --- --- --- --- --- --- --- -------------------------------------------------------------------- La presente comunicazione, con le informazioni in essa contenute e ogni documento o file allegato, e' rivolta unicamente alla/e persona/ e cui e' indirizzata ed alle altre da questa autorizzata/e a riceverla. Se non siete i destinatari/autorizzati siete avvisati che qualsiasi azione, copia, comunicazione, divulgazione o simili basate sul contenuto di tali informazioni e' vietata e potrebbe essere contro la legge (art. 616 C.P., D.Lgs n. 196/2003 Codice in materia di protezione dei dati personali). Se avete ricevuto questa comunicazione per errore, vi preghiamo di darne immediata notizia al mittente e di distruggere il messaggio originale e ogni file allegato senza farne copia alcuna o riprodurne in alcun modo il contenuto.
This e-mail and its attachments are intended for the addressee(s) only and are confidential and/or may contain legally privileged information. If you have received this message by mistake or are not one of the addressees above, you may take no action based on it, and you may not copy or show it to anyone; please reply to this e-mail and point out the error which has occurred. --- --- --- --- --- --- --- --- --- --- --- --------------------------------------------------------------------
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
freeswitch-dev-bounces@lists.freeswitch.org wrote:
Did anything change sense we discussed this earlier this morning? You had gcc 3.0 not 3.4 and anchient libtool as well, and as I told you neither of those will work.
No Michael you are right, I was just trying to understand if keep on trying anyhow or just move to a different access gateway architecture (Atom maybe? =) Best regards, claudio Internet Email Confidentiality Footer ----------------------------------------------------------------------------------------------------- La presente comunicazione, con le informazioni in essa contenute e ogni documento o file allegato, e' rivolta unicamente alla/e persona/e cui e' indirizzata ed alle altre da questa autorizzata/e a riceverla. Se non siete i destinatari/autorizzati siete avvisati che qualsiasi azione, copia, comunicazione, divulgazione o simili basate sul contenuto di tali informazioni e' vietata e potrebbe essere contro la legge (art. 616 C.P., D.Lgs n. 196/2003 Codice in materia di protezione dei dati personali). Se avete ricevuto questa comunicazione per errore, vi preghiamo di darne immediata notizia al mittente e di distruggere il messaggio originale e ogni file allegato senza farne copia alcuna o riprodurne in alcun modo il contenuto. This e-mail and its attachments are intended for the addressee(s) only and are confidential and/or may contain legally privileged information. If you have received this message by mistake or are not one of the addressees above, you may take no action based on it, and you may not copy or show it to anyone; please reply to this e-mail and point out the error which has occurred. -----------------------------------------------------------------------------------------------------
freeswitch-dev-bounces@lists.freeswitch.org wrote:
Did anything change sense we discussed this earlier this morning? You had gcc 3.0 not 3.4 and anchient libtool as well, and as I told you neither of those will work.
MJ, sorry to bother you again... just to be sure that I got it right: are you saying that with a 3.4 gcc I could compile FS? The guy here http://wiki.freeswitch.org/wiki/Installation_Guide#Cross_Compiling_for_A RM_on_Linux used a gcc 3.4.6 actually; while on the prerequisites http://wiki.freeswitch.org/wiki/Installation_Guide#Unix-like_systems we state gcc 3.95 is necessary. Look my brand new toolchain !! :-D ./staging_dir/mips-linux-uclibc/bin/gcc --version gcc (GCC) 3.4.3 Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. thanks, Claudio Internet Email Confidentiality Footer ----------------------------------------------------------------------------------------------------- La presente comunicazione, con le informazioni in essa contenute e ogni documento o file allegato, e' rivolta unicamente alla/e persona/e cui e' indirizzata ed alle altre da questa autorizzata/e a riceverla. Se non siete i destinatari/autorizzati siete avvisati che qualsiasi azione, copia, comunicazione, divulgazione o simili basate sul contenuto di tali informazioni e' vietata e potrebbe essere contro la legge (art. 616 C.P., D.Lgs n. 196/2003 Codice in materia di protezione dei dati personali). Se avete ricevuto questa comunicazione per errore, vi preghiamo di darne immediata notizia al mittente e di distruggere il messaggio originale e ogni file allegato senza farne copia alcuna o riprodurne in alcun modo il contenuto. This e-mail and its attachments are intended for the addressee(s) only and are confidential and/or may contain legally privileged information. If you have received this message by mistake or are not one of the addressees above, you may take no action based on it, and you may not copy or show it to anyone; please reply to this e-mail and point out the error which has occurred. -----------------------------------------------------------------------------------------------------
There is a decent chance that 3.4 will work. The only way to know for sure is to try it and see if it bombs out on you. If it does it is possible I can fix it by tweaking code but I would have to see build errors if any to know for sure. Mike On Sep 24, 2009, at 6:56 AM, Cavalera Claudio Luigi wrote:
freeswitch-dev-bounces@lists.freeswitch.org wrote:
Did anything change sense we discussed this earlier this morning? You had gcc 3.0 not 3.4 and anchient libtool as well, and as I told you neither of those will work.
MJ, sorry to bother you again... just to be sure that I got it right: are you saying that with a 3.4 gcc I could compile FS? The guy here http://wiki.freeswitch.org/wiki/Installation_Guide#Cross_Compiling_for_A RM_on_Linux used a gcc 3.4.6 actually; while on the prerequisites http://wiki.freeswitch.org/wiki/Installation_Guide#Unix-like_systems we state gcc 3.95 is necessary.
Look my brand new toolchain !! :-D ./staging_dir/mips-linux-uclibc/bin/gcc --version gcc (GCC) 3.4.3 Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
thanks, Claudio
freeswitch-dev-bounces@lists.freeswitch.org wrote:
There is a decent chance that 3.4 will work. The only way to know for sure is to try it and see if it bombs out on you. If it does it is possible I can fix it by tweaking code but I would have to see build errors if any to know for sure.
Thanks a lot, I'll grab this chance for now! Claudio Internet Email Confidentiality Footer ----------------------------------------------------------------------------------------------------- La presente comunicazione, con le informazioni in essa contenute e ogni documento o file allegato, e' rivolta unicamente alla/e persona/e cui e' indirizzata ed alle altre da questa autorizzata/e a riceverla. Se non siete i destinatari/autorizzati siete avvisati che qualsiasi azione, copia, comunicazione, divulgazione o simili basate sul contenuto di tali informazioni e' vietata e potrebbe essere contro la legge (art. 616 C.P., D.Lgs n. 196/2003 Codice in materia di protezione dei dati personali). Se avete ricevuto questa comunicazione per errore, vi preghiamo di darne immediata notizia al mittente e di distruggere il messaggio originale e ogni file allegato senza farne copia alcuna o riprodurne in alcun modo il contenuto. This e-mail and its attachments are intended for the addressee(s) only and are confidential and/or may contain legally privileged information. If you have received this message by mistake or are not one of the addressees above, you may take no action based on it, and you may not copy or show it to anyone; please reply to this e-mail and point out the error which has occurred. -----------------------------------------------------------------------------------------------------
participants (2)
-
Cavalera Claudio Luigi
-
Michael Jerris