How to Link?

How to Link?

Postby Otto » Thu Jul 20, 2006 6: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
User avatar
Otto
 
Posts: 6322
Joined: Fri Oct 07, 2005 7:07 pm

Re: How to Link?

Postby Enrico Maria Giordano » Thu Jul 20, 2006 7:44 am

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

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Greg Gammon » Thu Jul 20, 2006 5: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
User avatar
Greg Gammon
 
Posts: 105
Joined: Fri Jun 09, 2006 3:27 pm
Location: Bryan, Texas

Postby Detlef Hoefner » Thu Jul 20, 2006 7:27 pm

Greg,

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

Regards,
Detlef
User avatar
Detlef Hoefner
 
Posts: 312
Joined: Sat Oct 08, 2005 9:12 am
Location: Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 72 guests