Re: Common dll for both 32 and 64 OS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




----- Original Message ----- From: "Rama" <rama.pelluri@xxxxxxxxx>
To: <gcc-help@xxxxxxxxxxx>
Sent: Thursday, August 25, 2011 8:33 PM
Subject: Common dll for both 32 and 64 OS


Hello,

I have a requirement to generate a dll which can run on both 32 bit
and 64 bit Windows OS.

Is there any option/way  in gcc to do this?

Just build your dll with a 32-bit build of gcc, and it will run on 64-bit Windows OS (unless the app that tries to load that dll on the 64-bit OS was built as a 64-bit app.)

That is, 32-bit apps/dlls will run on both 32-bit and 64-bit Windows OS.

Cheers,
Rob


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux