Managed to build most of the RTL, only demux and faio to go. ~/felix>flx --test=build/release -c src/tools/toolchain_clang_osx ~/felix>flx --test=build/release src/tools/flx_build_rtl_demo.flx build/release/config felix_build trial .
What's shaping up is this: given a boostrap or existing Felix install, you can build a new system by creating a directory and putting a configuration database (set of *.fpc files) into it. Then you just point the builder at it and off it goes. At the end, you can install the result. For the packaging tool, this means figuring out the right platform, putting the sources in the litterbox, setting up a *.fpc file, and just pointing the builder at it. The RTL build is driven by the file config/felix_build.fpc: description: Build system bootstrap root. toolchain: toolchain_clang_osx compiler: clang os: OSX Requires: flx flx_gc flx_exceptions flx_pthread flx_async re2 sqlite3 flx_dynlink There's a pain in this. Libraries are named like -lflx_gc which is a compiler specific switch. At least a "slice" of the configuration is abstract, ie. platform independent. Now, flx_pkgconfig can do merging. That is, you can have multiple files in the directory search path with the same name, and stuff just gets merged. So I'm thinking config/*.fpc <-- abstract files config/unix/*.fpc <-- unix stuff So just point the pkgconfig tool at unix, then config. The unix files are only need if the abstraction not enough to calculate things. Eg if you need an extra -pthread switch as on old Solaris systems. With pre-built configs the ONLY thing you need to build Felix would be to choose a place to point flx_pkgconfig at. -- john skaller skal...@users.sourceforge.net http://felix-lang.org ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ Felix-language mailing list Felix-language@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/felix-language