Hello,
I have a Problem with the gpc-1.2-2.7.2 under Sun's SunOS 4.1.4.
The first Problem was to compile gpc: ------------------------------------- ... ../gcc-2.7.2/obstack.o `if [ -f "../gcc-2.7.2/alloca.o" ]; then echo "../gcc-2.7.2/alloca.o" ; else true ; fi` `if [ -f "../gcc-2.7.2/malloc.o" ]; then echo "../gcc-2.7.2/malloc.o" ; else true ; fi` collect2: ld returned 2 exit status ld: Undefined symbol _emit_string_move _emit_string_pad _maybe_find_function_data _dbxout_set_type_status _version_flag *** Error code 1 make: Fatal error: Command failed for target `gpc1'
Now I delete stor-layout.o dbxout.o expr.o fold-const.o optabs.o convert.o function.o toplev.o from the gcc-source and I can build the Pascal-Compiler.
My second Problem ist to test the Compiler from the 'gpc/test'-directory: -------------------------------------------------------------------------- [schuh@pi20]test make for x in head.pas nohead.pas cstparam.pas switches.pas bitmanip.pas incdec.pas minimax.pas mem.pas abso.pas asmnames.pas openarr.pas varrec.pas ; do \ rm -f a.out 2>/dev/null ; \ ../gpc -B../ -L../rts -g -O3 --automake="-g -O3 -B../" $x 2>/dev/null ; \ echo -n "$x: " ; \ if [ -f "a.out" ] ; then ./a.out ; else echo "failed" ; fi ; \ done ; \ rm myunit.o myunit.gpi a.out 2>/dev/null ; *** Error code 1 make: Fatal error: Command failed for target `bptest'
What make I wrong? I hope that anybody can help me to fix this problem!
bye
Frank _\|//_ (' O-O ') ---------------------------ooO-(_)-Ooo--------------------------- < email: schuh@informatik.uni-siegen.de >