Quoth Praveen Chandrasekharaiah [EMAIL PROTECTED]:
> I am using Cogent CSB360. It has 8 meg of Flash and 8 meg of
> ram. I boot of uMon and then load the uClinux image and 
> execute. Then transfer (tftp) the c++ application to execute. 
> Memory is ample to run a 506344 bytes (0.5 meg) application.
> By default -fPIC is enable and i also tried explicitly
> specifying -fPIC but still got the same error.

Ok, while I'm running older versions of just about everything, and am on
a different architecture from you (I'm using a Coldfire 5272-based
system), so my results may be completely irrelevant to you: I found that
PIC (including both XIP and shared libraries) and C++ did not mix at all
well on my system.  I invariably received relocation errors until I
turned off XIP and clean-recompiled everything without PIC enabled.

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to