it automatically detects the libraries and it creates the config.xml .. and the config files has options like --fpic --shared which actually tells the comliler to produce a dynamically linked executable.
Using 'armcc --translate_gcc --arm_linux_config_file=... -static ...' should behave like 'gcc -static ...'.