Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #19750

Re: Program in 32-bit, run on 64-bit OK?

From Cholo Lennon <chololennon@hotmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: Program in 32-bit, run on 64-bit OK?
Date 2012-11-14 14:11 -0300
Organization Aioe.org NNTP Server
Message-ID <k80j5b$o67$1@speranza.aioe.org> (permalink)
References <k8082k$fmr$1@news.albasani.net> <50a3a6ea$0$290$14726298@news.sunsite.dk>

Show all headers | View raw


On 14/11/2012 11:12, Arne Vajhøj wrote:
> On 11/14/2012 8:58 AM, sl@exabyte wrote:
>> I am too sure on this.
>>
>> I am preparing to install OpenSuse v10 32-bit on my pc. This pc is for
>> testing my C programs, which will eventually be transferred to my
>> internet
>> host which is running the 64-bit version.
>>
>> Can my programs run ?
>>
>> Off my head I think they should, but the reverse may not. Please
>> correct me.
>>
>> Do I have to pick the correct compiler ?
>
> Pure Java:
>
>                   Run with 32    Run with 64
> Build with 32       yes           yes
> Build with 64       yes           yes
>
>
> Pure C:
>
>                   Run on 32    Run on 64
> Build for 32        yes           yes
> Build for 64        no            yes
>
> Mix of Java and C via JNI:
>
>                   Run on/with 32    Run on/with 64
> Build for 32          yes              no

The OP can still run a 32-bit JNI java/C application on 64-bit: He/She 
just needs to use a 32-bit JVM.


> Build for 64          no               yes
>


Best Regards


-- 
Cholo Lennon
Bs.As.
ARG

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Program in 32-bit, run on 64-bit OK? "sl@exabyte" <sb5309@hotmail.com> - 2012-11-14 21:58 +0800
  Re: Program in 32-bit, run on 64-bit OK? "sl@exabyte" <sb5309@hotmail.com> - 2012-11-14 22:01 +0800
  Re: Program in 32-bit, run on 64-bit OK? Arne Vajhøj <arne@vajhoej.dk> - 2012-11-14 09:12 -0500
    Re: Program in 32-bit, run on 64-bit OK? Cholo Lennon <chololennon@hotmail.com> - 2012-11-14 14:11 -0300
      Re: Program in 32-bit, run on 64-bit OK? Arne Vajhøj <arne@vajhoej.dk> - 2012-11-14 12:14 -0500
        Re: Program in 32-bit, run on 64-bit OK? Joerg Meier <joergmmeier@arcor.de> - 2012-11-14 18:36 +0100
          Re: Program in 32-bit, run on 64-bit OK? "sl@exabyte" <sb5309@hotmail.com> - 2012-11-15 10:48 +0800
            Re: Program in 32-bit, run on 64-bit OK? Stuart <DerTopper@web.de> - 2012-11-16 00:08 +0100
              Re: Program in 32-bit, run on 64-bit OK? "SL@maxis" <ecp_gen@my-rialto.com> - 2012-11-16 09:23 +0800
                Re: Program in 32-bit, run on 64-bit OK? BGB <cr88192@hotmail.com> - 2012-11-15 22:52 -0600
                Re: Program in 32-bit, run on 64-bit OK? Fritz Wuehler <fritz@spamexpire-201211.rodent.frell.theremailer.net> - 2012-11-16 16:44 +0100
                Re: Program in 32-bit, run on 64-bit OK? Joerg Meier <joergmmeier@arcor.de> - 2012-11-17 13:18 +0100
                Re: Program in 32-bit, run on 64-bit OK? BGB <cr88192@hotmail.com> - 2012-11-17 12:42 -0600
              Re: Program in 32-bit, run on 64-bit OK? BGB <cr88192@hotmail.com> - 2012-11-15 22:46 -0600
                Re: Program in 32-bit, run on 64-bit OK? Stuart <DerTopper@web.de> - 2012-11-16 12:08 +0100
                Re: Program in 32-bit, run on 64-bit OK? BGB <cr88192@hotmail.com> - 2012-11-16 18:08 -0600
                Re: Program in 32-bit, run on 64-bit OK? Stuart <DerTopper@web.de> - 2012-11-17 23:59 +0100
              Re: Program in 32-bit, run on 64-bit OK? Anonymous <nobody@remailer.paranoici.org> - 2012-11-16 12:42 +0000
            Re: Program in 32-bit, run on 64-bit OK? Roedy Green <see_website@mindprod.com.invalid> - 2012-11-16 05:17 -0800
    Re: Program in 32-bit, run on 64-bit OK? Jan Burse <janburse@fastmail.fm> - 2012-11-14 20:08 +0100

csiph-web