Date: Sat, 31 Jan 2004 04:19:37 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 295 ************************************************** Friday 30 January 2004 Number 295 ************************************************** Subjects for today 1 os2ports.com : T.Sikora" 2 configure with -Zomf : Franz Bakan" 3 Re: configure with -Zomf : Yuri Dario" 4 Re: configure with -Zomf : Franz Bakan" **= Email 1 ==========================** Date: Thu, 29 Jan 2004 09:01:32 -0500 From: "T.Sikora" Subject: os2ports.com OS2Ports.com will be down this weekend for a few hours. New hardware and an OS upgrade. I'll put a priority on keeping the downtime on the mailing lists to a minimum. I'll email a warning when it goes down. -- T.Sikora tsikora at ntplx dot net **= Email 2 ==========================** Date: Thu, 29 Jan 2004 23:01:24 +0100 (CET) From: "Franz Bakan" Subject: configure with -Zomf Hi, I tried to configure / compile gocr with -Zomf but I have no luck so far. Everything works 'the a.out way', but when I use CFLAGS="-O2 -s -Zomf -Zmt -D__ST_MT_ERRNO__" LDFLAGS="-Zcrtdll -Zlinker /exepack:2 -Zlinker /pm:vio" in config.site as suggested in one of the older autoconf readmes configure fails. I get: .... checking for C compiler default output... b.out checking whether the C compiler works... configure: \ error: cannot run C compiled programs. config.log: configure:1662: checking for C compiler default output configure:1665: gcc -O2 -s -Zomf -Zmt -D__ST_MT_ERRNO__ -Zcrtdll -Zlinker /exepack:2 -Zlinker /pm:vio conftest.c >&5 configure:1668: $? = 0 configure:1714: result: b.out configure:1719: checking whether the C compiler works configure:1725: ./b.out configure: ./b.out: not found configure:1728: $? = 127 configure:1735: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. the test-program has the name -O.exe autoconf-2_57 is installed here. Any hints? BTW what would be a minimal config.site ? Bye Franz **= Email 3 ==========================** Date: Thu, 29 Jan 2004 23:47:53 +0100 (CET) From: "Yuri Dario" Subject: Re: configure with -Zomf Hi Franz, >LDFLAGS="-Zcrtdll -Zlinker /exepack:2 -Zlinker /pm:vio" >checking for C compiler default output... b.out configure doesn't like the -Zlinker flag, you should remove it, run configure, then change proper macros in config.status and run it again sh -c config.status Bye, Yuri Dario /* * member of TeamOS/2 - Italy * http://www.os2power.com/yuri * http://www.teamos2.it */ **= Email 4 ==========================** Date: Fri, 30 Jan 2004 00:42:11 +0100 (CET) From: "Franz Bakan" Subject: Re: configure with -Zomf Hi Yuri, On Thu, 29 Jan 2004 23:47:53 +0100 (CET), Yuri Dario wrote: >>LDFLAGS="-Zcrtdll -Zlinker /exepack:2 -Zlinker /pm:vio" >>checking for C compiler default output... b.out > >configure doesn't like the -Zlinker flag, you should remove it, run configure, then change proper >macros in config.status and run it again > > sh -c config.status thanks, this worked. I could build with -Zomf now (With some more minor modifications: LDFLAGS needed -Zomf too, use of emxomfar instead of ar and then rename libPgm2asc.a to Pgm2asc.lib) Bye, Franz