Changeset 25303 for lang/c

Show
Ignore:
Timestamp:
11/29/08 03:28:05 (5 years ago)
Author:
saturday06
Message:

uooooo

Location:
lang/c/libintl-msvc
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lang/c/libintl-msvc/msvc.sh

    r25160 r25303  
    77export CFLAGS="$MY_CFLAGS /Feconftest.exe /DWIN32 /D_WIN32 /nologo /UBUILDING_DLL /Dintmax_t=int /I$abs_win_pwd" 
    88export CXXFLAGS="/EHsc $CFLAGS" 
    9 export LDFLAGS="/I$abs_win_pwd/win_iconv.c" 
     9export LDFLAGS="$abs_win_pwd/win_iconv.c" 
    1010 
    11 cd recipes/libintl/ 
    12 cp ../loadmsgcat-windows.h ../bindtextdom-windows.h intl/ 
    13 patch --batch --forward -p0 < ../intl.patch 
    14 if [ "$skip_LC_MESSAGES" = "yes" ]; then 
    15   patch --batch --forward -p0 < ../skip-LC_MESSAGES.patch 
    16 fi 
    17  
     11cd recipes/libintl 
    1812./configure --with-included-gettext 
    1913rm -rf intl/*.obj 
    20 make  
     14make clean 
     15make 
    2116lib intl/*.obj /OUT:libintl-MT.lib /LTCG /MACHINE:X86 /NOLOGO 
    2217 
  • lang/c/libintl-msvc/step1.sh

    r25300 r25303  
    1818mkdir -p win_iconv/lib 
    1919cp iconv.h win_iconv/include/ 
    20 gcc $CFLAGS $CFLAGS_UNICODE -c win_iconv.c -o win_iconv.o 
    21 ar rv win_iconv/lib/libiconv.a win_iconv.o 
     20gcc $CFLAGS $CFLAGS_UNICODE -c win_iconv.c -o win_iconv/win_iconv.o 
     21ar rv win_iconv/lib/libiconv.a win_iconv/win_iconv.o 
    2222 
    2323rm -fr win_iconv-win9x 
     
    6363 
    6464strip -gx intl/*.o 
     65 
     66rm -rf   ../msvc-win9x-obj 
    6567mkdir -p ../msvc-win9x-obj 
    6668for obj in $objlist 
     
    7981 
    8082strip -gx intl/*.o 
     83rm -rf   ../msvc-obj 
    8184mkdir -p ../msvc-obj 
    8285for obj in $objlist