Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

llvm's configure ignores --program-transform-name= #1758

Open Quuxplusone opened 17 years ago

Quuxplusone commented 17 years ago
Bugzilla Link PR1696
Status NEW
Importance P enhancement
Reported by Bernhard Fischer (rep.dot.nop@gmail.com)
Reported on 2007-09-22 08:56:42 -0700
Last modified on 2007-11-25 02:19:14 -0800
Version trunk
Hardware PC Linux
CC anton@korobeynikov.info, llvm-bugs@lists.llvm.org, resistor@mac.com, rspencer@reidspencer.com
Fixed by commit(s)
Attachments
Blocks
Blocked by
See also
../../llvm-2.1/configure \
                --prefix=/usr \
                --build=i386-pc-linux-gnu \
                --host=i386-pc-linux-gnu \
                --target=i386-linux-uclibc \
                --program-transform-name=i386-linux-uclibc- \

make DESTDIR="$(MYOFFSET)" install

creates
$ ls ll*
llc       llvm-ar          llvmc        llvm-dis      llvm-link  llvm-ranlib
lli       llvm-as          llvm-config  llvm-extract  llvm-nm    llvm-stub
llvm2cpp  llvm-bcanalyzer  llvm-db      llvm-ld       llvm-prof  llvm-upgrade

instead of the expected i386-linux-uclibc-* files:
$ ls *uclibc*ll*
ls: *uclibc*ll*: No such file or directory
Quuxplusone commented 17 years ago

Have you tried using --program-prefix instead? This works for llvm-gcc, at least.

Quuxplusone commented 16 years ago

The quick answer is that LLVM doesn't follow all of GNU's convention. That being said, we should probably do something about this one so building cross compilers, etc. is easier.