CVSROOT:        /cvs
Module name:    ports
Changes by:     [email protected]        2022/10/28 14:47:06

Modified files:
        lang/pcc/pcc   : Makefile 
        lang/pcc/pcc/patches: patch-cc_cc_cc_c 
        lang/pcc/pcc-libs: Makefile 
Added files:
        lang/pcc/pcc/patches: patch-arch_powerpc_local2_c 
                              patch-arch_powerpc_local_c 
                              patch-arch_powerpc_macdefs_h 
                              patch-arch_powerpc_table_c 
        lang/pcc/pcc-libs/patches: patch-libpcc_cxmuldiv_c 
                                   
patch-libsoftfloat_arch_powerpc_powerpc-gcc_h 

Log message:
Minimally fix pcc for powerpc

This unbreaks the powerpc package of lang/pcc/pcc-libs and puts enough
fixes in lang/pcc/pcc for powerpc to compile the simplest C program,

$ cat hello.c
#include <stdio.h>
int main(void) { puts("Hello, BSD!"); return 0; }
$ pcc -O2 -o hello hello.c

It can't compile much more; pcc's powerpc code generator still fails
with static function calls and with floating-point literals.

ok sthen@

Reply via email to