gcj static link fails

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

 



When i try to static link a app, compiled with gcj i get:

/usr/bin/ld: cannot find -lgcj
collect2: ld returned 1 exit status

I try to compile it with: gcj --main=HelloWorld -o HelloWorld HelloWorld.java --static

My OS is Debian Testing with GCJ 4.3. All relevant packages are installed.

I hope somebody know a solution.

Martijn

[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