Page 1 of 1
How to Link?
Posted: Thu Jul 20, 2006 6:05 am
by Otto
If you have an obj-file with many functions in it which you link to a program does the compiler link only used functions or do you have an overhead if you have unused functins in the obj?
Thanks in advance
Otto
Re: How to Link?
Posted: Thu Jul 20, 2006 7:44 am
by Enrico Maria Giordano
It strictly depends on the linker. But anyway it would be a (very little) EXE size overhead (who cares?).
EMG
Posted: Thu Jul 20, 2006 5:07 pm
by Greg Gammon
Its been awhile since ive worked with very large code programs. Right now I have all of my code in one .prg file. To make it easier to work on, I want to move my code into multiple .prg files (or other files with functions). I can't remember what method to use to make all the files compile and link. Elementary question, but I can't remember how I did this before.....help!
thanks!
G
Posted: Thu Jul 20, 2006 7:27 pm
by Detlef Hoefner
Greg,
just get your copy of xMate which will do exactly this job in an excellent manner.
Regards,
Detlef