Closed p5pRT closed 20 years ago
Configure gets:
Guessing which symbols your C compiler and preprocessor define... SYS0193: D:\perl5.5.650\UU\try.exe cannot be run in a OS/2 session. tcsetattr() found.
I will look into it further.
In article \200002090033\.QAA05849@​garcia\.efn\.org\, sthoenna@efn.org (Yitzchak Scott-Thoennes) wrote:
This is a build failure report for perl from sthoenna@efn.org\, generated with the help of perlbug 1.27 running under perl 5.00564.
----------------------------------------------------------------- [Please enter your report here]
Configure gets:
Guessing which symbols your C compiler and preprocessor define... SYS0193: D:\perl5.5.650\UU\try.exe cannot be run in a OS/2 session. tcsetattr() found.
I will look into it further.
Well\, Cppsym.try looks like this:
#!d:/bin/sh.exe cat \<\<'EOCP' > try.c #include \<stdio.h> int main() { EOCP d:/bin/awk \ 'length($1) > 0 { printf "#ifdef %s\n#if %s+0\nprintf(\"%s=%%ld\\n\"\, %s);\n#else\nprintf(\"%s\\n\");\n#endif\n#endif\n"\, $1\, $1\, $1\, $1\, $1 printf "#ifdef _%s\n#if _%s+0\nprintf(\"_%s=%%ld\\n\"\, _%s);\n#else\nprintf(\"_%s\\n\");\n#endif\n#endif\n"\, $1\, $1\, $1\, $1\, $1 printf "#ifdef __%s\n#if __%s+0\nprintf(\"__%s=%%ld\\n\"\, __%s);\n#else\nprintf(\"__%s\\n\");\n#endif\n#endif\n"\, $1\, $1\, $1\, $1\, $1 printf "#ifdef __%s__\n#if __%s__+0\nprintf(\"__%s__=%%ld\\n\"\, __%s__);\n#else\nprintf(\"__%s__\\n\");\n#endif\n#endif\n"\, $1\, $1\, $1\, $1\, $1 }' >> try.c echo '}' >> try.c cc="gcc" optimize="-O2 -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -s" ccflags="-Zomf -Zmt -DDOSISH -DOS2=2 -DEMBED -I. -D_EMX_CRT_REV_=62" ldflags="-Zexe -Zomf -Zmt -Zcrtdll -Zstack 32000" libs="-lsocket -lm -lbsd" exe_ext=".exe" gcc -O2 -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -s -Zomf -Zmt -DDOSISH -DOS2=2 -DEMBED -I. -D_EMX_CRT_REV_=62 -Zexe -Zomf -Zmt -Zcrtdll -Zstack 32000 -o try.exe try.c -lsocket -lm -lbsd && ./try.exe cp ./try.exe /allen/UU650
and a little testing shows:
[D:\perl5.5.650\UU]gcc -o test.exe -Zexe test.c D:\EMX\BIN\ld.exe: The output file name must not have a suffix if -Zexe is used
Yitzchak Scott-Thoennes writes:
and a little testing shows:
[D:\perl5.5.650\UU]gcc -o test.exe -Zexe test.c D:\EMX\BIN\ld.exe: The output file name must not have a suffix if -Zexe is used
Yes. Probably a wrong value for $exe_suffix (sp?)? $ld and $ldopt (sp?) are set up to have no .exe on -o argument.
Ilya
In article \200002092047\.PAA15624@​monk\.mps\.ohio\-state\.edu\, Ilya Zakharevich \ilya@​math\.ohio\-state\.edu wrote:
Yitzchak Scott-Thoennes writes:
and a little testing shows:
[D:\perl5.5.650\UU]gcc -o test.exe -Zexe test.c D:\EMX\BIN\ld.exe: The output file name must not have a suffix if -Zexe is used
Yes. Probably a wrong value for $exe_suffix (sp?)? $ld and $ldopt (sp?) are set up to have no .exe on -o argument.
$exe_ext.
The other places Configure compiles a try.c it just uses -o try
Migrated from rt.perl.org#2124 (status was 'resolved')
Searchable as RT2124$