From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 24850 invoked from network); 10 Nov 1998 05:43:37 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 10 Nov 1998 05:43:37 -0000 Received: from mail2.wn.net (mail2.wn.net [206.190.223.5]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id AAA09410 for ; Tue, 10 Nov 1998 00:28:41 -0500 Received: from wn.net (206.190.210.60) by mail2.wn.net (Worldmail 1.3.167) for axp-list@redhat.com; 10 Nov 1998 00:25:02 -0500 Message-ID: <3647CEA3.27892589@wn.net> Date: Tue, 10 Nov 1998 00:27:00 -0500 From: Peter Petrakis X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: More Apps porting to Alpha References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I'm able to compile the thing but once I run it all the pixmaps, buttons, window borders, etc etc look like crap. It seams that WM isn't seeing that libpng is installed and no matter what I tried I couldn't get it to support it. Has anyone found a solution? The WM rpms out of the RH-5.2 dist. work fine and look great Alpha Powered, Peter Petrakis B. James Phillippe wrote: > On Tue, 10 Nov 1998, Wai-Sun Chia wrote: > > > Apparently EGCS craps out when a variable is defined as the arch name: > > i.e. alpha, i386, arm, m68k, mips, ppc, sparc, sparc64 > > > > I've confirmed it with i386 and alpha. To test yourself, try to compile > > the following simple program: > > > > ******************** try.c ********************* > > #include > > > > int main() > > { > > int alpha = 1; > > printf("alpha = %d\n", alpha); > > return 0; > > } > > ************************************************ > > You will get a "parse error before `1'". If you change alpha to nalpha > > or beta or anything other than alpha, then it'll work!!! > > Huh? I don't get this problem with egcs-1.0.3 or 1.1.1. What compiler > were you using? > > Script started on Mon Nov 9 21:16:27 1998 > (bryan/bryan.2@earth) ~ % uname -srm > Linux 2.1.124 alpha > (bryan/bryan.2@earth) ~ % cat /tmp/try.c > #include > > int main() > { > int alpha = 1; > printf("alpha = %d\n", alpha); > return 0; > } > > (bryan/bryan.2@earth) ~ % gcc --version > egcs-2.90.29 980515 (egcs-1.0.3 release) > (bryan/bryan.2@earth) ~ % gcc -Wall -O2 /tmp/try.c > (bryan/bryan.2@earth) ~ % ./a.out > alpha = 1 > (bryan/bryan.2@earth) ~ % cc --version > egcs-2.91.56 > (bryan/bryan.2@earth) ~ % !gcc:s/gcc/cc/ > cc -Wall -O2 /tmp/try.c > (bryan/bryan.2@earth) ~ % ./a.out > alpha = 1 > (bryan/bryan.2@earth) ~ % exit > > Script done on Mon Nov 9 21:17:43 1998 > > -bp > -- > B. James Phillippe . bryan@terran.org > UNIX Software Engineer . http://www.terran.org/~bryan > Member since 1.1.59 . finger:bryan@earth.terran.org > MOTM: Waiting for the DSL to go in :/ > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com