IDE - how can I link to my project OBJ file

Utilities like DBU, Make, IDE written in HMG/ used to create HMG based applications

Moderator: Rathinagiri

Post Reply
User avatar
mol
Posts: 2670
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 70 times
Been thanked: 24 times
Contact:

IDE - how can I link to my project OBJ file

Post by mol » Wed Oct 15, 2008 1:06 pm

I use IDE
How can I link to my project an .OBJ file written and compiled in C?

can you help me?
Marek

User avatar
Roberto Lopez
HMG Founder
Posts: 3875
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 11 times
Been thanked: 103 times

Post by Roberto Lopez » Wed Oct 15, 2008 3:44 pm

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.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

User avatar
mol
Posts: 2670
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 70 times
Been thanked: 24 times
Contact:

Post by mol » Thu Oct 16, 2008 5:31 am

Ok. I will recompile it with MingW
Thanks for your answer
Marek

User avatar
mol
Posts: 2670
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 70 times
Been thanked: 24 times
Contact:

Post by mol » Thu Oct 16, 2008 5:32 am

So, how can I add .o file to IDE?

User avatar
Rathinagiri
Posts: 5071
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 87 times
Been thanked: 103 times
Contact:

Post by Rathinagiri » Thu Oct 16, 2008 6:29 am

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).
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
mol
Posts: 2670
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 70 times
Been thanked: 24 times
Contact:

Post by mol » Thu Oct 16, 2008 9:34 am

thank you.
It works
Best regards, Marek

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests