-
Notifications
You must be signed in to change notification settings - Fork 33
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
Specifying --prefix
when cross-compiling
#56
Comments
This looks like a bug in Can you tell me what the host system is, what the target system is, what the host compiler is, and what the target compiler is? |
The host system architecture tuple is The host compiler |
I thought this will might help narrow down the cause. The last known working version that I tried using the same configuration flags and recipe file is version |
I think I found the faulty commit. |
I think you did too. That commit appears to have been made as exploration; I should have added more to the commit message. Nevertheless, it appears to not be necessary anymore because I tested the FreeBSD port without those changes, and it worked fine. So I committed 2b65eb2 to erase the rest of that commit. Can you pull and test it? |
I can confirm that this indeed 2b65eb2 fixed the issue. Can you release this fix in a new bugfix version? |
Wonderful! I'll release a bug fix version as soon as I have confirmation that this fix does not break FreeBSD. I hope that will be soon. |
Release If it doesn't, please feel free to reopen. |
Yup, the new release solved the issue. Thanks for your time and effort! |
Hey there,
I've encountered an error recently where attempting to cross-compile
bc
while usingCC
as the cross compiler andHOSTCC
as the compiler and when passing--prefix=/usr
as a configuration flag.It appears that
bc
is searching for header files in$PREFIX/include
, although the help message mentions that these options control the installation directories of bc files and not the directories header/library files are searched for.The error disappears when I remove the
--prefix=/usr
flag and the installation defaults to/usr/local
as there's no way to change it because--prefix
causes an error.The error is:
I don't recall changing the configuration flags I use for
bc
since version 4.0, did the behavior of these flags change?Thanks in advance!
The text was updated successfully, but these errors were encountered: