Hello All.. I've been gone for a good while, but it's all because of programming work for customers who change their business rules weekly ! I appreciate this group here, and will never be gone forever !
Here's my topic and question. I am trying to make a library or two. I have some old 16bit (clipper) libraries that I have the source code to.
I made a .hbp file and included the following at the start.
-hblib
-oDenCo
-w3 -es2
(here I added a list of the .prg files)
I used hbmk2 to invoke the compile on the .hbp file
After some minor prg changes,, it all ran ok ,,,
I was expecting a .lib file,, but instead I got an archive file ".a" file ..
So,, am I doing something wrong ? Am I ok? ...
Thanks in advance, and if nothing else this gave me a good reason to post !
Bill
Lib file creation
Moderator: Rathinagiri
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: Lib file creation
Hi Bill
Welcome back
Only your expectation ;
Default ( and strongly recommended ) compiler for both Harbour and HMG is MinGW and standard file extension of library file of MinGW is ".a".
If you are successfully used (linked) lib (.a) files built by you in your project, this means everything is fine
Happy HMG'ing
Welcome back
Don't afraid, noting is wrong, you are ok.DenCo wrote:So,, am I doing something wrong ? Am I ok? ...
Only your expectation ;
Default ( and strongly recommended ) compiler for both Harbour and HMG is MinGW and standard file extension of library file of MinGW is ".a".
If you are successfully used (linked) lib (.a) files built by you in your project, this means everything is fine
Happy HMG'ing
Viva INTERNATIONAL HMG
Re: Lib file creation
Thank you for your kind reply and the information.
Yes, I'm using MinGW. This was my first time in HB to create a lib,,, so now I know what to expect for the future.
Thanks again,
Bill
Yes, I'm using MinGW. This was my first time in HB to create a lib,,, so now I know what to expect for the future.
Thanks again,
Bill