Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4023260
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T10:34:37+00:00 2026-05-20T10:34:37+00:00

I already have my program compiling on the linux gcj, but i’d like to

  • 0

I already have my program compiling on the linux gcj, but i’d like to statically compile for windows.

I’ve failed for linux. It always says:
/usr/bin/ld: cannot find -lgcj
collect2: ld returned 1 exit status

Has anyone succeed at this (a portable java gcj binary statically liked for windows).
I don’t want pointers to ExcelsiorJet or launch4j (that doesn’t statically or AOT compile anything).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T10:34:37+00:00Added an answer on May 20, 2026 at 10:34 am

    Get the Windows GCJ from http://www.thisiscool.com/gcc_mingw.htm
    Follow the (GCJ 4.2) options on http://gcc.gnu.org/wiki/Statically_linking_libgcj to statically link libgcj.

    Yes, it works on Wine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have already posted something similar here but I would like to ask the
We already have things like static analysis that tells us what's wrong with our
Can anyone recommend monitoring software for a windows environment? We already have monitoring in
The basics have already been answered here . But is there a pre-built PHP
I have a build error in a c sharp program that I am compiling
I already have a deploy.rb that can deploy my app on my production server.
I want to assign a resource I already have a second name, similar to
What alternatives are there to GAE, given that I already have a good bit
For statistical reasons, I want an extensive analysis from a dataset. I already have
I have already tried PreRenderComplete and unload is too late

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.