Re: [fpc-pascal] FPC for linking only

2018-08-20 Thread leledumbo via fpc-pascal
> Is it possible to use FPC for linking only? I've asked this in the past with straight "no" answer. -- Sent from: http://free-pascal-general.1045716.n5.nabble.com/ ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.or

[fpc-pascal] FPC for linking only

2018-08-20 Thread Dmitry Boyarintsev
Hello, Is it possible to use FPC for linking only? (assuming that .ppu/.o files were created by fpc previously) using options -shGenerate script to link on host or -stGenerate script to link on target generates the linking script, but the script is referring to an external linker.

Re: [fpc-pascal] Branch table

2018-08-20 Thread Giuliano Colla
Il 18/08/2018 15:52, Marco Borsari via fpc-pascal ha scritto: it works only for index 0, and crashes otherwise. Maybe a problem of alignment? Or must be tab declared in data section? On the Intel architecture you cannot perform pointer arithmetic as if a pointer were just a number. A pointer