[LLVMdev] how to dynamically load a pass

xli3 at uiuc.edu xli3 at uiuc.edu
Mon Sep 16 17:26:01 PDT 2002


I tried to make my pass dynamically loadable cause it's too
slow to compile the whole system. I copied the Makefile from
Hello directory and changed the name. But when I type 'gmake'
 under the directory of my pass. I always got the following
error message. I cannot figure out why. Can you have a look
and let me know how to fix it?

thanks a lot,
xiaodong

-----------------------------------------------------------
%gmake

../../../Makefile.common:247: warning: overriding commands for
target `.so'
../../../Makefile.common:243: warning: ignoring old commands
for target `.so'
../../../Makefile.common:251: warning: overriding commands for
target `../../../lib/Release/libScalarReplacement'
../../../Makefile.common:243: warning: ignoring old commands
for target `../../../lib/Release/libScalarReplacement'
../../../Makefile.common:256: warning: overriding commands for
target `../../../lib/Debug/libScalarReplacement'
../../../Makefile.common:247: warning: ignoring old commands
for target `../../../lib/Debug/libScalarReplacement'
../../../Makefile.common:256: warning: overriding commands for
target `.a'
../../../Makefile.common:251: warning: ignoring old commands
for target `.a'
../../../Makefile.common:265: warning: overriding commands for
target `.o'
../../../Makefile.common:261: warning: ignoring old commands
for target `.o'
../../../Makefile.common:247: warning: overriding commands for
target `.so'
../../../Makefile.common:243: warning: ignoring old commands
for target `.so'
../../../Makefile.common:251: warning: overriding commands for
target `../../../lib/Release/libScalarReplacement'
../../../Makefile.common:243: warning: ignoring old commands
for target `../../../lib/Release/libScalarReplacement'
../../../Makefile.common:256: warning: overriding commands for
target `../../../lib/Debug/libScalarReplacement'
../../../Makefile.common:247: warning: ignoring old commands
for target `../../../lib/Debug/libScalarReplacement'
../../../Makefile.common:256: warning: overriding commands for
target `.a'
../../../Makefile.common:251: warning: ignoring old commands
for target `.a'
../../../Makefile.common:265: warning: overriding commands for
target `.o'
../../../Makefile.common:261: warning: ignoring old commands
for target `.o'
Compiling ScalarReplacement.cpp
======= Linking ScalarReplacement debug library =======
gmake: *** No rule to make target
`Release/ScalarReplacement.o)', needed by `.so'.  Stop.



More information about the llvm-dev mailing list