On Fri, 5 Nov 2010, Vincent Torri wrote:



On Fri, 5 Nov 2010, Gustavo Sverzut Barbieri wrote:

On Friday, November 5, 2010, Vincent Torri <vto...@univ-evry.fr> wrote:


On Fri, 5 Nov 2010, Gustavo Sverzut Barbieri wrote:

Vincent,

For some unlucky reason I'm using fedora for a while and while trying
to compile expedite I've noticed:
 1) fedora is stupid and handles g++ outside of gcc package :-P
 2) your windows code, even when not compiled in, is forcing expedite
to be linked with g++!

any ideas on how to fix 2?

without a big fat hack, no.

Is going with 2 binaries a big fat hack?

Like
bin_PROGRAMS=
if WIN32
bin_PROGRAMS+=expedite_win32
expedite_win32_SOURCES+=$(common) bla.cpp
else
bin_PROGRAMS+=expedite
expedite_SOURCES+=$(common) ble.c
endif

my hack is that one:

http://trac.enlightenment.org/e/browser/trunk/PROTO/evil/src/lib/Makefile.am

see at the bottom

and according to the automake guys, there is no best option.

Vincent
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to