Re: Building 32bit program with MSVC?

2014-06-04 Thread Kagamin via Digitalmars-d-learn
LLVM never supported OMF. LDC uses msvcrt runtime, and MS claims that whatever can link with msvcrt, it also can link with later versions of msvcrt.

Re: Building 32bit program with MSVC?

2014-05-31 Thread Daniel Murphy via Digitalmars-d-learn
"Jonathan M Davis via Digitalmars-d-learn" wrote in message news:mailman.1421.1401576730.2907.digitalmars-d-le...@puremagic.com... > By dynamic linking do you mean LoadLibrary or linking with import > library? Both will work, otherwise we couldn't use Microsoft's libraries - e.g. std.windows.

Re: Building 32bit program with MSVC?

2014-05-31 Thread Jonathan M Davis via Digitalmars-d-learn
On Sat, 31 May 2014 07:53:40 + Kagamin via Digitalmars-d-learn wrote: > By dynamic linking do you mean LoadLibrary or linking with import > library? Both will work, otherwise we couldn't use Microsoft's libraries - e.g. std.windows.registry uses advapi32.dll to talk to the registry. But stat

Re: Building 32bit program with MSVC?

2014-05-31 Thread Kagamin via Digitalmars-d-learn
By dynamic linking do you mean LoadLibrary or linking with import library?

Re: Building 32bit program with MSVC?

2014-05-31 Thread Jonathan M Davis via Digitalmars-d-learn
On Sat, 31 May 2014 06:38:46 + Kagamin via Digitalmars-d-learn wrote: > They may use different debugging formats, but just linking should > be possible, especially with import libraries. _Dynamic_ linking is possible. Static linking is not. - Jonathan M Davis

Re: Building 32bit program with MSVC?

2014-05-30 Thread Kagamin via Digitalmars-d-learn
They may use different debugging formats, but just linking should be possible, especially with import libraries.

Re: Building 32bit program with MSVC?

2014-05-30 Thread Jeremy DeHaan via Digitalmars-d-learn
On Friday, 30 May 2014 at 20:48:44 UTC, Kagamin wrote: You can try ldc, which uses mingw toolchain, it's probably compatible with msvc. I don't necessarily need to do this, I was just wondering if it was possible. Mostly because MSVC provides a lot of import and static libraries that DMC does

Re: Building 32bit program with MSVC?

2014-05-30 Thread Kagamin via Digitalmars-d-learn
You can try ldc, which uses mingw toolchain, it's probably compatible with msvc.

Re: Building 32bit program with MSVC?

2014-05-30 Thread Mike Parker via Digitalmars-d-learn
On 5/30/2014 3:25 AM, Jeremy DeHaan wrote: I know that we can use MSVC to build a 64 bit program, but is it also possible to use it to build a 32 bit program as well? If you mean using the MSVC toolchain with DMD, then the answer is no, not at the moment. Rainer has done some work toward this,

Re: Building 32bit program with MSVC?

2014-05-29 Thread Jonathan M Davis via Digitalmars-d-learn
On Thu, 29 May 2014 20:12:52 + Remo via Digitalmars-d-learn wrote: > On Thursday, 29 May 2014 at 18:25:19 UTC, Jeremy DeHaan wrote: > > I know that we can use MSVC to build a 64 bit program, but is > > it also possible to use it to build a 32 bit program as well? > > Yes of course it is possi

Re: Building 32bit program with MSVC?

2014-05-29 Thread Remo via Digitalmars-d-learn
On Thursday, 29 May 2014 at 18:25:19 UTC, Jeremy DeHaan wrote: I know that we can use MSVC to build a 64 bit program, but is it also possible to use it to build a 32 bit program as well? Yes of course it is possible. It you are talking about Visual-D then it is possible there too.

Building 32bit program with MSVC?

2014-05-29 Thread Jeremy DeHaan via Digitalmars-d-learn
I know that we can use MSVC to build a 64 bit program, but is it also possible to use it to build a 32 bit program as well?