Re: Objects tied in by Linker

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Lehner, Michael writes:
 > 
 > I am compiling a Java Sources with gcj to native machine code for a
 > mips target and our project is using Greenhills compiler, so I have
 > to use Greenhills to compile the rest of the project and to link
 > the whole thing.

That probably won't work.  gcc (and gcj) assume that their own
libraries are present.  The symbols you're missing are part of libgcc.

Also, gcj uses the C++ ABI, and you can't guarantee the Greenhills C++
ABI is the same.  If you compile all Java and C++ code with gcc, and
make sure that all the gcc runtime libraries are used, then it might
work.  But I suspect your problems are just starting.

Andrew.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux