Hi As requested from Paolo, I've sent him the tablegen tool. The tool is able to compile the td files (given in the makefile) on windows without any complaints. Henrik>From: Paolo Invernizzi <arathorn at fastwebnet.it> >Date: Thu, 7 Oct 2004 14:27:11 +0200 > >Hi Henrik, > >As you may remember, I'm trying to use the LLVM core tools under Visual >Studio. > >I'm not yet able to build the TableGen application with it, and I'm >wondering if you can send me a version of tablegen.exe builded with MinGW? >I will use it along with my scons script for generating the updated .inc >from the td files... > >Thanks in advance! > >--- >Paolo Invernizzi >_________________________________________________________________ F� alle de nye og sjove ikoner med MSN Messenger http://messenger.msn.dk/
Some problems... (or I'm missing something...) 1) asmwriternum seems to be not supported... scons: Building targets ... d:/home/arathorn/sandbox/llvm/tblgen.exe -gen-asm-writer -asmwriternum=1 -I llvm\lib\Target\X86 -o tablegen_includes\X86GenIntelAsmWriter.inc llvm\lib\Target\X86\X86.td llvm\lib\Target\X86\X86InstrInfo.td llvm\lib\Target\X86\X86RegisterInfo.td llvm\lib\Target\Target.td d:/home/arathorn/sandbox/llvm/tblgen.exe: Unknown command line argument '-asmwriternum=1'. Try: 'd:/home/arathorn/sandbox/llvm/tblgen.exe --help' 2) related to previous problem? scons: Building targets ... d:/home/arathorn/sandbox/llvm/tblgen.exe -gen-asm-writer -I llvm\lib\Target\X86 -o tablegen_includes\X86GenATTAsmWriter. inc llvm\lib\Target\X86\X86.td llvm\lib\Target\X86\X86InstrInfo.td llvm\lib\Target\X86\X86RegisterInfo.td llvm\lib\Targe t\Target.td d:/home/arathorn/sandbox/llvm/tblgen.exe: Record 'X86' does not have a field named 'AssemblyWriter! d:/home/arathorn/sandbox/llvm/tblgen.exe -gen-instr-enums -I llvm\lib\Target\X86 -o tablegen_includes\X86GenInstrNames.i nc llvm\lib\Target\X86\X86.td llvm\lib\Target\X86\X86InstrInfo.td llvm\lib\Target\X86\X86RegisterInfo.td llvm\lib\Target \Target.td d:/home/arathorn/sandbox/llvm/tblgen.exe: Record 'X86' does not have a field named 'AssemblyWriter! --- Paolo Invernizzi Henrik Bach wrote:> Hi > > As requested from Paolo, I've sent him the tablegen tool. The tool is > able to compile the td files (given in the makefile) on windows > without any complaints. > > Henrik
On Fri, Oct 08, 2004 at 12:51:10PM +0200, Paolo Invernizzi wrote:> Some problems... (or I'm missing something...)Yes, you are missing recent CVS commits. Henrik supplied you with the binary, which is a bit out of date, but you are probably updating Makefiles and *.td files from current CVS. If you are using bleeding-edge CVS code, then you should be building it yourself. TableGen, in particular, has been changed recently to handle variants of assembly printers, in the case of X86, Intel and AT&T syntax are now supported directly via TableGen. Naturally, the .td files changed, and a new option for specifying variants has been added. -- Misha Brukman :: http://misha.brukman.net :: http://llvm.cs.uiuc.edu