I've commited a new "faust-llvm.cpp" file in architecture folder that use the createDSPFactory/createDSPInstance API.
You can compile it with : g++ faust-llvm.cpp /usr/local/lib/faust/libfaust.a `llvm-config --ldflags --libs all` -o faust-llvm Then something like ./faust-llvm karplus.dsp Please report if this works. Stéphane Le 1 déc. 2013 à 16:20, Marc Joliet <[email protected]> a écrit : > Am Sun, 1 Dec 2013 10:03:15 +0100 > schrieb Stéphane Letz <[email protected]>: > >> Since the standalone compiler works, I would suspects a 64/32 target issue. >> Is your machine 64 bits? Is the Python runtime still 32 bits? > > No, the system is pretty much completely 64 bits; LLVM and Python, for > example, > are both only installed as 64 bit executables/libraries. The only exceptions > are some 32 bit libraries needed by WINE (and a mingw cross-compiler I wanted > to try some things with). > >> The createDSPFactory function can take a "target" argument. If not set the >> LLVM IR code will be compiled for the native machine, but your code may run >> in a different context (like a 32 bits language running on a 64 bits >> machine). In this case you would have to "force" the right target giving >> something in "target" argument like "x86_64-linux-gnu", or "i386-linux-gnu" > > Manually setting the target to "x86_64-linux-gnu" doesn't help. > > -- > Marc Joliet > -- > "People who think they know everything really annoy those of us who know we > don't" - Bjarne Stroustrup > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk_______________________________________________ > Faudiostream-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/faudiostream-users ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk _______________________________________________ Faudiostream-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/faudiostream-users
