fixunix
Tags Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

Question:How to add some static library files wiht suffix ".lib" to downloadable application? - VxWorks

This is a discussion on Question:How to add some static library files wiht suffix ".lib" to downloadable application? - VxWorks ; Hi: I know the vxWorks compiles,assembles,links file with gnu or diab,so the default static library files called archives must be files wiht suffix ".a".But now ,wo want to add files with suffix ".lib". how to get that?I need you help!!...


Fix Unix > Other OS > VxWorks > Question:How to add some static library files wiht suffix ".lib" to downloadable application?

Reply
 
LinkBack Tools
  #1  
Old 10-02-2007, 08:33 AM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Question:How to add some static library files wiht suffix ".lib" to downloadable application?

Hi:
I know the vxWorks compiles,assembles,links file with gnu or
diab,so the default static library
files called archives must be files wiht suffix ".a".But now ,wo want
to add files with suffix ".lib".
how to get that?I need you help!!

Reply With Quote
  #2  
Old 10-02-2007, 08:33 AM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Re: Question:How to add some static library files wiht suffix ".lib"to downloadable application?

huangfeihu1@gmail.com wrote:
> Hi:
> I know the vxWorks compiles,assembles,links file with gnu or
> diab,so the default static library
> files called archives must be files wiht suffix ".a".But now ,wo want
> to add files with suffix ".lib".
> how to get that?I need you help!!


The name of the file is less important than its contents.
To be usable, the file must match the Object Module Format
of the VxWorks product that you intend to add it to. For
example, the Tornado 2.2, GNU 2.96+ object file formats are
all ELF files.

It's possible that the .lib files that you have were intended
to be used with Microsoft development systems. They will
be in the PE-COFF Object Module Format, and not usable as a
result with Tornado 2.2.

If you try to read your .lib files with the GNU objcopy
utility that came with your Wind River distribution, it
should tell you whether it understands that file format.
If it doesn't, you're probably not going to be able to use
the file.

Here's a document on the ELF format:
http://www.skyfree.org/linux/references/ELF_Format.pdf

Reply With Quote
Reply

Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
gcc build fails "cannot compute suffix of object files" unix Solaris 56 06-13-2008 04:43 PM
Template -> Application Library not showing "New" button in WPS 6.0 unix Websphere 0 10-08-2007 05:23 PM
[Samba] Samba 3.0.25a idmap_ldap "ldap suffix" used instead of "idmap config <DOMAIN>:ldap_base_dn" unix Samba 0 10-07-2007 12:41 PM
Re: Stupid library question, a library I "built" unix Programmer 0 10-04-2007 05:26 PM
Open files options generates "not enough disk space on device running OFO to create or increment the static volume" unix Veritas Backup Exec 1 05-15-2000 09:43 AM


All times are GMT. The time now is 10:16 AM.