This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: building gcj on OS X (also AWT)


[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]