Quoth Lin KJ: > You mentioned that the uClinux binaries do not necessarily have to be > XIP and can be run on non-XIP mode. > How do i switch to run non-XIP uClinux? > Bypass the "-fpic -msingle-pic-base" CFLAGS and use some > specific elf2flt options? > If uClinux could be non-XIP, why the "-fpic -msingle-pic-base" > cflags were added to the "uClinux- > dist/vendors/config/armnommu/config.arch" file?
Usually in your board-specific config.arch file (not the generic armnommu one -- the one that you selected in the toplevel Makefile) there are three lines like this: # DISABLE_XIP := 1 # XIP works fine # DISABLE_MOVE_RODATA := 1 # move-rodata is fine # DISABLE_SHARED_LIBS := 1 # shared libs are fine Uncomment all three of these to disable XIP. You will also need to do a complete rebuild (make clean), otherwise you can have mixed object files, which cause problems. _______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev