Christian Damus(deleted)
|
RE: command line dietician ?
|
Christian Damus(deleted)
11/13/2009 11:59 AM
post41929
|
RE: command line dietician ?
Hi, Dave,
It doesn't appear to be documented, no. I'm not even sure that it's an
officially supported function, so it's probably best to treat it as
"experimental" or "unspported" or "us at your own risk." I tried it,
and it *seems* to work. :-D
I expect that official support for this would entail either enhancement
of mkbuild to include System Builder projects or construction of a
mkbuild-like script to encapsulate the details of launching an
Eclipse/Equinox application.
cW
On Fri, 2009-11-13 at 11:44 -0500, Dave Bott wrote:
> Hi Christian,
>
> Thanks for the great feedback - is this in the docs yet ?
>
> It is certainly a lot better than nothing, but still requires the
> project to get imported in order to use the dietician. That's a real
> shame, given how it mangles the build file...
>
> Cheers
>
> Dave
>
> ________________________________
>
> From: Christian Damus [mailto:community-noreply@qnx.com]
> Sent: Fri 11/13/2009 8:40 AM
> To: general-ide
> Subject: Re: command line dietician ?
>
>
>
> Hi, Dave,
>
> The dietician function is implemented entirely in the IDE.
>
> However, the IDE can be automated in a command-line build to build
> System Builder projects in much the same way that the mkbuild script
> automates building of C/C++ projects.
>
> Execute this on Linux:
>
> $QNX_HOST/usr/qde/eclipse/qde -application
> com.qnx.tools.ide.builder.core.CommandLineBuilder \
> -data /path/to/your/workspage -project sbproject
>
> or this on Windows:
>
> %QNX_HOST%\usr\qde\eclipse\eclipsec.exe -application
> com.qnx.tools.ide.builder.core.CommandLineBuilder \
> -data C:\path\to\your\workspage -project sbproject
>
> where "path/to/your/workspace" is replaced by -- you guessed it -- the
> workspace directory path and "sbproject" is replaced by the name of
> your
> SystemBuilder project.
>
> Note the use of eclipsec.exe on Windows: this is important to get
> console output from the project build.
>
> HTH,
>
> Christian
>
>
> On Fri, 2009-11-13 at 11:22 -0500, Dave Bott wrote:
>
> > I have a customer trying to reduce boot image size, using the
> command line build process today for their BSP.
> >
> > I read the docs, but see no mention of how to run the dietician from
> the command line
> >
> > Is there a way to squeeze the libraries down without using the IDE ?
> >
> > Thanks !
> >
> > Dave
> >
> >
> >
> > _______________________________________________
> >
> > General
> > http://community.qnx.com/sf/go/post41923
> >
>
>
> ________________________________________________________________________
>
> Christian W. Damus
> Software Developer, IDE Team
> QNX Software Systems
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post41925
>
>
>
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post41927
>
>
________________________________________________________________________
Christian W. Damus
Software Developer, IDE Team
QNX Software Systems
|
|
|
Elena Laskavaia
|
Re: RE: command line dietician ?
|
Elena Laskavaia
11/13/2009 12:04 PM
post41930
|
Re: RE: command line dietician ?
it should be documented as mksbp command (command line)
http://www.qnx.com/developers/docs/6.4.1/ide_en/user_guide/builder.html
search for mksbp
|
|
|