Here is the output of configure. % ./configure checking build system type... i386-unknown-netbsdelf3.0 checking host system type... i386-unknown-netbsdelf3.0 checking target system type... i386-unknown-netbsdelf3.0 checking type of operating system we're on... Unknown configure: error: Operating system is unknown, configure can't continue I think llvm should support NetBSD.
Does this still happen with current LLVM CVS?
I checked llvm-1.9 and llvm-cvs and yes: it's the same. (Ok: The version number 3.0 is different and CVS-configure prints some WARNINGs).
Wow, didn't even know about this one. Mine.
Created attachment 583 [details] Some "draft" This at least will allow LLVM to configure on NetBSD
Anton: I've already committed that, with these patches: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070115/043007.html http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070115/043008.html http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070115/043009.html Christopher, Could you please update your configure script an lib/System/Mutex.cpp. We've added support but I don't want to close this until someone on NetBSD confirms that it works. Please report any failures here. Thanks, Reid.
Great! But I found another (tiny) build problem: On NetBSD perl is installed under /usr/pkg/bin/perl. First line in GenLibDeps.pl is #!/usr/bin/perl Therefore GenLibDeps.pl should be called with $(Verb) $(PERL) $(GenLibDeps) -flat ... in tools/llvm-config/Makefile.
Fixed. Please let me know if there's anything else preventing a clean build.
Christoph, Can this get closed now? Is the configure working on NetBSD? Reid.
Hi Reid, sorry, i'm quite busy at the moment. I did a quick check this morning and everything looks good. Thanks a lot for your work. Christoph