Re: [fpc-pascal] Packed record

2005-10-20 Thread Marco van de Voort
> > particular instruction is just ignored by the CPU (without exception), or > > what? > > That depends on the OS, I've no clue either. Under Linux you get an > exception. On PPC we saw that NetBSD doesn't do this (at least for floats, for which older PPCs (603) have alignment requirements.

Re: [fpc-pascal] Packed record

2005-10-20 Thread Carsten Bager
> Tomas Hajny wrote: > > > > > > What exactly happens there now (I don't have an ARM, just curious ;-) )? > > Is it that the compiler generates the code as it is instructed to do (i.e. > > regardless the fact that it might not work under ARM), > > Yes. That's common behaviour. > > > and that the >

Re: [fpc-pascal] Packed record

2005-10-20 Thread Florian Klaempfl
Tomas Hajny wrote: > > > What exactly happens there now (I don't have an ARM, just curious ;-) )? > Is it that the compiler generates the code as it is instructed to do (i.e. > regardless the fact that it might not work under ARM), Yes. That's common behaviour. > and that the > particular inst

Re: [fpc-pascal] Packed record

2005-10-20 Thread Tomas Hajny
Florian Klaempfl napsal(a): > Adriaan van Os wrote: >> Florian Klaempfl wrote: >>> Carsten Bager wrote: >>> I am using the compiler on an embedded Arm7 platform (no operating system). So fare things are working ok, but now I have discovered a problem when packing records (Vi have to

Re: [fpc-pascal] Packed record

2005-10-20 Thread Florian Klaempfl
Adriaan van Os wrote: > Florian Klaempfl wrote: > >> Carsten Bager wrote: >> >>> I am using the compiler on an embedded Arm7 platform (no >>> operating system). So fare things are working ok, but now I have >>> discovered a problem when packing records (Vi have to maintain >>> bindery compatibili

Re: [fpc-pascal] Packed record

2005-10-20 Thread Adriaan van Os
Florian Klaempfl wrote: Carsten Bager wrote: I am using the compiler on an embedded Arm7 platform (no operating system). So fare things are working ok, but now I have discovered a problem when packing records (Vi have to maintain bindery compatibility with older systems) If I have a packed rec

Re: [fpc-pascal] Packed record

2005-10-19 Thread Florian Klaempfl
Carsten Bager wrote: > I am using the compiler on an embedded Arm7 platform (no > operating system). So fare things are working ok, but now I have > discovered a problem when packing records (Vi have to maintain > bindery compatibility with older systems) > If I have a packed record like t