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: libgcj.dll on MinGW


>>>>> "TJ" == tj  <tj@laurenzo.org> writes:

TJ>    - Add the flag -Wl,libgcj.def to the link command for building
TJ> libgcj.la.  The def file is naively generated using a Perl script that
TJ> does an nm on libgcj0_convenience.a, extracting the symbol names of
TJ> type T, B and D.  The leading underscore is removed from the name and
TJ> the result is written to the def file.  I am currently doing this step
TJ> manually but it belongs in the build.

Perhaps we could modify gcj to emit a file like this as it compiles
classes to .o.  This could eliminate a lot of the ugliness here.  I
suppose we would still have to hand-maintain a file for CNI and JNI
exports, but there aren't many of these.

Tom


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