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:42:04
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vemgic$1qkvj$2@dont-email.me>
References : 1 2 3
User-Agent : Mozilla Thunderbird
On 2024-10-15 3:21 p.m., Brian Schenkenberger wrote:
On 2024-10-15 19:15:00 +0000, John Dallman said:
 
In article <vemd23$1qdt1$1@dont-email.me>, mail@SendSpamHere.ORG (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"
[...]
 In the distribution, the includes are in a directory:
 [package_name.INCLUDE]
 and the source is in [package_name.SRC]
 I am hoping not to have to edit all of the sources to change the #include "..."s.
$ create/dir dka100:[my_package_name.include]
$ edit/edt dka100:[my_package_name.include]include_file.h
$ dir dka100:[my_package_name.include]
Directory DKA100:[my_package_name.include]
INCLUDE_FILE.H;1
Total of 1 file.
$ define package_name [my_package_name.include]
$ show def
dka100:[devel.testincl]
$ type dka100:[devel.testincl]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);
}
$ cc test.c
$

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