FiveLinux Library Structure

FiveLinux Library Structure

Postby xProgrammer » Mon Apr 28, 2008 9:58 pm

Hi Antonio

When I need to modify any of the winapi C code, I compile it and update libfivec.a as you showed me and all works fine.

However if I try the same approach with the classes code - ie compile with xHarbour then compile with gcc and then update libfivec.a it doesn't seem to work - that is I still get the standard behaviour. Whilst this isn't a problem in that I can add the compiled (object) code to the link step, It would be nice to have it in a library. Is the standard code in a library that is linked before libfivec.a?

Thanks
Doug
User avatar
xProgrammer
 
Posts: 464
Joined: Tue May 16, 2006 7:47 am
Location: Australia

Postby Antonio Linares » Tue Apr 29, 2008 8:10 am

Doug,

This code is what we use to update the Lib:

ar rc ./libfivex.a module.o
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby xProgrammer » Thu May 01, 2008 1:26 pm

Hi Antonio

Thanks. Lib updated. All working properly and shell script file now shorter.

Regards

Doug
User avatar
xProgrammer
 
Posts: 464
Joined: Tue May 16, 2006 7:47 am
Location: Australia


Return to FiveLinux / FiveDroid (Android)

Who is online

Users browsing this forum: No registered users and 5 guests

cron