If I try to use ld -T <script>, it fails and throws an error saying "ld: unknown option: -T", it does the same thing with --script. Am I missing something, or has the ability to use a linker script been completely removed?

The -T option should still work AFAIK.

Just off the top of my head, have you set up the path to the script file properly in the parameter to the -T option?

Otherwise, have you set up a search path for the script using the -L option?

If none of that helps, can you post the exact line you're using for the call to ld? It might shed some light on the problem you're having!

This webpage might also help:
http://linux.about.com/library/cmd/blcmdl1_ld.htm

Cheers for now,
Jas.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.