From: hadi motamedi on 9 Feb 2010 02:35 On Feb 9, 7:28 am, Ian Collins <ian-n...(a)hotmail.com> wrote: > 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 Thank you for your help. I do not want to replace one of the functions inside the original *.o file but rather want to try to write my own sample code with a few functions inside. Actually , I want to replace the original *.o file with my own compiled code . I need to know which application packages I need to have on my Solaris 8 server to produce the same *.o file format ,since my VxWorks target just reads *.o executable files in his /compile/ppc folder . Please give me a hint on this .
From: Ian Collins on 9 Feb 2010 03:07 hadi motamedi wrote: > On Feb 9, 7:28 am, Ian Collins <ian-n...(a)hotmail.com> wrote: >> 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. > > Thank you for your help. I do not want to replace one of the functions > inside the original *.o file but rather want to try to write my own > sample code with a few functions inside. Actually , I want to replace > the original *.o file with my own compiled code . I need to know which > application packages I need to have on my Solaris 8 server to produce > the same *.o file format ,since my VxWorks target just reads *.o > executable files in his /compile/ppc folder . Please give me a hint on > this . If you are cross-compiling for a VxWorks target, you need the appropriate vendor tools. You should check with them. -- Ian Collins
From: hadi motamedi on 9 Feb 2010 03:15 On Feb 9, 8:07 am, Ian Collins <ian-n...(a)hotmail.com> wrote: > hadi motamedi wrote: > > On Feb 9, 7:28 am, Ian Collins <ian-n...(a)hotmail.com> wrote: > >> 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. > > > Thank you for your help. I do not want to replace one of the functions > > inside the original *.o file but rather want to try to write my own > > sample code with a few functions inside. Actually , I want to replace > > the original *.o file with my own compiled code . I need to know which > > application packages I need to have on my Solaris 8 server to produce > > the same *.o file format ,since my VxWorks target just reads *.o > > executable files in his /compile/ppc folder . Please give me a hint on > > this . > > If you are cross-compiling for a VxWorks target, you need the > appropriate vendor tools. You should check with them. > > -- > Ian Collins- Hide quoted text - > > - Show quoted text - Thank you for your comment . But generally speaking , can you please let me know which Solaris 8 compilers do produce *.o compiled file output ?
From: hadi motamedi on 9 Feb 2010 05:57 On Feb 9, 9:42 am, Michael Vilain <vil...(a)NOspamcop.net> wrote: > In article > <a120ba99-422b-4063-abf9-0b6c85720...(a)n33g2000yqb.googlegroups.com>, > hadi motamedi <motamed...(a)gmail.com> wrote: > > > > > > > On Feb 9, 8:07 am, Ian Collins <ian-n...(a)hotmail.com> wrote: > > > hadi motamedi wrote: > > > > On Feb 9, 7:28 am, Ian Collins <ian-n...(a)hotmail.com> wrote: > > > >> 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. > > > > > Thank you for your help. I do not want to replace one of the functions > > > > inside the original *.o file but rather want to try to write my own > > > > sample code with a few functions inside. Actually , I want to replace > > > > the original *.o file with my own compiled code . I need to know which > > > > application packages I need to have on my Solaris 8 server to produce > > > > the same *.o file format ,since my VxWorks target just reads *.o > > > > executable files in his /compile/ppc folder . Please give me a hint on > > > > this . > > > > If you are cross-compiling for a VxWorks target, you need the > > > appropriate vendor tools. You should check with them. > > > > -- > > > Ian Collins- Hide quoted text - > > > > - Show quoted text - > > > Thank you for your comment . But generally speaking , can you please > > let me know which Solaris 8 compilers do produce *.o compiled file > > output ? > > All the language compilers produce .o files (object files--goggle it). > That's what compilers do, regardless of if they're written by Sun or > they're GNU/open source. With Solaris 8, you're limited to the GNU > compilers unless you bought the Sun compilers. I think VxWorks requires > their own compilers which you will have to buy. > > http://www.cross-comp.com/instr/pages/embedded/VxWorksTutorial.aspx > > -- > 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 - Thank you for your reply . I checked on my Solaris 8 server for the compiler packages : bash-2.03# pkginfo |grep Compiler system SUNWlibC Sun Workshop Compilers Bundled libC system SUNWmfdev Motif UIL Compiler system SUNWscbcp SPARCompilers Binary Compatibility Libraries So it seems that I have SUN compilers installed . Can you please let me know how can I make use of them to compile my C++ code into *.o file ?
From: Chris Ridd on 9 Feb 2010 06:00
On 2010-02-09 09:42:24 +0000, Michael Vilain said: > they're GNU/open source. With Solaris 8, you're limited to the GNU > compilers unless you bought the Sun compilers. Sun Studio 11 runs on Solaris 8, and is free. You can still download it from Sun^WOracle. -- Chris |