| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Message-ID: | <41A63B39.50808@familiehaase.de> |
| Date: | Thu, 25 Nov 2004 21:06:17 +0100 |
| From: | "Gerrit P. Haase" <gp AT familiehaase DOT de> |
| Organization: | Esse keine toten Tiere |
| User-Agent: | Mozilla/5.0 (Windows; U; WinNT4.0; de-AT; rv:1.7.3) Gecko/20040910 |
| MIME-Version: | 1.0 |
| To: | "Gerrit P. Haase" <gp AT familiehaase DOT de> |
| CC: | Tim Prince <tprince AT computer DOT org>, |
| "Gerrit P. Haase" <gerrit AT familiehaase DOT de>, cygwin AT cygwin DOT com, | |
| java AT gcc DOT gnu DOT org | |
| Subject: | Re: gcj-3.4.2 on Cygwin not working |
| References: | <41A61677 DOT 1090402 AT familiehaase DOT de> <6 DOT 1 DOT 2 DOT 0 DOT 0 DOT 20041125101405 DOT 022dd160 AT imap DOT myrealbox DOT com> <41A63AA3 DOT 9090206 AT familiehaase DOT de> |
| In-Reply-To: | <41A63AA3.9090206@familiehaase.de> |
| X-IsSubscribed: | yes |
Gerrit P. Haase wrote:
> Tim Prince wrote:
>
>> At 09:29 AM 11/25/2004, Gerrit P. Haase wrote:
>>
>>> Hi,
>>>
>>> just finished the 3.4.2 cygwin-special build, all compiles ok, however
>>> gcj compiled binaries are not working, any hints appreciated:
>>>
>>> $ echo 'public class hello_j {' > hello_j.java
>>> $ echo 'public static void main(String[] args) {' >> hello_j.java
>>> $ echo ' System.out.println("Just another Java hacker,");' >>
>>> hello_j.java
>>> $ echo ' }' >> hello_j.java
>>> $ echo '}' >> hello_j.java
>>> $ /usr/bin/gcj --main=hello_j hello_j.java -o hello_j
>>> $ ./hello_j
>>> Signal 11
>>
>>
>>
>> Were you able to avoid build failures, due to overflow of the argument
>> lines passed to ld or ar? I had the impression their was no intent to
>> support gcj on any Windows platform any longer.
>
>
> Huh? I have had no problems building gcj. At least this hello-world
> example works fine with 3.3.3, why shouldn't it work anymore with 3.4.x?
BTW, with 3.4.1 it works with MinGW as well:
$ gcj -mno-cygwin --main=hello_j hello_j.java -o hello_j
$ ./hello_j
Just another Java hacker,
Gerrit
--
=^..^=
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |