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] | |
Lehner, Michael wrote:the
[Lehner, Michael] Thank you for all the interesting information you provided to me. Insuremoment I am trying to build a toolchain with ulibgcj, but I am notisif this will work, because they write on the project page, that ittype isfor i686/amd64/.. but I am using a mips64 in the moment and thisnot listed.
In my understanding, micro-libgcj changes the source and doesn't doanyifplatform dependent stuff. So I would guess that it will work for you. The thing to remember is that a lot of useful stuff gets kicked out of the java class library and java language features. So check carefullyguy...you don't need them before investing time for micro-libgcj. I think you could always write an eMail to the maintainer of micro-libgcj if you have questions. He seemed to be quite a nice
[Lehner, Michael] The problem is, that I really don't know what features someone would perhaps need in the feature. I only make some research on how to include java in the current development process. That means there are no classes written for this project in java, but we perhaps want to use this language later. In the current situation we are not using gcc for this project, but there are other reasons why we also make some research if gcc could solve all our needs. In the view of java this would be perfect, because otherwise we would have to use 2 compilers for new releases written in java and C.
oneso that I won't need to rebuild my libgcj every time use a new package or I don't needareany longer? Or can I only exclude whole archives?
You don't need to rebuild GCJ. Thats why I meant that my approach is easier to maintain. What you have to do: - extract all objects from the libgcj archive (ar x libgcj.a) - remove the ones you don't need - create the new archive (ar q libgcj.a *.o) - compile your application again
Of course you will now get unresolved depencies because your objectsreferenced from other classes in the class library. For those you have to write stubs (minimal classes) and add them to the compilation. It needs quite some time, but it's worth the effort...
[Lehner, Michael] Perhaps I'll find a way to resolve these dependencies automatically or use a list where all are listed and get a new libgcj every build. But there is some time to solve this problem, first I will have to find out how libgcj will work, when I want my applications to run without a Linux system. Writing something simply out wont work, this is clear, but what about calculations and other operations, not using any system specific modules? We'll see.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |