Comiple a Source file at a fixed address

I know one can compile a function at a fixed address.

But is it possible to compile a source file at a fixed address? For example: Main.c is compiled from 0x1000.

So all the functions in Main.c will be compiled from 0x1000 and further on.

If this is possible, how do I configure the compiler/code to do this?

Parents Reply Children
More questions in this forum