161 |
Rem See if DECL_ALIGN can be supported with this GCC |
Rem See if DECL_ALIGN can be supported with this GCC |
162 |
rm -f junk.c junk.o junk junk.exe |
rm -f junk.c junk.o junk junk.exe |
163 |
echo struct { int i; char *p; } __attribute__((__aligned__(8))) foo; >junk.c |
echo struct { int i; char *p; } __attribute__((__aligned__(8))) foo; >junk.c |
164 |
rem Two percent signs because it is a special character for COMMAND.COM |
rem Two percent signs because it is a special character for COMMAND.COM/CMD |
165 |
echo int main(void) { return (unsigned long)&foo %% 8; } >>junk.c |
rem Filter thru Sed because "&" is special for CMD.EXE |
166 |
|
echo int main(void) { return (unsigned long)"&"foo %% 8; } | sed "s/.&./\&/" >>junk.c |
167 |
gcc -o junk junk.c |
gcc -o junk junk.c |
168 |
if not exist junk.exe coff2exe junk |
if not exist junk.exe coff2exe junk |
169 |
junk |
junk |