Mail Archives: djgpp/2002/11/25/02:31:28
On Sunday 24 November 2002 10:41, Andrew Cottrell wrote:
>
> If you are using C++ make sure you do not mix object files from
> different GCC versions, even 3.1 to 3.2 is different. C objects as far
> as I know are okay between the major versions, ie you can mix 3.1 and
> 3.2 C objects.
I haven't yet met problems with DJGPP, but I know one example where
C sources compiled with different GCC versions caused problems
for me: Linux kernel versions 2.4.1[89] with RTAI patches.
I know it's not a good example, as it uses many gcc specific extensions,
but anyway. At least compiling kernel with gcc-2.95.3 and some of loadable
module with gcc-3.2 (or opposite direction) is rather sure way how to get
kernel OOPSes. Using each of these compilers alone in both places seems to be
Ok.
So maybe there are problems waiting for victim also for DJGPP ...
(However I'm not sure).
Andris
- Raw text -