[Barrelfish-users] Barrelfish: C++ Support

Zeus Gómez Marmolejo zeus.gomez at bsc.es
Tue Nov 27 17:31:54 CET 2012


Hi Zaheer,

I'm cc'ing the list as this is not the first time I am being asked for C++
support for Barrelfish. A full C/C++ cross compiler toolchain has to be
built to have full C++ support with the GNU libstd++, templates, etc... So
I wrote a document explaining this:

http://redmine.aluzina.org/projects/barrelfish/wiki/Toolchain_from_sources

Having these tools in the PATH, one could in principle download a GNU
program that uses the autotools, like GNU bash or others and compile it by
the following configure line:

./configure --host=x86_64-pc-barrelfish

Of course, the config.sub file has to be changed to support the barrelfish
os target, so the configure script won't complain:

@@ -1244,6 +1244,7 @@ case $os in
       | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
       | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
       | -aos* \
+      | -barrelfish* \
       | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
       | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
       | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \

>From this point, if the application fails to compile is probably due to
missing posix features in Barrelfish.

I hope this helps!
Zeus.


PS. I can copy these instructions to the Barrelfish wiki



2012/11/26 Chothia Zaheer <zchothia at student.ethz.ch>

>  Dear Zeus,****
>
> ** **
>
> I have just started my master thesis and will be porting a database engine
> to****
>
> Barrelfish.  I am writing to enquire about the current state of C++
> support.****
>
> ** **
>
> The codebase I will be working on makes extensive use of the STL, macros,*
> ***
>
> templates, polymorphism and operator overloading.  Are there any special**
> **
>
> considerations or missing features to be mindful of?  Also, do you know
> whether****
>
> Boost works and if so, which components have been ported?****
>
> ** **
>
> Many thanks and kind regards,****
>
> ** **
>
> *--Zaheer*
>
> ** **
>



-- 
Zeus Gómez Marmolejo
Barcelona Supercomputing Center
PhD student
http://www.bsc.es
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20121127/840616e7/attachment.html 


More information about the Barrelfish-users mailing list