On Sun, 9 Sep 2012 21:53:48 -0300 Gustavo Sverzut Barbieri
<barbi...@profusion.mobi> said:

hmmm. this is indeed going to be a cross-compile problem. it will ALSO be a
bootstrap problem. in that a totally efl-free system can't easily bootstrap
itself as we need to compile edj files for things like elementary to work.

so we have 2 situations.

1. cross-compile. this can't ever be fixed without ALSO having a native efl
build to provide a working edje_cc. there is nothing much we can do here. BUT
in this situation we CAN'T use the edje_cc we just compiled ever - we must use
an externally provided edje_cc

2. native bootstrap. this is where we have an efl-free system needing to
execute tools it just created (edje_cc) during build. i think we need to
consider a "bootstrap" stage. literally this stage builds SOME of efl then
installs it in $top_builddir and THEN it uses this to continue compiling the
rest. otherwise we do complicate things - we need to move all edje tests,
elementary themes and tests and so on totally out-of-tree. this means u can
compile a working src tree that cant work at all due to missing edj files. this
isn't pretty and i think it is out job to handle some kind of bootstrap stage.
in the cross-compile case this bootstrap stage needs to be built for the os
doing the compiling not the target arch.

> 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.
> 
> -- 
> Gustavo Sverzut Barbieri
> http://profusion.mobi embedded systems
> --------------------------------------
> MSN: barbi...@gmail.com
> Skype: gsbarbieri
> Mobile: +55 (19) 9225-2202
> 
> ------------------------------------------------------------------------------
> 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
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
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