Object files and segments...
Posted: Mon Apr 26, 2004 11:00 pm
Does anyone know if multiple modules (object files) linked together are treated as seperate memory segments when you link to a .exe file?
My kernel is a flat binary file (an exe with the header removed). I'm always afraid to create seperate .obj files in my OS because I don't know if they are merged into a single segment or have to be loaded seperately. I use TASM/TLINK to build.
I ask because it takes forever to build my OS since I have to re-assemble everything including libraries every time I build. I want to save time.
-Robert
My kernel is a flat binary file (an exe with the header removed). I'm always afraid to create seperate .obj files in my OS because I don't know if they are merged into a single segment or have to be loaded seperately. I use TASM/TLINK to build.
I ask because it takes forever to build my OS since I have to re-assemble everything including libraries every time I build. I want to save time.
-Robert