Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!uw-beaver!zephyr.ens.tek.com!tektronix!percy!m2xenix!puddle!p6.f202.n281.z2.fidonet.org!Ben.Stuyts From: Ben.Stuyts@p6.f202.n281.z2.fidonet.org (Ben Stuyts) Newsgroups: comp.lang.modula2 Subject: Re: X-programming in SUN Modula2 Message-ID: <208.2812FBE3@puddle.fidonet.org> Date: 20 Apr 91 06:03:36 GMT Sender: ufgate@puddle.fidonet.org (newsout1.26) Organization: FidoNet node 2:281/202.6 - ST Quick BBS Haarle, Haarlem Holland Lines: 22 HR> My experiences in x-programming with m2 are limited. HR> So far I have managed to create a window with a canvas in it. HR> That worked fine and I suppose the rest of m2 procedures HR> are going to do so too. Only bad thing I have noticed has HR> been an enourmous use of space. That most simple single canvas- HR> window program produced a 1.2 Mb a.out then compiled. You must be linking with the -Bstatic flag. Try linking without this flag or even with the -Bdynamic flag. This way you should be able to use the shared libraries for X. Unless, of course, you don't have any shared libraries for X. In any case, Sun's OpenWindows X implementation comes with these shared libs. Best regards, Ben -- uucp: uunet!m2xenix!puddle!2!281!202.6!Ben.Stuyts Internet: Ben.Stuyts@p6.f202.n281.z2.fidonet.org