PATCH: RDOS support for libstdc++-v3

Leif Ekblad leif@rdos.net
Fri Dec 30 18:48:00 GMT 2005


> Remove the initial / in the changelog.
> configure is generated from configure.ac and other files.

Why then is configure part of the source code?
 
>>       * /libstdc++-v3/configure.host: Added support for RDOS
>>       * /libstdc++-v3/config/os/rdos/ctype_base.h: Add file copied from
>> newlib
>>       * /libstdc++-v3/config/os/rdos/ctype_inline.h: Add file copied  
>> from
>> newlib
>>       * /libstdc++-v3/config/os/rdos/ctype_noninline.h: Add file  
>> copied from
>> newlib
>>       * /libstdc++-v3/config/os/rdos/os_defines.h: Add file os-defines  
>> for
>> RDOS
> ChangeLog entries wrap to 80 characters.

OK.
 
>> --- configure 2005-08-04 01:17:06.000000000 +0200
>> +++ ../../gcc-4.1-20051008/libstdc++-v3/configure 2005-12-29
>> 19:25:20.000000000 +0100
>> @@ -3927,6 +3927,10 @@ cygwin* | mingw* |pw32*)
>> lt_cv_file_magic_cmd='$OBJDUMP -f'
>> ;;
>> +rdos*)
>> + lt_cv_deplibs_check_method=pass_all
>> + ;;
>> +
> 
> This part comes from libtool.

Do you mean this file is identical in libstdc++-v3 and libtool and
is maintained by libtool?
 
>> darwin* | rhapsody*)
>> # this will be overwritten by pass_all, but leave it in just in case
>> lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared
>> library'
>> @@ -4511,6 +4515,9 @@ ia64-*-hpux*)
>> rm -rf conftest*
>> ;;
>> +*-*rdos*)
>> + LD="${LD-ld} -m elf_i386"
>> + ;;
> 
> Likewise.
> 
>> x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*- 
>> *linux*)
>> # Find out which ABI we are using.
>> echo 'int i;' > conftest.$ac_ext
>> @@ -76851,7 +76858,7 @@ _ACEOF
>> ;;
>> esac
>> ;;
>> - *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
>> + *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu |
>> *-*-rdos*)
>> @@ -78169,7 +78176,7 @@ echo "${ECHO_T}$enable_iconv" >&6
>> _ACEOF
>> case "$target" in
>> - *-uclinux*)
>> + *-uclinux* | *-rdos*)
>> # Don't enable LFS with uClibc
>> ;;
>> *)
> 
> I don't know where this parts come from but a simple grep will find  
> them.
> 
>> --- configure.host 2005-05-25 21:33:34.000000000 +0200
>> +++ ../../gcc-4.1-20051008/libstdc++-v3/configure.host 2005-12-29
>> 17:35:10.000000000 +0100
>> @@ -174,6 +174,9 @@ case "${host_os}" in
>> cygwin*)
>> os_include_dir="os/newlib"
>> ;;
>> + rdos*)
>> + os_include_dir="os/newlib"
>> + ;;
>> darwin | darwin[1-7] | darwin[1-7].*)
>> # On Darwin, performance is improved if libstdc++ is single-module.
>> # Up to at least 10.3.7, -flat_namespace is required for proper
> 
> Since you are using diff manually, you can add -N to the options passed  
> to it to get
> the diff to include the new files.

I am not. I used diff -pu on Debian Linux and pasted it into
this mail.

Leif Ekblad
www.rdos.net/rdos




More information about the Gcc-patches mailing list