how to build for custom location like /opt/gcc8

22 views
Skip to first unread message

Abhishek Pandey

unread,
Sep 17, 2018, 10:47:50 PM9/17/18
to icecream-users

Hi,
I actually posted my question in a closed issue and was looking for some help. I want to do a custom installation to a specific location of gcc like /opt/gcc82/. In short, I tried configure without no success.

Below is my comment in full. Any help is appreciated.


Thanks for the update. I was looking for how I can wrap around a different location - something other than /usr/bin/gcc for e.g. I tried setting variables during configure as follows (for local installation):

configure CXX=/opt/gcc82/bin/g++ CC=/opt/gcc82/bin/gcc \
    --prefix=dist LT_SYS_LIBRARY_PATH=/opt/gcc82/


Our binaries exist in /opt/gcc82/.


When I run make && make install, the g++ --version still gives me the following:

$> dist/libexec/icecc/bin/g++ --version
g++ (GCC) 7.3.1 20180130 (Red Hat 7.3.1-2).


This means icecc is still picking up gcc7.3.1 from /usr folder.


What would it take for it to pick up gcc8.2?

Reply all
Reply to author
Forward
0 new messages