building gcj on OS X (also AWT)

John Gabriele john3g@bestweb.net
Fri May 21 10:46:00 GMT 2004


>> [snip]
>> how does gcj find the tools it needs in /usr/local/gcj if
>> that directory isn't in my $PATH?

[snip explanation]
>
>> Same goes for libraries. I'm not sure how OS X does things,
>> but I know that:
>>
>>  A. I've got two libstdc++'s (one in /usr/local/gcj/lib and the
>>     other in /usr/lib).
>
> Two reasons:
> 	1. because GCC when invoked does a -LPATH_TO_LIBRARIES_FOR_THIS_GCC
>
> 	2. Because on Mac OS X the library installed path gets built into
> the executable so it finds the right one.
>
>

Thanks for the explanations Andrew. I updated the article,
submitted it to osnews, and they put up a link to it! :)
http://www.osnews.com/index.php

---J



More information about the Java mailing list