Thread Subject:
compiling for 32-bit from win64 OS

Subject: compiling for 32-bit from win64 OS

From: Matt J

Date: 17 Aug, 2012 19:46:13

Message: 1 of 4

I need a way to compile -- on a machine running win64 OS -- both mex files and MATLAB standalone applications for a 32-bit target machine.

Is there a way, within 64-bit MATLAB to set mex and deploytool to compile for a 32-bit target?

Failing that, can I install both 64-bit MATLAB and 32-bit MATLAB on the same machine (running win64 OS) and use 32-bit MATLAB when I need to compile for a 32-bit target? I've been told that 32-bit and 64-bit may not be able to safely co-exist on the same win64 platform. Is there truth to that?

Subject: compiling for 32-bit from win64 OS

From: Bruno Luong

Date: 17 Aug, 2012 20:03:11

Message: 2 of 4

"Matt J" wrote in message <k0m725$nsb$1@newscl01ah.mathworks.com>...

>
> Failing that, can I install both 64-bit MATLAB and 32-bit MATLAB on the same machine (running win64 OS) and use 32-bit MATLAB when I need to compile for a 32-bit target? I've been told that 32-bit and 64-bit may not be able to safely co-exist on the same win64 platform. Is there truth to that?

FYI, I run both for 5 years without any problem.

Bruno

Subject: compiling for 32-bit from win64 OS

From: Matt J

Date: 17 Aug, 2012 20:07:12

Message: 3 of 4

"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <k0m81v$rmc$1@newscl01ah.mathworks.com>...
> "Matt J" wrote in message <k0m725$nsb$1@newscl01ah.mathworks.com>...
>
> >
> > Failing that, can I install both 64-bit MATLAB and 32-bit MATLAB on the same machine (running win64 OS) and use 32-bit MATLAB when I need to compile for a 32-bit target? I've been told that 32-bit and 64-bit may not be able to safely co-exist on the same win64 platform. Is there truth to that?
>
> FYI, I run both for 5 years without any problem.
===========

Really? I've been told that a 32-bit installation and a 64-bit installation may try to use common files in a common location or something, and may end up repeatedly overwriting each other.

Subject: compiling for 32-bit from win64 OS

From: Matt J

Date: 20 Aug, 2012 15:39:09

Message: 4 of 4

FYI - I confirmed with Tech Support that 64 bit and 32 bit MATLAB can co-exist. They also mentioned the -win32 flag the DEPLOYTOOL documentation:


-win32 Run in 32-Bit Mode
Use this option to build a 32-bit application on a 64-bit system only when the following are both true:

*You use the same MATLAB installation root (install_root) for both 32-bit and 64-bit versions of MATLAB.

*You are running from a Windows command line (not a MATLAB command line).

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
32 bit Matt J 17 Aug, 2012 15:53:14
mex Matt J 17 Aug, 2012 15:53:14
64 bit Matt J 17 Aug, 2012 15:52:51
compiler Matt J 17 Aug, 2012 15:52:51
rssFeed for this Thread

Contact us