Displaying 4 results from an estimated 4 matches for "previrt".
2011 Jul 15
2
[LLVMdev] Makefile Question
Hello,
I have a question about how to set up a Makefile that generate a .so that I
can load into opt without getting duplicate symbols. Here's what I have
right now:
LIBRARYNAME=previrt
SHARED_LIBRARY=previrt
LINK_COMPONENTS := transformUtils
LINK_LIBS_IN_SHARED=1
include $(LEVEL)/Makefile.common
LIBS += -lprotobuf
CPPFLAGS += -I${HOME}/.root/usr/include -DGOOGLE_PROTOBUF_NO_RTTI
LDFLAGS += -Wl,-L${HOME}/.root/usr/lib/
PROTOC=${HOME}/.root/usr/bin/protoc
I'm pretty sure th...
2011 Jul 15
2
[LLVMdev] Makefile Question
...> can load into opt without getting duplicate symbols. Here's what I have
> right now:
>
>
> Have you tried removing LINK_COMPONENTS below? I suspect that the opt
> binary already contains everying in the transformUtils library.
>
> -- John T.
>
>
> LIBRARYNAME=previrt
> SHARED_LIBRARY=previrt
> LINK_COMPONENTS := transformUtils
> LINK_LIBS_IN_SHARED=1
>
> include $(LEVEL)/Makefile.common
>
> LIBS += -lprotobuf
>
> CPPFLAGS += -I${HOME}/.root/usr/include -DGOOGLE_PROTOBUF_NO_RTTI
> LDFLAGS += -Wl,-L${HOME}/.root/usr/lib/
> PROTOC=...
2011 Jul 15
0
[LLVMdev] Makefile Question
...e that generate a .so
> that I can load into opt without getting duplicate symbols. Here's
> what I have right now:
Have you tried removing LINK_COMPONENTS below? I suspect that the opt
binary already contains everying in the transformUtils library.
-- John T.
>
> LIBRARYNAME=previrt
> SHARED_LIBRARY=previrt
> LINK_COMPONENTS := transformUtils
> LINK_LIBS_IN_SHARED=1
>
> include $(LEVEL)/Makefile.common
>
> LIBS += -lprotobuf
>
> CPPFLAGS += -I${HOME}/.root/usr/include -DGOOGLE_PROTOBUF_NO_RTTI
> LDFLAGS += -Wl,-L${HOME}/.root/usr/lib/
> PROTOC=...
2011 Jul 15
0
[LLVMdev] Makefile Question
...getting duplicate symbols. Here's what I have
>> right now:
>>
>> Have you tried removing LINK_COMPONENTS below? I suspect that the opt
>> binary already contains everying in the transformUtils library.
>>
>> -- John T.
>>
>>
>> LIBRARYNAME=previrt
>> SHARED_LIBRARY=previrt
>> LINK_COMPONENTS := transformUtils
>> LINK_LIBS_IN_SHARED=1
>>
>> include $(LEVEL)/Makefile.common
>>
>> LIBS += -lprotobuf
>>
>> CPPFLAGS += -I${HOME}/.root/usr/include -DGOOGLE_PROTOBUF_NO_RTTI
>> LDFLAGS += -...