Thread View: comp.os.os2.programmer
2 messages
2 total messages
Started by Gregor Pfeifer
Thu, 13 Jun 1991 11:22
How can I compile an .SQC file in the PWB?
Author: Gregor Pfeifer
Date: Thu, 13 Jun 1991 11:22
Date: Thu, 13 Jun 1991 11:22
23 lines
964 bytes
964 bytes
Hi! I have the following problem: I will use the Microsoft Programmers Workbench to develop a C Programm. In some Moduls there will be embedded SQL statements. The extention of these files are 'SQC'. But the PWB don't know this extension. I've tried to modifiy the tools.ini File, but it failed. I don't know exactly, but the modification looked like this: build: macro PRE "sqlprep" build: .SQC.C pre_sqc_c build: command pre_sqc_c "$(PRE) <$" What's wrong? What is missing? Can anyone help? Thanx in advance. Gregor
Re: How can I compile an .SQC file in the PWB?
Author: Alan Ballard
Date: Fri, 14 Jun 1991 16:09
Date: Fri, 14 Jun 1991 16:09
24 lines
1727 bytes
1727 bytes
In article <4911@gmdzi.gmd.de> pfeifer@gmdzi.gmd.de (Gregor Pfeifer) writes: >I will use the Microsoft Programmers Workbench to develop >a C Programm. In some Moduls there will be embedded >SQL statements. The extention of these files are 'SQC'. >But the PWB don't know this extension. I've tried >to modifiy the tools.ini File, but it failed. (Sorry if this is a duplicate; my previous reply seems to have got lost.) I think the problem is that PWB isn't capable of deriving how to create a .O file from your .SQC.C and the built-in .C.O rules. You need to define build entries for a rule .SQC.O that does the preprocess and compile steps. There is a Microsoft technical note that describes this much better than the so-called documentation that comes with PWB. I don't have the details with me right now. Send me e-mail next week if you still can't figure it out from this and I'll type in the example. -- Alan Ballard | Internet: ballard@ucs.ubc.ca University Computing Services | Bitnet: USERAB1@UBCMTSG University of British Columbia | Phone: 604-822-3074 Vancouver B.C. Canada V6T 1Z2 | Fax: 604-822-5116
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads