Re: [fpc-devel] Proposal for implementing named address space support

2020-12-31 Thread Christo Crause via fpc-devel
On Thu, Dec 31, 2020 at 9:42 PM Jonas Maebe via fpc-devel < fpc-devel@lists.freepascal.org> wrote: > On 31/12/2020 20:32, Christo Crause via fpc-devel wrote: > > > For example I do not know how to generate the equivalent to the > > following user assembler code: > > lds r0, EECR > > where EECR i

Re: [fpc-devel] Proposal for implementing named address space support

2020-12-31 Thread Jonas Maebe via fpc-devel
On 31/12/2020 20:32, Christo Crause via fpc-devel wrote: > For example I do not know how to generate the equivalent to the > following user assembler code: >   lds r0, EECR > where EECR is defined as follows in a different unit: > var EECR: byte absolute $1F; > > The following line illustrates wh

Re: [fpc-devel] Proposal for implementing named address space support

2020-12-31 Thread Christo Crause via fpc-devel
I'm busy adding EEPROM access to the code generator for AVR. Although the general code required is relatively straight forward, the problem I ran into is that the EEPROM access registers are not at the same addresses for the different controllers. The register names and addresses are included in

Re: [fpc-devel] 32 bit on linux -- /usr/bin/ld: cannot find -lpthread

2020-12-31 Thread Martin Frb via fpc-devel
On 31/12/2020 17:32, Jonas Maebe via fpc-devel wrote: You also have to install the i386 version of the -dev(el) package. Ah thanks. Now it works. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/

Re: [fpc-devel] 32 bit on linux -- /usr/bin/ld: cannot find -lpthread

2020-12-31 Thread Jonas Maebe via fpc-devel
On 31/12/2020 17:24, Martin via fpc-devel wrote: >> > I also tried to find any other potential dependency To no avail yet. > such as >  glibc-2.32-2.fc33.i686 => installed >  clthreads.i686 => installed (the only reasonable close match that came > up searching for thread) > > Any ideas? You a

[fpc-devel] 32 bit on linux -- /usr/bin/ld: cannot find -lpthread

2020-12-31 Thread Martin via fpc-devel
- I have a 64bit linux. (Fedora 33) - I have a 32 bit ppc to start building => So the 32 bit ppc is not called as cross compiler. It does the compiler cycle (there is a32bit ppc1 ... ppc3 file rel_3.2.0/source/compiler/ppc1 rel_3.2.0/source/compiler/ppc1: ELF 32-bit LSB executable, Intel 80386,