> HI I am trying to build libmodbus on my fedora system. I was told to do 
>> suitable changes so that instead of GCC compiler my customised compiler 
>> would be used.
>>
> I did following steps:
./configure
make
Inside make file it said CC = gcc
 then i changed the environment variable/path in bashrc[ inside etc the 
path that contain compiler's binary]
When i type which 'CC' on on my terminal it say

 /usr/bin/which: no CC in (/usr/lib/qt-3.3/bin:/usr/lib/
ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:
*/opt/buildroot/build_xtensa_c1lx2/staging_dir/usr*
/bin:/home/sachin/.local/bin:/home/sachin/bin:/opt/buildroot/build_xtensa_c1lx2/staging_dir/usr/bin:/opt/buildroot/build_xtensa_c1lx2/staging_dir/usr/bin)
 
Above highlighted is the path to my compiler and when I look inside my 
makefile it shows CC = gcc and LD = /usr/bin/ld i want them to say 
*xtensa_c1lx2-linux-uclibc-gcc * that is my compiler. Any suggestions will 
be appreciated and i am new to linux environment.

and also i did CC=path and LD=path in the terminal......non were useful



>

-- 
-- 
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
References can be found at: http://goo.gl/anqri
Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules or 
http://cdn.fsdev.net/List-Rules.pdf)

--- 
You received this message because you are subscribed to the Google Groups 
"Linux Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to