On Thu, 24 Jun 1999 [EMAIL PROTECTED] wrote: > I have been trying to use egcs 1.1.2 (cross compiling on intel for strong arm) > and have had lots of trouble when I use the -fpic flag > to generate position independent code (for shared libraries). Has anyone on > this list tried this? (I have had success without this > flag). > > Here is an example of a simple program which shows some bad code generated with > the -fpic flag. > > Who should I report this bug to? Does anyone on this list have the know-how to > find the cause of the problem? > > Thanks in advance for all of your help, > Hugh Morgenbesser First thing is to forget about the -O flag. Optimization seems to fail in an horribly amount of cases. If you encounter problems with the runtime linker (something like unexpected dynamic reloc type) use -fno-vtable-thunks - this means to recompile the libstdc++ again which might not work without problems. unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
