[Info-vax] Looking into C-include files on VMS

Joerg Schilling js at cs.tu-berlin.de
Wed Oct 28 17:23:51 EDT 2009


In article <a26ade9d-4fb1-4ecb-9b84-42460674c4f8 at s15g2000yqs.googlegroups.com>,
Steven Schweda  <sms.antinode at gmail.com> wrote:
>Joerg Schilling wrote:
>
>> I am currently trying to make compiling cdrtools a bit more automated.
>
>   More automated how?  More than what's available here?:

Well I did not check this since a while in special as Eberhard Heuser did 
mention that he stopped supporting cdrtools.

Automated means for me that I can add files and people on all supported 
platforms can compile the code without the need to manually edit files.
This is why the first program I usually port to a new platform is "smake".
On some platforms, GNU make will work also but the GNU make Makefile parser 
has some bugs that tends to cause problems on platforms that use CR/LF in files 
and backslash in filenames.

>      http://antinode.info/dec/sw/cdrtools.html
>
>> There are several problems:
>
>   How many haven't been solved already?

This is something that may change from release to release.

If I add new features or if I restructure things in order to enhance 
portability, I create a new configure script and as long as you go a different 
way, you always have to do manual work.


>> -	The filesystem only supports one dot "." in filenames which would
>> 	require modifications in "configure"
>
>   Trying to force-fit a UNIX-like "configure" script onto a
>VMS system seems to me to be the wrong way to do this job.
>Which is why I did it differently.  UnZip and VMSTAR both
>adjust file names as needed for an ODS2 file system.  My VMS
>builders seem to cope, so far as I know.

Why? This is something that was created to test the features. What I did see 
on the VMS account I aquired a week ago looks like something that is very close
to a working solution and HP did even claim that on a newer system configure 
should work now.

>> -	OpenVMS 7.0 should support a POSIX compliant struct stat.st_ino
>> 	but I cannot make this work.
>
>   What doesn't work?  What did you try?  Look for
>__USING_STD_STAT in my code changes.

This does not work on the machine I currently have access to.

>> 	**********************
>> -	I cannot see the ful content of the system include files.
>> 	Could someone help me with hints on how to do this?
>
>   They can be extracted from the text library, if that hasn't
>been done already.  I think that it's not done automatically
>now, though it once was.  I should have a procedure somewhere
>to do it.

With the instructions in your other article I was able to extract the files, 
thank you! This helps.


>> I am currntly trying to compile "smake" and use a static hand made
>> configuration that was created by Mr. Heuser but I need to find a way to
>> run commands via bash. What is the best way to do this? THere seems to be no
>> fork() but vfork(). Will vfork()/exec() work?
>
>   Don't those static, hand-made configuration files handle
>this?

The current configure I am using has aprox. 650 individual tests.
If you miss results for tests that would succeed, the software will
not use features that could be available.

>   I haven't published a kit since a59, and I still need (and
>intend) to get the "find" code to work on VMS, but otherwise,
>I'm not aware of significant problems with what I've done.
>But I'm always open to a good complaint.
>
>   Does this wheel really need re-invention?


What do you mean with reinventing wheels?

I asume that you are talking about libfind. Libfind is the only
implementation of a portable and reusable find program that allows you to use 
it from within any program and this implement features that won't be  possible
without libfind.


-- 
EMail:joerg at schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
      js at cs.tu-berlin.de		(uni)  
      joerg.schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



More information about the Info-vax mailing list