Re: Can C #includes like this be made to work onVMS?

Liste des GroupesRevenir à co vms 
Sujet : Re: Can C #includes like this be made to work onVMS?
De : m6502x64 (at) *nospam* gmail.com (mjos_examine)
Groupes : comp.os.vms
Date : 15. Oct 2024, 20:08:00
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vemeig$1qkvj$1@dont-email.me>
References : 1
User-Agent : Mozilla Thunderbird
On 2024-10-15 2:42 p.m., Brian Schenkenberger wrote:
I want to port a freeware package. It's C code is littered with includes like:
 #include "package_name/include_file.h"
 I've tried the DECC$***_INCLUDE logicals, the CC command quilifier / INCLUDE_DIRECTORY and logicals, rooted and otherwise, defining "package_name". Can't get the C compiler to find include_file.h.
 
$ type test.c
#include <stdio.h>
#include <stdlib.h>
#include "package_name/include_file.h"
int main(int argc, char *argv[])
{
     printf("this is a test: %s.\n", testresult);
}
$ type [.package_name]include_file.h
#define testresult "test include file"
$ cc test.c
$
$ show log dec*
(LNM$PROCESS_TABLE)
   "DECC$ARGV_PARSE_STYLE" = "ENABLE"
   "DECC$EFS_CASE_PRESERVE" = "ENABLE"
   "DECC$EFS_CHARSET" = "ENABLE"
$ dir [...]
Directory DKA100:[DEVEL.testincl]
package_name.DIR;1  TEST.C;1            TEST.OBJ;1
Total of 3 files.
Directory DKA100:[DEVEL.testincl.package_name]
INCLUDE_FILE.H;1
Total of 1 file.
Grand total of 2 directories, 4 files.

Date Sujet#  Auteur
15 Oct 24 * Can C #includes like this be made to work onVMS?20Brian Schenkenberger
15 Oct 24 +- Re: Can C #includes like this be made to work onVMS?1mjos_examine
15 Oct 24 `* Re: Can C #includes like this be made to work onVMS?18John Dallman
15 Oct 24  `* Re: Can C #includes like this be made to work onVMS?17Brian Schenkenberger
15 Oct 24   +- Re: Can C #includes like this be made to work onVMS?1mjos_examine
15 Oct 24   +* Re: Can C #includes like this be made to work onVMS?13Arne Vajhøj
15 Oct 24   i+- Re: Can C #includes like this be made to work onVMS?1Arne Vajhøj
16 Oct 24   i`* Re: Can C #includes like this be made to work onVMS?11Arne Vajhøj
16 Oct 24   i `* Re: Can C #includes like this be made to work onVMS?10Arne Vajhøj
17 Oct 24   i  +* Re: Can C #includes like this be made to work on VMS?6Lawrence D'Oliveiro
17 Oct 24   i  i+* Re: Can C #includes like this be made to work on VMS?4Arne Vajhøj
17 Oct 24   i  ii`* Re: Can C #includes like this be made to work on VMS?3Lawrence D'Oliveiro
17 Oct 24   i  ii `* Re: Can C #includes like this be made to work on VMS?2Arne Vajhøj
17 Oct 24   i  ii  `- Re: Can C #includes like this be made to work on VMS?1Lawrence D'Oliveiro
17 Oct 24   i  i`- Re: Can C #includes like this be made to work on VMS?1Arne Vajhøj
17 Oct 24   i  `* Re: Can C #includes like this be made to work onVMS?3Craig A. Berry
17 Oct 24   i   `* Re: Can C #includes like this be made to work onVMS?2Arne Vajhøj
18 Oct 24   i    `- Re: Can C #includes like this be made to work onVMS?1Arne Vajhøj
16 Oct 24   +- Re: Can C #includes like this be made to work onVMS?1Craig A. Berry
16 Oct 24   `- Re: Can C #includes like this be made to work onVMS?1Mark Berryman

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal