-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Changing INSTALL_DIR
in generated Makefile
doesn't trigger an install to the new location
#1398
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Specify your desired install directory using
What corruption are you referring to here? Copying the toolchain top level directory works fine for me - e.g.
Please be more specifc about what actual problems you face when copying/moving the toolchain and provide reproducible test case details/instructions. |
This worked for me: Create a simple test program:
Build the toolchain:
Compile the test program:
Copy the toolchain:
Compile the test program with the copied toolchain:
If you want to build a toolchain that can be copied to another machine or even distro, and not just to another location on the build machine, then maybe look at the following: |
The issue title:
doesn't really correlate to the issue description:
But, in any case, my previous post addresses your issue as far as I can see. |
I'm sorry for not getting back to you sooner. let me explain my problem in more detail. I am working in a directory called I understand that |
When I was installing spike, |
It's better not to manually edit the generated
You need to do But if you're only changing the target install ("prefix") directory then you can just copy the toolchain as I mentioned earlier instead of rebuilding the whole thing. If you are copying to a "system" directory such as |
Closing as there is no problem identified here with the |
See also this issue: |
I guess that the Spike But, in any case, an already built/installed |
make
is not working INSTALL_DIR
in generated Makefile
doesn't trigger an install to the new location
When I compile the toolchain it is directly installed in the given directory. I wanted to move the executables to another directory. For example, I can do it in riscv-isa-sim by changing makefile and running
make install
however I couldn't make it in this repo. Could anyone help me with how to make it?I thought directly move the binaries however I afaraid the corruption because of the paths. I also don't know what I need to move exactly ( executables and libraries others?).
The text was updated successfully, but these errors were encountered: