
298 Embedded systems design
-Ldir Changes the library search order so libx.a looks in dir
before /lib and /usr/lib. This option needs to be in front
of the -l option to work!
-N Puts the data section immediately after the text in the
output file.
-V Outputs a message detailing the version of ld used.
-VS num Uses num as a decimal version stamp to identify the
output file produced.
Native versus cross-compilers
With a native compiler, all the associated run-time li-
braries, default memory locations and loading software are
supplied, allowing the software engineer to concentrate on
writing software. It is possible to use a native compiler to write
software ...