rzi@philpav.UUCP (Roman Zielinski) (08/10/90)
Has someone succeed to get 'gawk' work after comp under TurboC / TurboC++ in
MS-DOS 4.01?
I've recompiled gawk 2.10 using ANSI-C-set in Turbo C++ 1.0. The compilation
itself gave a big number of warnings. 'regex.c' even caused some real
problems for the compiler, like complaining about redeclaration of things not
being redeclared (for ex a definition and declaration of a static function with
exactly the same arguments in a source file) - and the only way to solve the
problem was to move around functions to the beginning of the file. Due to
stack overflow I had to set _stklen to 0x1a00 (proposed 0x1800 for MicroSoft C)
When I finally has got a gawk.exe and tried to run, the program crashed my
system even for such a simple directives (in a file) like "{print $2}".
It is obvious that something writes over something. However I've got a gawk
which has been compiled unde Miscrosoft C. And it works perfectly (well..
directives passed as awk-argument does not work).
I will appresiate any ideas how to solve the problem! Thanks!
+-------------------------------------------+ _--~--_
| Roman M. Zielinski | ---- / \ ----
| Philips Tele & Data System AB | ---- ( |^^^| ) ----
| S-115 84 Stockholm, Sweden | ---- \ \ / / ---
| tel +46 8 782 1373 | |=====|
+-------------------------------------------+ |=====|
| NET ADDR: uunet!mcsun!sunic!philpav!rzi | |=====|
+-------------------------------------------+ ~~U~~