www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - DMD and C compatibility on Linux

reply Bob Cowdery <bob bobcowdery.plus.com> writes:
I've just started to get organised to port my project from Windows to
Ubuntu. I see there is now a DMD for Linux which I have installed. My
question is can anyone tell me what I need to build the C libraries in
to be compatible. On Windows I had to use DMC or convert the libraries.
As there is no DMC on Linux will GNU GCC output link with DMD output?

bob
Nov 27 2010
parent Robert Clipsham <robert octarineparrot.com> writes:
On 27/11/10 22:04, Bob Cowdery wrote:
 I've just started to get organised to port my project from Windows to
 Ubuntu. I see there is now a DMD for Linux which I have installed. My
 question is can anyone tell me what I need to build the C libraries in
 to be compatible. On Windows I had to use DMC or convert the libraries.
 As there is no DMC on Linux will GNU GCC output link with DMD output?

 bob

C libraries will "just work" on linux, there's no issues with OMF/COFF like on windows. -- Robert http://octarineparrot.com/
Nov 27 2010