[LLVMbugs] TOOLLINKOPTSB from Makefile.config is put several places on the command line
Henrik Bach
henrik_bach_llvm at hotmail.com
Thu Oct 28 01:16:41 PDT 2004
Hi
Just for fun I set below variables in Makefile.config:
LDFLAGS+=LDFLAGS
TOOLLINKOPTSB=TOOLLINKOPTSB
TOOLLINKOPTS=TOOLLINKOPTS
to see where they are placed.
And the variables are put:
----------------------------
/C/Projects/build/MinGW/llvm/mklib --tag=disable-shared --tag=CXX
--mode=link g++ -I/C/Projects/build/MinGW/llvm/utils/TableGen
-I/C/Projects/build/MinGW/llvm/../../../src/llvm/utils/TableGen
-I/C/Projects/build/MinGW/llvm/../../../src/llvm/include
-I/C/Projects/build/MinGW/llvm/include
-I/C/Projects/build/MinGW/llvm/include
-I/C/Projects/build/MinGW/llvm/../../../src/llvm/include -D_GNU_SOURCE
-D__STDC_LIMIT_MACROS -Wall -W -Wwrite-strings -Wno-unused LDFLAGS -g
-D_DEBUG -rpath /C/Projects/build/MinGW/llvm/tools/Debug -export-dynamic
TOOLLINKOPTS TOOLLINKOPTSB -L/C/Projects/build/MinGW/llvm/lib/Debug
-L/C/Projects/build/MinGW/llvm/lib/Debug TOOLLINKOPTSB -o
/C/Projects/build/MinGW/llvm/tools/Debug/tblgen
/C/Projects/build/MinGW/llvm/utils/TableGen/Debug/AsmWriterEmitter.o
/C/Projects/build/MinGW/llvm/utils/TableGen/Debug/CodeEmitterGen.o
/C/Projects/build/MinGW/llvm/utils/TableGen/Debug/CodeGenTarget.o
/C/Projects/build/MinGW/llvm/utils/TableGen/Debug/FileLexer.o
/C/Projects/build/MinGW/llvm/utils/TableGen/Debug/FileParser.o
/C/Projects/build/MinGW/llvm/utils/TableGen/Debug/InstrInfoEmitter.o
/C/Projects/build/MinGW/llvm/utils/TableGen/Debug/InstrSelectorEmitter.o
/C/Projects/build/MinGW/llvm/utils/TableGen/Debug/Record.o
/C/Projects/build/MinGW/llvm/utils/TableGen/Debug/RegisterInfoEmitter.o
/C/Projects/build/MinGW/llvm/utils/TableGen/Debug/TableGen.o
/C/Projects/build/MinGW/llvm/utils/TableGen/Debug/TableGenBackend.o
-lLLVMSupport -lLLVMSystem
g++ -I/C/Projects/build/MinGW/llvm/utils/TableGen
-I/C/Projects/build/MinGW/llvm/../../../src/llvm/utils/TableGen
-I/C/Projects/build/MinGW/llvm/../../../src/llvm/include
-I/C/Projects/build/MinGW/llvm/include
-I/C/Projects/build/MinGW/llvm/include
-I/C/Projects/build/MinGW/llvm/../../../src/llvm/include -D_GNU_SOURCE
-D__STDC_LIMIT_MACROS -Wall -W -Wwrite-strings -Wno-unused LDFLAGS -g
-D_DEBUG TOOLLINKOPTS TOOLLINKOPTSB TOOLLINKOPTSB -o
/C/Projects/build/MinGW/llvm/tools/Debug/tblgen
/C/Projects/build/MinGW/llvm/utils/TableGen/Debug/AsmWriterEmitter.o
/C/Projects/build/MinGW/llvm/utils/TableGen/Debug/CodeEmitterGen.o
/C/Projects/build/MinGW/llvm/utils/TableGen/Debug/CodeGenTarget.o
/C/Projects/build/MinGW/llvm/utils/TableGen/Debug/FileLexer.o
/C/Projects/build/MinGW/llvm/utils/TableGen/Debug/FileParser.o
/C/Projects/build/MinGW/llvm/utils/TableGen/Debug/InstrInfoEmitter.o
/C/Projects/build/MinGW/llvm/utils/TableGen/Debug/InstrSelectorEmitter.o
/C/Projects/build/MinGW/llvm/utils/TableGen/Debug/Record.o
/C/Projects/build/MinGW/llvm/utils/TableGen/Debug/RegisterInfoEmitter.o
/C/Projects/build/MinGW/llvm/utils/TableGen/Debug/TableGen.o
/C/Projects/build/MinGW/llvm/utils/TableGen/Debug/TableGenBackend.o
-Wl,--export-dynamic -L/C/Projects/build/MinGW/llvm/lib/Debug -lLLVMSupport
-lLLVMSystem -L/C/Projects/build/MinGW/llvm/tools/Debug
----------------------------
I notice that TOOLLINKOPTSB is put several places which I assume it
shouldn't. I can't, at this moment, figure why it behaves this way.
Henrik
_________________________________________________________________
Få alle de nye og sjove ikoner med MSN Messenger http://messenger.msn.dk/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: my_make.zip
Type: application/x-zip-compressed
Size: 1192 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20041028/41b48d6b/attachment.bin>
More information about the llvm-bugs
mailing list