English 中文(简体)
• 固定环境
原标题:Set environment variable GCOV_PREFIX (with arm-linux-gnueabi-gcc)

所有人

我们正试图使用军械库——gnueabi-gcc 4.2.1。

我们用旗帜汇编了申请书,名称为“引人瞩目的武器——检测发现”。

然后排在船上。

For the source file at location, /home/user/TestApp/HelloApp/, .gcda files are generated correctly in the folder /home/user/TestApp/HelloApp/ on the target.

Setting environment flags GCOV_PREFIX and GCOV_PREFIX_STRIP do not seem any effect in relocating the .gcda files.

For example, on setting GCOV_PREFIX=/temp/app/ and GCOV_PREFIX_STRIP=4, there is no change at all.

如何解决这一问题?

问题回答

我找到了解决办法: 你们需要把环境旗帜列入GCOV_PREFIXGCOV_PREFIX_STRIP,而不是我的汇编成册。





相关问题
gcc -fPIC seems to muck with optimization flags

Following along from this question: how-do-i-check-if-gcc-is-performing-tail-recursion-optimization, I noticed that using gcc with -fPIC seems to destroy this optimization. I am creating a shared ...

Generate assembler code from C file in linux

I would like to know how to generate assembler code from a C program using Unix. I tried the gcc: gcc -c file.c I also used firstly cpp and then try as but I m getting errors. I m trying to build an ...

Getting rid of pre-compiled headers

OK, I have old Metrowerks code for Mac and Windows where the previous developer used pre-compiled headers for every project that this code base builds. How does one get rid of Pre-compiled headers, ...

Include a .txt file in a .h in C++?

I have a number of places where I need to re-use some template code. Many classes need these items In a .h could I do something like: #include <xxx.txt> and place all of this code in the ....

How to compile for Mac OS X 10.5

I d like to compile my application for version 10.5 and forward. Ever since I upgraded to Snow Leopard and installed the latest XCode, gcc defaults to 10.6. I ve tried -isysroot /Developer/SDKs/...

热门标签