Can't find specified CC
Frieder Berthold
berthold.frieder at googlemail.com
Thu Nov 19 15:06:07 UTC 2015
I try to build the OpenJDK 8
2015-11-19 15:03 GMT+01:00 Erik Joelsson <erik.joelsson at oracle.com>:
> Which version of OpenJDK are you trying to build? I know this has been an
> issue historically but it should work in current jdk9.
>
> /Erik
>
>
> On 2015-11-19 14:13, Frieder Berthold wrote:
>
>> Hello to all,
>>
>> I want to build the openJDK with a musl cross-compiler.
>> For that reason I configure the project with
>> CC=/absolut/path/to/my/compiler
>> Configure then says that it can't find a working C Compiler.
>> Using strace on the configure command I can see that it tries to open the
>> specified path appended to some default paths (e.g
>> /usr/local/sbin//absolut/path/to/my/compiler or
>> /usr/bin//absolut/path/to/my/compiler)
>> My solution right now is a symlink to my compiler in one of those paths,
>> but this doesn't feel right.
>> Is there a more correct way of doing it?
>>
>> Frieder
>>
>
>
More information about the build-dev
mailing list