curl-library
Re: Request for source file name changes
Date: Wed, 25 Jan 2012 23:02:28 +0100
2012/1/25 Patrick Monnerat wrote:
>
> Yang Tse wrote:
>
>> If the problem only resides in object file names derived
>> from .c extension source code files with long file names
>> (preprocessor and compiler being able to properly locate
>> and include header files with long file names) I believe
>> that the least intrusive approach would be to make
>> packages/OS400/initscript.sh or any other additional
>> shell script do any file renaming before build steps take
>> place.
>
> Not really: currently, the compiling shell script uses the
> Makefile.inc file to automatically get the source names to compile from
> CSOURCES. If I rename some files, this strategy wont work anymore.
If 'renaming script' renames the files and modifies Makefile.inc
contents with same edits. And 'renaming script' runs before build
process has a chance of including Makefile.inc everything should be
fine in OS400 land. Or am I still missing something?
OS400 build shell scripts already use 'sed' and 'grep', besides 'tr',
'basename', cat', 'echo' and others, so creating the 'renaming
script' won't introduce new dependencies for the OS400 build process.
-- -=[Yang]=- ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2012-01-25