Hi Chris,
thanks for your answer. I took a look at the link you posted and the qmake variable QMAKE_LFLAGS. This kind of does what I want but i ran into some problems:
After adding my script (with -T myscrift.ldf) the built-in script is no more loaded and it seems none of my .o files are linked together -> the program is not able to run anymore. I tried the simple example (https://sourceware.org/binutils/docs...Simple-Example) in this case, which does basically what I want to achieve. For me it seems the INPUT (.o files) are missing.
In this case my problems are:
1. Adding my .o files via INPUT requires a absolut or relativ path depending on the build path. But I dont know were my collegues will build their programs so everybody would need to adapt their linker scripts :-(
2. If done so (with a machine depending relativ or absolut path) it seems i need to link a crt0.o file or something (there is not much on the net about this it seems). Were do I find information about this? (Not even the GCC manual is very informativ in this case).
Thanks in advance!
Bookmarks