public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
* RE: GCJ on Linux
@ 2000-04-01  0:00 Andrew Zahra
  0 siblings, 0 replies; 6+ messages in thread
From: Andrew Zahra @ 2000-04-01  0:00 UTC (permalink / raw)
  To: Boehm, Hans, java-discuss; +Cc: Peter Nicholson, Justin Urbanski

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2005 bytes --]

Title: RE: GCJ on Linux





Yes - it's a runtime failure. Sorry for not making that clear.


We'll grab the latest snapshot of GCJ and try it again on our system.


-----Original Message-----
From:   Boehm, Hans [SMTP:hboehm@exch.hpl.hp.com]
Sent:   Wednesday, January 26, 2000 4:54 AM
To:     Zahra, Andrew [WOLL:4009-M:EXCH]; java-discuss@sourceware.cygnus.com
Cc:     Nicholson, Peter [WOLL:4009:EXCH]; Urbanski, Justin [WOLL:4009:EXCH]
Subject:        RE: GCJ on Linux


Assuming this is a runtime failure, it's likely to be caused by the fact that Mandrake 6.1 aparently uses a kernel configured for > 1GB physical memory.  This causes the main process stack to start at an address different from what the garbage collector expects.  This is fixed in more recent versions of the garbage collector.

 
Hans


-----Original Message-----
From: Andrew Zahra [ mailto:andzahra@nortelnetworks.com ]
Sent: Monday, January 24, 2000 5:48 PM
To: java-discuss@sourceware.cygnus.com
Cc: Peter Nicholson; Justin Urbanski
Subject: GCJ on Linux




We have just installed gcj on a Linux/intel machine. When we compile a trivial hello world program we get a segmentation violation. Does GCJ work under Linux on intel?

Our system details:
Mandrake Linux 6.1 


[root@zwolb00c gcc]# uname -a
Linux zwolb00c.asiapac.nortel.com 2.2.13-7mdksmp #1 SMP Wed Sep 15
16:38:50 CEST 1999 i686 unknown 


[root@zwolb00c gcc]# gcc -v
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.1/specs 


gcc version 2.95.1 19990816 (release) 


[root@zwolb00c gcc]# gcj -dumpversion
2.95.1
[root@zwolb00c gcc]# gcj -dumpmachine
i686-pc-linux-gnu 



Hardware is dual Celerons 



----------------------
Andrew Zahra, Nortel Networks - Wollongong Australia. andzahra@nortelnetworks.com
Tel: +61 2 4224 2872   ESN: 639 2872     Fax: +61 2 4224 2801  Mobile: +61 428 403 759
Box U87, Uni of Wollongong
Wollongong, NSW 2500
Australia 





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: GCJ on Linux
  2012-02-21 10:30   ` GCJ on Linux Me Myself and I
@ 2012-02-21 11:25     ` Jonathan Wakely
  0 siblings, 0 replies; 6+ messages in thread
From: Jonathan Wakely @ 2012-02-21 11:25 UTC (permalink / raw)
  To: Me Myself and I; +Cc: java, gcc-help

On 21 February 2012 10:30, Me Myself and I wrote:
>
> Does gcj on Linux give the option to compile for windows?

No.  GNU/Linux and Windows have entirely different, incompatible
runtime environments, you can't just say "I want this to run on
Windows" and expect a GNU/Linux compiler to link to the Windows
runtime.  You'd need a cross-compiler targeting Windows, as described
at rmathew's document that you've been posting, which would need
copies of all the Windows runtime files (i.e. the binaries for
"mingw-runtime" and "w32api")

> Can someone tell me what the appropriate windows switch is?
>
> I have a 64 bit Linux OS install.  IS there a 32 bit compile switch, and does anyone know it?

Assuming you're talking about x86, it's -m32, as documented in the GCC manual.

Maybe it would be easier to just run normal Java code on Windows,
instead of compiling to native code with gcj.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* GCJ on Linux
  2012-02-21 10:14 ` David Paterson
@ 2012-02-21 10:30   ` Me Myself and I
  2012-02-21 11:25     ` Jonathan Wakely
  0 siblings, 1 reply; 6+ messages in thread
From: Me Myself and I @ 2012-02-21 10:30 UTC (permalink / raw)
  To: java, gcc-help


Does gcj on Linux give the option to compile for windows?

Can someone tell me what the appropriate windows switch is?

I have a 64 bit Linux OS install.  IS there a 32 bit compile switch, and does anyone know it?

 		 	   		  

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: GCJ on Linux
  2000-04-01  0:00 Andrew Zahra
@ 2000-04-01  0:00 ` Alexandre Petit-Bianco
  0 siblings, 0 replies; 6+ messages in thread
From: Alexandre Petit-Bianco @ 2000-04-01  0:00 UTC (permalink / raw)
  To: Andrew Zahra; +Cc: java-discuss, Peter Nicholson, Justin Urbanski

Andrew Zahra writes:

> We have just installed gcj on a Linux/intel machine. When we compile
> a trivial hello world program we get a segmentation violation. Does
> GCJ work under Linux on intel?

Yes. If you can build a test case containing code you can make public,
then you can file a PR ( http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl )
and someone will be able to tell you whether this is an already fixed,
known or new bug.

I'm assuming you're getting a compiler bug, as opposed to a runtime
bug. Am I right?

./A

^ permalink raw reply	[flat|nested] 6+ messages in thread

* GCJ on Linux
@ 2000-04-01  0:00 Andrew Zahra
  2000-04-01  0:00 ` Alexandre Petit-Bianco
  0 siblings, 1 reply; 6+ messages in thread
From: Andrew Zahra @ 2000-04-01  0:00 UTC (permalink / raw)
  To: java-discuss; +Cc: Peter Nicholson, Justin Urbanski

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 917 bytes --]

Title: GCJ on Linux





We have just installed gcj on a Linux/intel machine. When we compile a trivial hello world program we get a segmentation violation. Does GCJ work under Linux on intel?

Our system details:
Mandrake Linux 6.1


[root@zwolb00c gcc]# uname -a
Linux zwolb00c.asiapac.nortel.com 2.2.13-7mdksmp #1 SMP Wed Sep 15
16:38:50 CEST 1999 i686 unknown


[root@zwolb00c gcc]# gcc -v
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.1/specs


gcc version 2.95.1 19990816 (release)


[root@zwolb00c gcc]# gcj -dumpversion
2.95.1
[root@zwolb00c gcc]# gcj -dumpmachine
i686-pc-linux-gnu



Hardware is dual Celerons



----------------------
Andrew Zahra, Nortel Networks - Wollongong Australia. andzahra@nortelnetworks.com
Tel: +61 2 4224 2872   ESN: 639 2872     Fax: +61 2 4224 2801  Mobile: +61 428 403 759
Box U87, Uni of Wollongong
Wollongong, NSW 2500
Australia





^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: GCJ on Linux
@ 2000-04-01  0:00 Boehm, Hans
  0 siblings, 0 replies; 6+ messages in thread
From: Boehm, Hans @ 2000-04-01  0:00 UTC (permalink / raw)
  To: 'Andrew Zahra', java-discuss; +Cc: Peter Nicholson, Justin Urbanski

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1534 bytes --]

Title: GCJ on Linux



Assuming this is a runtime failure, it's likely to be 
caused by the fact that Mandrake 6.1 aparently uses a kernel configured for > 
1GB physical memory.  This causes the main process stack to start at an 
address different from what the garbage collector expects.  This is fixed 
in more recent versions of the garbage collector.
 
Hans

  -----Original Message----- From: Andrew Zahra 
  [mailto:andzahra@nortelnetworks.com] Sent: Monday, January 24, 2000 
  5:48 PM To: java-discuss@sourceware.cygnus.com Cc: Peter 
  Nicholson; Justin Urbanski Subject: GCJ on 
Linux
  We have just installed gcj on a Linux/intel 
  machine. When we compile a trivial hello world program we get a segmentation 
  violation. Does GCJ work under Linux on intel?
  Our system details: Mandrake Linux 6.1 
  [root@zwolb00c gcc]# uname -a Linux zwolb00c.asiapac.nortel.com 2.2.13-7mdksmp #1 SMP Wed 
  Sep 15 16:38:50 CEST 1999 i686 
  unknown 
  [root@zwolb00c gcc]# gcc -v Reading specs from 
  /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.1/specs 
  gcc version 2.95.1 19990816 (release) 
  [root@zwolb00c gcc]# gcj -dumpversion 
  2.95.1 [root@zwolb00c gcc]# gcj -dumpmachine i686-pc-linux-gnu 
  Hardware is dual Celerons 
  ---------------------- Andrew Zahra, Nortel Networks - Wollongong 
  Australia. andzahra@nortelnetworks.com Tel: +61 2 4224 2872   ESN: 639 2872     
  Fax: +61 2 4224 2801  Mobile: 
  +61 428 403 759 Box U87, Uni of 
  Wollongong Wollongong, NSW 
  2500 Australia 


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-02-21 11:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-01  0:00 GCJ on Linux Andrew Zahra
  -- strict thread matches above, loose matches on Subject: below --
2012-02-21  5:32 Please, there now has to be someone who can get this working! Me Myself and I
2012-02-21 10:14 ` David Paterson
2012-02-21 10:30   ` GCJ on Linux Me Myself and I
2012-02-21 11:25     ` Jonathan Wakely
2000-04-01  0:00 Andrew Zahra
2000-04-01  0:00 ` Alexandre Petit-Bianco
2000-04-01  0:00 Boehm, Hans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).