Hi, Seems that lib/TableGen/Main.cpp (trunk) defines a set of command line options such as "-o". When building llvm with --enable-shared configured, almost all llvm-* tools are unusable since they also define "-o". How about not using these global options, or not linking it to libLLVM? Thanks. - xi
On Mon, Oct 03, 2011 at 03:13:21PM -0400, Xi Wang wrote:> Hi, > > Seems that lib/TableGen/Main.cpp (trunk) defines a set of command line options such as "-o". When building llvm with --enable-shared configured, almost all llvm-* tools are unusable since they also define "-o". How about not using these global options, or not linking it to libLLVM? Thanks.Hi Xi, Does r141052 resolve this issue for you? Thanks, -- Peter
Hi Peter, Yeah it works. Thank you! - xi On Oct 3, 2011, at 8:33 PM, Peter Collingbourne wrote:> On Mon, Oct 03, 2011 at 03:13:21PM -0400, Xi Wang wrote: >> Hi, >> >> Seems that lib/TableGen/Main.cpp (trunk) defines a set of command line options such as "-o". When building llvm with --enable-shared configured, almost all llvm-* tools are unusable since they also define "-o". How about not using these global options, or not linking it to libLLVM? Thanks. > > Hi Xi, > > Does r141052 resolve this issue for you? > > Thanks, > -- > Peter