[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GPC doesn't build on powerpc



Daniel Jacobowitz wrote:
> There's a bit of a problem with the patch to stor-layout.c:
> 
>     64  int set_words_big_endian = BYTES_BIG_ENDIAN;
> 
> BYTES_BIG_ENDIAN is not guaranteed to be a constant.  And in fact, on
> powerpc, it isn't one.  So this fails with an 'initializer not
> constant' error.

This initialization only matters for Chill; for Pascal you can
just drop the initialization.

Since Chill is probably built without the GPC-specific patch to
the backend, there should be no further problem with this.  When
the patch will be finally integrated into GCC, this problem will
have been addressed.

Thanks,

    Peter

-- 
http://home.pages.de/~Peter.Gerwinski/ - G-N-U GmbH: http://www.g-n-u.de
Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - gpc-19990118
GnuPG key fingerprint: 9E7C 0FC4 8A62 5536 1730 A932 9834 65DB 2143 9422
keys: ftp://ftp.gerwinski.de/pub/keys/ - AntiSpam: http://spam.abuse.net


Reply to: