Re: NaCl
Jorge Almeida <[email protected]> Wed, 4 Apr 2012 11:14:03 +0100
| Newsgroups | gmane.linux.lib.dietlibc |
|---|---|
| Message-ID | <CAKpSnpKFq9dBnbxRh0O3NkF6D5NkSqyPO1ujrVCQ+q6P3HfXLQ@mail.gmail.com> |
On Wed, Apr 4, 2012 at 8:50 AM, R.L. Horn <[email protected]> wrote: > On Wed, 4 Apr 2012, Jorge Almeida wrote: > >> Any idea whether it is possible to compile NaCl against dietlibc? > > > Apparently so. > > From the source directory: > > cd okcompilers > mv c c.orig > sed 's/^gcc/diet gcc/' c.orig > c > mv cpp cpp.orig > touch cpp > > Then build as usual. (Actually, I replaced the contents of "c" with a > single diet gcc invocation, but the above should allow the tests to proceed > as normal.) > Done, with success. > Obviously, you won't get the C++ wrappers, but I'm assuming you don't want > those anyway. Correct. Thanks! J.A.