I suggest you use hbmk2 that automatically do right link command  for you
simply pass as parameter your source (prg,c,rc,res.. ) your additional lib
hbmk2 myprg.prg test.prg my1c.c my2.c -lmylib
You can simply pass to other c compiler, or os platform

2009/7/29 Moises Romero <[email protected]>:
> Hi Pritpal,
>
>        Finally, with all your help, I got rid of all the unresolved
> external form my old C functions which I am now compiling with BCC55 with no
> errors.
>
>        I am missing one final step and I need your help one more time. When
> I link all my files together I am getting "unresolved external _main". The
> procedure "Main" is in one of the objects but for some reason it doesn't
> find it.
>
>        When I link, I use:
>
>        Ilink32 c0x32.obj + ( all other .obj's ), exe, , lib's, ,
>
> Please Advise,
>
> Moises Romero
>
>
> _______________________________________________
> Harbour mailing list
> [email protected]
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
Massimo Belgrano
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to