[fpc-pascal] Building FPC with gdb support for SPARC

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Aug 14 13:07:35 CEST 2006


On 14 aug 2006, at 12:21, Mark Morgan Lloyd wrote:

> /fpcsrc/compiler/ppcsparc -Fl/fpcsrc/libgdb/linux -Ur -Xs  -n -Sg
>   -Fu/fpcsrc/rtl/units/sparc-linux -Fu/fpcsrc/fv/units/sparc-linux - 
> Fu/fpcsrc/s
> /fpcsrc/libgdb/linux/libgdb.a(gdbtypes.o)(.text+0x1154): In function
>   `create_array_type':
> /mnt/hda1/florian/gdb-6.3.woody/gdb/gdbtypes.c:752: undefined  
> reference
>   to `__muldi3'
> /fpcsrc/libgdb/linux/libgdb.a(ada-lang.o)(.text+0x1098): In function
>   `max_of_size':
> /mnt/hda1/florian/gdb-6.3.woody/gdb/ada-lang.c:519: undefined  
> reference to
>   `__ashldi3'

This can normally be solved by linking in libgcc. Try adding {$l gcc}  
to the gdbint unit.


Jonas



More information about the fpc-pascal mailing list