View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0002060 | CMake | CMake | public | 2005-07-19 17:41 | 2005-07-29 14:07 | ||||
Reporter | Eddy Pronk | ||||||||
Assigned To | Bill Hoffman | ||||||||
Priority | low | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0002060: CC/CXX environment variable handled in odd way | ||||||||
Description | As you can see below the CC variable is broken in two pieces and flags are inserted inbetween. export 'CC=ccache arm-linux-gcc' export 'CFLAGS='-I/home/epronk/oe/build/tmp/staging/arm-linux/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2' Building C object cmTryCompileExec.dir/testCCompiler.o /usr/bin/ccache -o cmTryCompileExec.dir/testCCompiler.o -I/home/epronk/oe/build/tmp/staging/arm-linux/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 arm-linux-gcc -I/home/epronk/oe/build/tmp/staging/arm-linux/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -c /home/epronk/oe/build/tmp/work/allegro-1.0-r0/allegro-1.0/CMakeTmp/testCCompiler.c | /usr/bin/ccache: invalid option -- o | ccache, a compiler cache. Version 2.3 | Copyright Andrew Tridgell, 2002 see ML discussion | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0002708) 2005-07-20 13:08 |
I have checked in a change to cvs, that should keep the arguments together. Please try cvs cmake and let me know if it works for you. |
(0002709) Bill Hoffman (manager) 2005-07-20 13:09 |
I have checked in a change to cvs cmake that should fix this, please try and let me know. |
(0002713) Eddy Pronk (reporter) 2005-07-21 07:08 |
I tried it with 'ccache gcc' and now it works, thanks! |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |