This is the mail archive of the ecos-maintainers@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ConfigTool builds


On Thu, 2003-05-29 at 08:04, John Dallaway wrote:
> Hi Gary
> 
> I've been working with a new cross-platform makefile. Details at:
> 
>   http://www.ecoscentric.com/devzone/configtool.shtml
> 

I did have one trouble following those directions.  There was a
configuration file which didn't end up in the right place.

Here's how I ended up doing it:
        mkdir wx-build
        cd wx-build
        ../wxGTK-2.4.0/configure --disable-shared --disable-sockets --prefix=/opt/ct/wx
        make
        make prefix=/opt/ct/wx install
        cd ..
        
        mkdir tools
        cd tools
        ../configure --prefix=%{__prefix}
        make
        make prefix=$RPM_BUILD_ROOT/%{__prefix} install
        cd ..
        
        mkdir ct
        cd ct
        # Fix problem with include file
        cp /opt/ct/wx/lib/wx/include/gtk-2.4/wx/setup.h /opt/ct/wx/include/wx
        make -f ../host/tools/configtool/standalone/wxwin/makefile.gnu install WXDIR=/opt/ct/wx ECOSSRCDIR=../host INSTALLDIR=/opt/ct
        
Note: I unpacked the wxGTK stuff into ecos/wxGTK-2.4.0 (same level as ecos/host)

-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]