I have problems getting the GNU tools to execute properly. I installed bison, sed, and flex from gnuwin32.sourceforge.net as suggested in the README. The installers for these packages did not want to put them in the llvm/win32/{tools,share} directory, which is unfortunately where the project files expect them to be. I copied the files manually to these directories, but bison still refuses to work. I get: ..\tools\bison: m4: No such file or directory m4.exe is present in the same directory as bison. I don't know where bison expects to find it. I know where it would expect to find it on Unix, but that directory does not exist on a Windows system. Yes, m4.exe is in the path, but that's not good enough for bison. It's also present where their installer put it; that's not good enough either. Sigh... this is precisely why I hate using GNU software under Windows, because gotchas like this keep happening. I suppose I can always build my own binaries from the sources; that would solve the problem if nothing else will... once I figure out how bison locates m4... but not tonight. On Wed, 3 Nov 2004 09:03:28 -0800 Jeff Cohen <jeffc at jolt-lang.org> wrote:> I'll try and verify it later tonight. > > On Wed, 03 Nov 2004 08:18:51 -0800 > Reid Spencer <reid at x10sys.com> wrote: > > > The Visual Studio project files that Morten Ofstad provided have been committed > > to CVS in the win32 directory. I would appreciate it if Morten and at least one > > other win32 developer could verify that the files work correctly as committed. > > > > Thanks, > > > > Reid. > > > > _______________________________________________ > > LLVM Developers mailing list > > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
Two suggestions: 1. m4 might be located by your PATH variable. 2. Talk to Morten Ofstad about how he got it to work. Reid. On Wed, 2004-11-03 at 19:34, Jeff Cohen wrote:> I have problems getting the GNU tools to execute properly. I installed > bison, sed, and flex from gnuwin32.sourceforge.net as suggested in the > README. The installers for these packages did not want to put them in > the llvm/win32/{tools,share} directory, which is unfortunately where the > project files expect them to be. I copied the files manually to these > directories, but bison still refuses to work. I get: > > ..\tools\bison: m4: No such file or directory > > m4.exe is present in the same directory as bison. I don't know where > bison expects to find it. I know where it would expect to find it on > Unix, but that directory does not exist on a Windows system. Yes, m4.exe > is in the path, but that's not good enough for bison. It's also present > where their installer put it; that's not good enough either. > > Sigh... this is precisely why I hate using GNU software under Windows, > because gotchas like this keep happening. I suppose I can always build > my own binaries from the sources; that would solve the problem if > nothing else will... once I figure out how bison locates m4... but not > tonight. > > On Wed, 3 Nov 2004 09:03:28 -0800 > Jeff Cohen <jeffc at jolt-lang.org> wrote: > > > I'll try and verify it later tonight. > > > > On Wed, 03 Nov 2004 08:18:51 -0800 > > Reid Spencer <reid at x10sys.com> wrote: > > > > > The Visual Studio project files that Morten Ofstad provided have been committed > > > to CVS in the win32 directory. I would appreciate it if Morten and at least one > > > other win32 developer could verify that the files work correctly as committed. > > > > > > Thanks, > > > > > > Reid. > > > > > > _______________________________________________ > > > LLVM Developers mailing list > > > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > > > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev > > > > _______________________________________________ > > LLVM Developers mailing list > > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20041104/be164da7/attachment.sig>
Like I said, it is in my path. That's not enough. I'd be happy if Morten chimed in with any suggestions as to how he got it to work. On Thu, 04 Nov 2004 18:45:18 -0800 Reid Spencer <reid at x10sys.com> wrote:> Two suggestions: > > 1. m4 might be located by your PATH variable. > 2. Talk to Morten Ofstad about how he got it to work. > > Reid. > > On Wed, 2004-11-03 at 19:34, Jeff Cohen wrote: > > I have problems getting the GNU tools to execute properly. I installed > > bison, sed, and flex from gnuwin32.sourceforge.net as suggested in the > > README. The installers for these packages did not want to put them in > > the llvm/win32/{tools,share} directory, which is unfortunately where the > > project files expect them to be. I copied the files manually to these > > directories, but bison still refuses to work. I get: > > > > ..\tools\bison: m4: No such file or directory > > > > m4.exe is present in the same directory as bison. I don't know where > > bison expects to find it. I know where it would expect to find it on > > Unix, but that directory does not exist on a Windows system. Yes, m4.exe > > is in the path, but that's not good enough for bison. It's also present > > where their installer put it; that's not good enough either. > > > > Sigh... this is precisely why I hate using GNU software under Windows, > > because gotchas like this keep happening. I suppose I can always build > > my own binaries from the sources; that would solve the problem if > > nothing else will... once I figure out how bison locates m4... but not > > tonight. > > > > On Wed, 3 Nov 2004 09:03:28 -0800 > > Jeff Cohen <jeffc at jolt-lang.org> wrote: > > > > > I'll try and verify it later tonight. > > > > > > On Wed, 03 Nov 2004 08:18:51 -0800 > > > Reid Spencer <reid at x10sys.com> wrote: > > > > > > > The Visual Studio project files that Morten Ofstad provided have been committed > > > > to CVS in the win32 directory. I would appreciate it if Morten and at least one > > > > other win32 developer could verify that the files work correctly as committed. > > > > > > > > Thanks, > > > > > > > > Reid. > > > > > > > > _______________________________________________ > > > > LLVM Developers mailing list > > > > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > > > > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev > > > > > > _______________________________________________ > > > LLVM Developers mailing list > > > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > > > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev > > > > _______________________________________________ > > LLVM Developers mailing list > > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev >