FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to Link?
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
How to Link?
Posted: Thu Jul 20, 2006 06:05 AM

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

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: How to Link?
Posted: Thu Jul 20, 2006 07:44 AM

It strictly depends on the linker. But anyway it would be a (very little) EXE size overhead (who cares?).

EMG

Posts: 105
Joined: Fri Jun 09, 2006 03:27 PM
How to Link?
Posted: Thu Jul 20, 2006 05:07 PM

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

Regards,

Greg Gammon
Posts: 312
Joined: Sat Oct 08, 2005 09:12 AM
How to Link?
Posted: Thu Jul 20, 2006 07:27 PM

Greg,

just get your copy of xMate which will do exactly this job in an excellent manner.

Regards,
Detlef

Continue the discussion