I have now got flx.flx to build and it might even work, however
there is a problem in

fbuild/lib/fbuild/builders/felix.py line 34:
cmd = [sys.executable, self.exe]

Seems the build system assumes self.exe is a Python script.

It was.

It isn't now.

I cannot change this script because it is part of the build system not Felix.
It could be fixed by checking if the executable ends in ".py" and assuming
Python then, otherwise if no extension or ".exe" then it is a binary executable.

BTW: here's another bug:

/var/folders/B9/B9XDhlAuFZyHIsPhWPD3w++++TI/-Tmp-/tmpj1L3uO/temp.includes:1:10: 
error: #include expects "FILENAME" or <FILENAME>

build/release-optimized/bin/flx --test=build/release-optimized failed to 
compile an exe
110:felix johnskaller$ less 
/var/folders/B9/B9XDhlAuFZyHIsPhWPD3w++++TI/-Tmp-/tmpj1L3uO/temp.includes
/var/folders/B9/B9XDhlAuFZyHIsPhWPD3w++++TI/-Tmp-/tmpj1L3uO/temp.includes: No 
such file or directory

So I can't see what the problem is, the temp file should last a bit longer.. 
I changed that to a "hello.flx" program and now see an empty hello.includes
file (rather, it reads #include because pkg_config didn't do the right thing
but I don't know why).


--
john skaller
skal...@users.sourceforge.net





------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to