JJ <alchemistmba@xxxxxxxxx> writes: > I also need to pass a linker script to the linker. I tried the > following option to g++: > > -Xlinker "-T temp.ld" That will pass "-T temp.ld" as a single option, which causes the linker to look for the file " temp.ld" (with a leading space). Use -Xlinker -T -Xlinker temp.ld or -Wl,-T,temp.ld Ian