Re: [libposix-development] Installation support and GNU coreutils
Status: Pre-Alpha
Brought to you by:
hdante
From: Chris F. <ch...@fa...> - 2009-06-17 05:20:04
|
I'll look into building subsets of coreutils with libposix. At least some of the tools look reasonably self-contained, although the sheer size of the makefiles / configure scripts is a bit daunting :) -- Chris -----Original Message----- From: Henrique Almeida [mailto:hd...@gm...] Sent: Wednesday, 17 June 2009 4:29 p.m. To: lib...@li... Subject: [libposix-development] Installation support and GNU coreutils I've added support for "make install" in libposix. With that we can use libposix as a normal libc so that we can start linking more general software with it. This means we can start "porting" GNU coreutils (or other applications) to libposix. Current installation works as follow: - from libposix directory, cd .. && mkdir libposix.build && cd libposix.build - cmake -D CMAKE_INSTALL_PREFIX=/opt/libposix ../libposix - make - sudo make install - gcc -nostdinc -nostdlib -I /opt/libposix/include -L /opt/libposix/lib -o myapp myapp.c <runtime> -lposix The runtime target is still missing (runtime.o), but it can be done with CMake's add_custom_* functions. Currently, add the runtime sources and includes to <runtime>. We need to find out if it's possible to build small parts of coreutils instead of the whole package. Chris, can you do that ? If it's not possible, we'll need another app. -- Henrique Dante de Almeida hd...@gm... ------------------------------------------------------------------------ ------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Libposix-development mailing list Lib...@li... https://lists.sourceforge.net/lists/listinfo/libposix-development |