On Sun, 2007-07-15 at 12:44 -0700, Raoul Duke wrote:
> > It looks like you haven't installed the rtl directory.
> 
> ah, thanks. (the "make install" didn't work for me so i was
> hand-moving stuff to get the install going.) it works!!
> 
> $ flx hello
> //Parsing Implementation std.flx
> //Parsing Implementation hello.flx
> w00t

Lol... 

RTL = Run Time Library = shared libraries and header files
needed for C++ compilation, linkage, and execution.

LIB = Felix source library, needed for flxg compilation
which generates C++.

So LIB = stage 1 and RTL = stage 2.

Felix is a cross-cross compiler: it has a three machine process:

Host: compile felix source to C++: uses 'lib' directory

Target: compile C++ to binary: uses 'rtl' directory 

Run: run the binary: also use 'rtl' for the shared libs
   (*.DLL on Windows).

When you use 'flx' script these are all the same machine.

If you do this:

        flx --static hello

you will get a standalone (statically linked) executable.
The default is dynamic linkage.

        flx --debug hello

will emit lots of debugging in all the stages (including
execution).


-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to