Page 1 of 1

IDE - how can I link to my project OBJ file

Posted: Wed Oct 15, 2008 1:06 pm
by mol
I use IDE
How can I link to my project an .OBJ file written and compiled in C?

can you help me?
Marek

Re: IDE - how can I link to my project OBJ file

Posted: Wed Oct 15, 2008 3:44 pm
by Roberto Lopez
mol wrote:I use IDE
How can I link to my project an .OBJ file written and compiled in C?

can you help me?
Marek
HMG uses MingW (instead BCC). Object files in MingW are not '.obj' but '.o', so you can't use your 'obj's' with MingW.

Regards,

Roberto.

Re: IDE - how can I link to my project OBJ file

Posted: Thu Oct 16, 2008 5:31 am
by mol
Ok. I will recompile it with MingW
Thanks for your answer
Marek

Re: IDE - how can I link to my project OBJ file

Posted: Thu Oct 16, 2008 5:32 am
by mol
So, how can I add .o file to IDE?

Re: IDE - how can I link to my project OBJ file

Posted: Thu Oct 16, 2008 6:29 am
by Rathinagiri
I think it can be done through 'Tools->Preferences' if you compile the source code and create a library in .a extension.

You just alter the makelib.bat and makefile.gcc accordingly from any additional library source code directories (example, c:\hmg\source\crypt).

Re: IDE - how can I link to my project OBJ file

Posted: Thu Oct 16, 2008 9:34 am
by mol
thank you.
It works
Best regards, Marek