FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

*.COM Files - ct.obj

 
Post new topic   Reply to topic     Forum Index -> General
View previous topic :: View next topic  
Author Message
wishmaster



Joined: 23 Sep 2004
Posts: 4

PostPosted: Thu Sep 23, 2004 6:38 am    Post subject: *.COM Files - ct.obj Reply with quote

Hello, i've just started with D. I wanted to link my d program as a *.COM file. But just i want to link my program i get an error, "Error... ct.obj not found". The problem is that i cant find ct.obj. Can somebody send me this file ? And theres another amusing problem, allways if i try to compile a d file i have to put the object.d and the std directory in the same directory as my source file. Because the compiler doesnt find these files. How to fix that problem ?
Thanks for help Very Happy

Bye.
Back to top
View user's profile Send private message
jcc7



Joined: 22 Feb 2004
Posts: 657
Location: Muskogee, OK, USA

PostPosted: Thu Sep 23, 2004 8:41 am    Post subject: Re: *.COM Files - ct.obj Reply with quote

wishmaster wrote:
I wanted to link my d program as a *.COM file.
DMD only creates *.exe executables.

wishmaster wrote:
But just i want to link my program i get an error, "Error... ct.obj not found". The problem is that i cant find ct.obj.
I've never heard of that file. Are you trying to compile a file called ct.d? It might help if you provided some code.

wishmaster wrote:
And theres another amusing problem, allways if i try to compile a d file i have to put the object.d and the std directory in the same directory as my source file. Because the compiler doesnt find these files. How to fix that problem ?
Perhaps your dmd\bin\sc.ini file is missing or corrupted. Here's what mine looks like:
Code:
[Version]
version=7.51 Build 020

[Environment]
LIB="?@P?\..\lib";\dm\lib
DFLAGS="-I?@P?\..\src\phobos"
LINKCMD=?@P?\..\..\dm\bin\link.exe
Have you even been able to compile a sample program in dmd\samples\d?
Back to top
View user's profile Send private message AIM Address
wishmaster



Joined: 23 Sep 2004
Posts: 4

PostPosted: Thu Sep 23, 2004 9:34 am    Post subject: Reply with quote

You can create a .COM file with dmc -mt
Can you try it ?
Back to top
View user's profile Send private message
jcc7



Joined: 22 Feb 2004
Posts: 657
Location: Muskogee, OK, USA

PostPosted: Thu Sep 23, 2004 11:18 am    Post subject: Reply with quote

wishmaster wrote:
You can create a .COM file with dmc -mt
Can you try it ?
Who said anything about DMC? I wouldn't be surprised at all if you could create a .COM program with Digital Mar's C compiler. But DMC != DMD.

Is this a D question of a C question?

Hey, if I'm wrong and you can create a .COM program using DMD, feel free to tell me how.
Back to top
View user's profile Send private message AIM Address
wishmaster



Joined: 23 Sep 2004
Posts: 4

PostPosted: Thu Sep 23, 2004 11:33 am    Post subject: Reply with quote

Ohh, sorry Embarassed
I thought dmc is a D compiler, too.
Back to top
View user's profile Send private message
sean



Joined: 24 Jun 2004
Posts: 609
Location: Bay Area, CA

PostPosted: Thu Sep 23, 2004 3:44 pm    Post subject: Reply with quote

hehe nope. DMC = Digital Mars C compiler. DMD = Digital Mars D compiler.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> General All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group