[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/config.bat
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] Changes to emacs/config.bat |
Date: |
Sat, 27 Nov 2004 13:29:06 -0500 |
Index: emacs/config.bat
diff -c emacs/config.bat:1.39 emacs/config.bat:1.40
*** emacs/config.bat:1.39 Sat Nov 27 12:28:40 2004
--- emacs/config.bat Sat Nov 27 18:22:45 2004
***************
*** 161,168 ****
Rem See if DECL_ALIGN can be supported with this GCC
rm -f junk.c junk.o junk junk.exe
echo struct { int i; char *p; } __attribute__((__aligned__(8))) foo; >junk.c
! rem Two percent signs because it is a special character for COMMAND.COM
! echo int main(void) { return (unsigned long)&foo %% 8; } >>junk.c
gcc -o junk junk.c
if not exist junk.exe coff2exe junk
junk
--- 161,169 ----
Rem See if DECL_ALIGN can be supported with this GCC
rm -f junk.c junk.o junk junk.exe
echo struct { int i; char *p; } __attribute__((__aligned__(8))) foo; >junk.c
! rem Two percent signs because it is a special character for COMMAND.COM/CMD
! rem Filter thru Sed because "&" is special for CMD.EXE
! echo int main(void) { return (unsigned long)"&"foo %% 8; } | sed "s/.&./\&/"
>>junk.c
gcc -o junk junk.c
if not exist junk.exe coff2exe junk
junk