Trying to get crosstool-0.43 to work on Solaris 9

David Kahn
Thu Mar 15 17:34:00 GMT 2007

David Kahn wrote:
>>>> My fix was to not hardcode sh, and use the
>>>> env variable $SHELL in the crosstool scripts.
>>>> On Solaris, I had success with ksh as you did.
>>> Actually, I think I defined the variable CONFIG_SHELL
>>> in my version of the crosstool scripts, and
>>> defined it in the config file.
>>   That sounds like the right answer.
> Patch attached.

I'm loosing my mind. These are the other two
patches that go along with that one.

The mkoverride thing is because that also breaks
at the very end of a successful build on Solaris9 ...
Something weird with an 'install' command at
the end of the entire thing that isn't really
needed, and after a few attempts at trying to
make it work, I gave up and just deleted it,
since it isn't needed.

 From Alex

> Great. What was the answer?

Dan said he would pick them up. I reminded him
when he sent out his recent mail about doing
the next version. (maybe a week or two ago.)

> One annoyance - if the script breaks, I re-run it. It'll then
> remove the gcc, ... directories and recreate them. That's taking
> "some" time. Can I somehow make crosstool skip this step?

Maybe, but the only way to do it right is with a complete
clean run. It didn't bother me that much to start over
every time. I think there's a way to not do that, but the
individual component makefiles may not necessarily behave.
(They usually do.)

Are you also building glibc? There's a couple more patches
you may need if you are. Search for my old posts to find them.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
URL: <>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mkoverride.patch
URL: <>
-------------- next part --------------
For unsubscribe information see

More information about the crossgcc mailing list