From: hadi motamedi on
Dear All
Can you please let me know if the .o file extension comes from Unix/
GCC object files and how to open them ?
Thank you
From: hume.spamfilter on
hadi motamedi <motamedi24(a)gmail.com> wrote:
> Can you please let me know if the .o file extension comes from Unix/
> GCC object files and how to open them ?

Yes, .o is a compiled but not linked program. There are a number of
compilers for various languages that will spit out a .o file.

You can't open them; they're not functional programs, merely the pieces
of one. You can find out what functions it contains using 'nm'. ie:

nm object.o

--
Brandon Hume - hume -> BOFH.Ca, http://WWW.BOFH.Ca/
From: hadi motamedi on
On Feb 8, 1:38 pm, hume.spamfil...(a)bofh.ca wrote:
> hadi motamedi <motamed...(a)gmail.com> wrote:
> > Can you please let me know if the .o file extension comes from Unix/
> > GCC object files and how to open them ?
>
> Yes, .o is a compiled but not linked program.  There are a number of
> compilers for various languages that will spit out a .o file.
>
> You can't open them; they're not functional programs, merely the pieces
> of one.  You can find out what functions it contains using 'nm'.  ie:
>
>         nm object.o
>
> --
> Brandon Hume    - hume -> BOFH.Ca,http://WWW.BOFH.Ca/

Thanks for your reply . Can you please let me know how can I get help
on one of the functions it contain ?
Regards
From: hadi motamedi on
On Feb 9, 5:32 am, Michael Vilain <vil...(a)NOspamcop.net> wrote:
> In article
> <22c2b8d0-aeb0-48ff-8aac-985e3a6b0...(a)d37g2000yqa.googlegroups.com>,
>  hadi motamedi <motamed...(a)gmail.com> wrote:
>
>
>
>
>
> > On Feb 8, 1:38 pm, hume.spamfil...(a)bofh.ca wrote:
> > > hadi motamedi <motamed...(a)gmail.com> wrote:
> > > > Can you please let me know if the .o file extension comes from Unix/
> > > > GCC object files and how to open them ?
>
> > > Yes, .o is a compiled but not linked program.  There are a number of
> > > compilers for various languages that will spit out a .o file.
>
> > > You can't open them; they're not functional programs, merely the pieces
> > > of one.  You can find out what functions it contains using 'nm'.  ie:
>
> > >         nm object.o
>
> > > --
> > > Brandon Hume    - hume -> BOFH.Ca,http://WWW.BOFH.Ca/
>
> > Thanks for your reply . Can you please let me know how can I get help
> > on one of the functions it contain ?
> > Regards
>
> Contact the person that wrote the function.  If you don't have that
> info, then you should write your own version of the function rather than
> try to reengineer what this other person wrote.
>
> --
> DeeDee, don't press that button!  DeeDee!  NO!  Dee...
> [I filter all Goggle Groups posts, so any reply may be automatically by ignored]- Hide quoted text -
>
> - Show quoted text -

Thanks for your reply . I want to try for my own . My server is
Solaris 8 and the target is running VxWorks 5.4.2 . Can you please let
me know what application packages do I need to install on my Solaris 8
to do the job ? I want to write my own function and put it inside
the .o compiled file and upload to the target to run.


From: Ian Collins on
hadi motamedi wrote:
>
> Thanks for your reply . I want to try for my own . My server is
> Solaris 8 and the target is running VxWorks 5.4.2 . Can you please let
> me know what application packages do I need to install on my Solaris 8
> to do the job ? I want to write my own function and put it inside
> the .o compiled file and upload to the target to run.

You can't do that unless you have the original source file.

--
Ian Collins