Hi,
Thanks indeed.
Nice to know that EFL are being cross-compiled correclty.I was afraid that
the build
system was not tested fro crosscompilation.

keep you informed.

regards.

Haithem.

On Thu, Dec 3, 2009 at 11:42 PM, Carsten Haitzler <[email protected]>wrote:

> On Tue, 1 Dec 2009 11:35:28 +0100 haithem rahmani <
> [email protected]>
> said:
>
> smells to me like something is unclean in your cross-dev environment. as
> such
> eina is cross-compiled daily - as is pretty much all of EFL. for ARM
> mostly,
> but still - using anything from scratchbox to openemebdded and hand-rolled
> cross-dev setups. by the look of your output your cross-dev setup is not
> using
> a local sh4 target staging directory to find dependencies at all - it's
> just
> using the host system. i can't comment beyond that as i dont know your
> crossdev
> setup (and to be perfectly honest... it's not our job to fix your setup :)
> especially if we know it does work on a variety of cross-compiling
> environments
> for a variety of targets).
>
> so my suggestion is - take a closer look at your cross-compile setup
> (environement variables, maybe use a chroot for proper isolation or
> scratchbox2
> which uses ld_preload tricks etc.)
>
> > Hi all,
> > I'm trying to crosscompile the EFL librairies  acutally only eina, evas
> and
> > ecore for a "sh4-linux" based platform, but I've got two problems:
> >
> > - Eina cross-compiles only with "--disable-shared" otherwise I've got the
> > following error:
> >
> >
> >   /bin/sh ../../../../libtool   --mode=install /usr/bin/install -c  '
> > eina_chained_mempool.la'
> > '/opt/STM/STLinux-2.3/devkit/sh4/target/home/local/efl/lib/eina/mp/
> > eina_chained_mempool.la'
> > libtool: install: warning: relinking `eina_chained_mempool.la'
> > (cd /home//efl/eina-0.0.2.062/src/modules/mp/chained_pool; /bin/sh
> > ../../../../libtool  --tag=CC --tag=disable-static --mode=relink
> > sh4-linux-gcc -std=gnu99 -O2 -no-undefined -module -avoid-version -o
> > eina_chained_mempool.la -rpath
> > /opt/STM/STLinux-2.3/devkit/sh4/target/home/local/efl/lib/eina/mp
> > eina_chained_mempool_la-eina_chained_mempool.lo ../../../../src/lib/
> > libeina.la -ldl -lrt -lm -pthread )
> >
> >  sh4-linux-gcc -shared
>  .libs/eina_chained_mempool_la-eina_chained_mempool.o
> > -Wl,-rpath -Wl,/opt/STM/STLinux-2.3/devkit/sh4/target/home//local/efl/lib
> >
> -L/opt/STM/STLinux-2.3/devkit/sh4/target/opt/STM/STLinux-2.3/devkit/sh4/target/home/local/efl/lib
> > -leina -ldl -lrt -lm -pthread  -Wl,-soname -Wl,eina_chained_mempool.so -o
> > .libs/eina_chained_mempool.so
> >
> >
>  
> /opt/STM/STLinux-2.3/devkit/sh4/lib/gcc/sh4-linux/4.2.4/../../../../sh4-linux/bin/ld:
> > cannot find -leina
> > collect2: ld returned 1 exit status
> > libtool: install: error: relink `eina_chained_mempool.la' with the above
> > command before installing it
> >
> > - It seems that the "libtool" is using the "LIBTOOL_PREFIX_BASE" twice ?
> > - why there is this "link command" during the install phase ? is it
> possible
> > to move it during the build?
> >
> >
> >  - Once Eina built in "static mode" I've problem to build evas : the
> problem
> > is related to freetype:
> >
> >
> >  /bin/sh ../../libtool --tag=CC   --mode=link sh4-linux-gcc  -O2
> > -D_GNU_SOURCE -no-undefined  -version-info 9:9:9 -release ver-svn-03  -o
> > libevas.la -rpath
> /opt/STM/STLinux-2.3/devkit/sh4/target/home/local/efl/lib
> > main.lo canvas/libevas_canvas.la file/libevas_file.la
> > cache/libevas_cache.laimaging/
> > libevas_imaging.la cserve/libevas_cserve.la engines/common/
> > libevas_engine_common.la -ldl -lfreetype -lz -lfontconfig   -lpthread
> > -L/opt/STM/STLinux-2.3/devkit/sh4/target/home//local/efl/lib
> > -leina                                                  -lm
> > /bin/grep: /usr/lib/libfreetype.la: No such file or directory
> > /bin/sed: can't read /usr/lib/libfreetype.la: No such file or directory
> > libtool: link: `/usr/lib/libfreetype.la' is not a valid libtool archive
> >
> >
> >  any help please ?
> >
> > regards.
> >
> > Haithem.
> >
> ------------------------------------------------------------------------------
> > Join us December 9, 2009 for the Red Hat Virtual Experience,
> > a free event focused on virtualization and cloud computing.
> > Attend in-depth sessions from your desk. Your couch. Anywhere.
> > http://p.sf.net/sfu/redhat-sfdev2dev
> > _______________________________________________
> > enlightenment-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> >
>
>
> --
> ------------- Codito, ergo sum - "I code, therefore I am" --------------
> The Rasterman (Carsten Haitzler)    [email protected]
>
>
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to