Ability to override compiler from environment

Thorbjørn Ravn Andersen thunderaxiom at gmail.com
Wed Jun 25 21:53:19 UTC 2008


Mark Wielaard skrev  den 25-06-2008 10:03:
> Hi,
>
> On Tue, 2008-06-24 at 14:51 -0700, Dmitri Trembovetski wrote:
>   
>> Thorbjørn Ravn Andersen wrote:
>>     
>>> Martin Buchholz skrev  den 24-06-2008 19:57:
>>>       
>>>> I am in favor of the fundamental change to a "configure + make" model,
>>>> instead of configury stuff being done in the Makefiles as is the
>>>> current practice.
>>>>   
>>>>         
>>> I agree, but I have understood that this work has been done in IcedTea 
>>> already.  Is there any estimate when these two codebases may converge?
>>>       
>>    Does IcedTea configure+make model work on platforms other than
>>    linux? OpenJDK has to be built at least on Solaris and Windows.
>>
>>    It's my understanding that Windows is the greatest pain in
>>    terms of build environment.
>>     
>
> It should work on (open)solaris, but I haven't tried myself. I doubt
>
>   
I gave it a try again, just to see what happens.

The script first looks for an awk and finds /usr/bin/nawk, and then 
explicitly later looks for gawk.  export GAWK=/usr/bin/nawk got me over 
that test.

It requires both an ecj.jar and a libgcj.jar.  Are both necessary?

A "-bash-3.2$ ./configure 
--with-ecj-jar=/export/home/ravn/download/ecj.jar --with-ecj 
--with-libgcj-jar=/export/home/ravn/download/ecj.jar 
--with-xalan2-jar=/export/home/ravn/download/ecj.jar 
--with-xalan2-serializer-jar=/export/home/ravn/download/ecj.jar 
--with-xerces2-jar=/export/home/ravn/download/ecj.jar" got me to
configure: error: "motif headers were not found -
        try installing lesstif-devel."

which I now remember to be the place where I gave up the last time as 
apparently Motif is not available under OpenSolaris and "pkg search 
lesstif" did not show any packages.

I'll look at building lesstif and see what happens then...

/Thorbjørn





More information about the build-dev mailing list