Skip to content
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

CC with spaces causing trouble? #112

Closed
rofl0r opened this issue May 25, 2021 · 2 comments
Closed

CC with spaces causing trouble? #112

rofl0r opened this issue May 25, 2021 · 2 comments

Comments

@rofl0r
Copy link

rofl0r commented May 25, 2021

Configuring primary perl executable for i486-linux-musl (i486-pc-linux-musl)
Checking perl version ... perl5-5.34.0
Checking for cc ... ERROR: Supplied i486-linux-musl-gcc -L/home/ubuntu/x-prefix/i486/lib -isystem /home/ubuntu/x-prefix/i486/include is not usable
ERROR: configure --mode=target failed

could it be that shell executes "$CC" instead of $CC (without quotes) and causes this issue ?
i used CC="486-linux-musl-gcc -L/home/ubuntu/x-prefix/i486/lib -isystem /home/ubuntu/x-prefix/i486/include" ./configure --target=i486-linux-musl

@arsv
Copy link
Owner

arsv commented May 25, 2021

Yes that's exactly what happens. 443f7bd

configure --with-cc= skips that check and everywhere else it's just $(CC) effectively.

@rofl0r
Copy link
Author

rofl0r commented May 25, 2021

thanks!

@rofl0r rofl0r closed this as completed May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants