On Sun, Oct 20, 2013 at 4:49 PM, Raul Fajardo <[email protected]> wrote:
> On Sun, Oct 20, 2013 at 10:01 AM, Stefan Kristiansson < > [email protected]> wrote: > >> On Sat, Oct 19, 2013 at 10:11 PM, Raul Fajardo <[email protected]>wrote: >> >>> Hi Stefan, >>> >>> it worked. The toolchain can now be compiled under OSX, with both newlib >>> and uclib. >>> >>> >>> >> Unfortunately it seems like it breaks the build on other platforms... >> Would something like below still work on OSX? >> > > Yes, if you correct the string comparison with darwin. It requires some > missing wildcards at the beginning. Correction below. > > >> And what happens if you try to build without enabled_shared? >> > > OpenCores Wiki says to compile with --enable-shared for the newlib > toolchain. It works with -disable-shared as well. But it still requires the > patch. > > Did the patch fail with multiple definitions or something? The failure > shown at the website forum does not relate to this. I have also heard about > some Debian complains about binutils dependency on gettext. Is it possible > that the workaround should also be for Linux in some extent? > It fails with "ld: cannot find -lintl". I didn't investigate this very far, but from the looks of it, intl isn't built (I assume because it's not needed on that system?). Probably the correct thing to do is to check if intl is going to be built and _then_ add the intl path and -lintl. But, until we get that sorted out, I'm going to commit this workaround, since at least it fixes the issue you saw but doesn't break already working systems. Stefan
_______________________________________________ OpenRISC mailing list [email protected] http://lists.openrisc.net/listinfo/openrisc
