On Sun, 9 Sep 2012 21:56:05 -0300 Gustavo Sverzut Barbieri
<barbi...@profusion.mobi> wrote:

> On Sun, Sep 9, 2012 at 9:53 PM, Gustavo Sverzut Barbieri
> <barbi...@profusion.mobi> wrote:
> > Hi all,
> >
> > Today I've noticed that the following will break:
> >
> >     cd edje; ./configure --prefix=/tmp/somedir
> >
> > It used to "work" before because it was using the system binary (ie:
> > /usr/bin/edje_cc) and we always tested with --prefix=/usr. Then I've
> > fixed it so it uses $(top_builddir)/src/bin/edje_cc, but yet epp is
> > assumed to be in the installed directory (/tmp/somedir/...) yet we
> > did no make install at this time.
> >
> > I did not investigate further, but seems edje_cc_parse.c does
> > eina_prefix_lib_get() yet it does not use the local, uninstalled,
> > rather going to the installed path and it fails.
> 
> it is worth to note that this will be a major overall problem once we
> have a single "efl" tree, you'll need stuff from the local build and
> not the system... while before we assumed the dependencies were all
> installed in the system (edje_cc will be used by elementary to compile
> its theme, etc)

Cross compiling might break if you are trying to use the binaries you
just produced in a later stage of the build.  Coz the binaries you are
producing might not be able to run on the CPU you are using to build
them with.  People using their mighty x86_64 beastly work station to
compile EFL for their pissant little ARM phone for instance.  So that
needs to be catered for as well.

I do that all the time, coz my pissant little embedded board takes nine
hours to compile EFL.  I timed it once.

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to