stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <se...@roguewave.com>
Subject Re: svn commit: r454781 - /incubator/stdcxx/trunk/etc/config/windows/configure.wsf
Date Wed, 11 Oct 2006 16:35:46 GMT
Farid Zaripov wrote:
>>-----Original Message-----
>>From: Martin Sebor [mailto:sebor@roguewave.com] 
>>Sent: Tuesday, October 10, 2006 9:53 PM
>>To: stdcxx-dev@incubator.apache.org
>>Subject: Re: svn commit: r454781 - 
>>/incubator/stdcxx/trunk/etc/config/windows/configure.wsf
>>
>>Btw., it would be nice to keep these parts of the build 
>>infrastructure in sync. Any ideas how? (Could we factor the 
>>function lists out into a file that could be read by both the 
>>shell and the Windows scripts?)
> 
>   Sure. If someone will make changes to the libc_decl.sh I will
> port the changes to configure.wsf. I'm not so familiar with sh
> scripting to make useful format of file with functions.

I was hoping we could automate it. The format of the file is up
to us. What we have today is basically just a list of lists that
goes something like this:

   <header-1>="<function-1> <function-2> ... <function-K>"
   <header-2>="<function-1> <function-2> ... <function-L>"
   ...
   <header-N>="<function-1> <function-2> ... <function-M>"

For example, the entry for <wctype.h> might look like this:

   wctype="iswalpha iswalnum iswcntrl iswdigit iswgraph iswlower \
          iswprint iswpunct iswspace iswupper iswxdigit wctype   \
          iswctype towlower towupper wctrans towctrans"

To generalize it we would probably also need a list of header
names:

   headers="assert ctype ... wctype"

Martin

Mime
View raw message