From: Kevin G. <go...@gm...> - 2007-09-04 15:36:24
|
Hello. I'm trying to compile xml-cppdom (verion 0.7.10) on a fresh Ubuntu installation. When I run scons with no arguments, it tries to compile for both ia32 and x64 architectures. On my system the x64 architecture fails (and prevents the ia32 from attempting to compile). I've tried passing an argument of 'arch=ia32', but it doesn't appear to have any effect. Is there a way to disable cross-compiling? Or could you point me at the packages I need to install to get it to cross-compile successfully? (It's complaining that it won't use my i486 version of libstdc++ to compile the x64 version of xml-cppdom.) Thanks! --Kevin |
From: Kevin G. <go...@gm...> - 2007-09-04 15:38:58
|
And of course, as soon as I send the email, I find the solution. After installing the g++-multilib package, it cross-compiles fine. --Kevin On 9/4/07, Kevin Godby <go...@gm...> wrote: > Hello. > > I'm trying to compile xml-cppdom (verion 0.7.10) on a fresh Ubuntu > installation. When I run scons with no arguments, it tries to compile > for both ia32 and x64 architectures. On my system the x64 > architecture fails (and prevents the ia32 from attempting to compile). > I've tried passing an argument of 'arch=ia32', but it doesn't appear > to have any effect. > > Is there a way to disable cross-compiling? Or could you point me at > the packages I need to install to get it to cross-compile > successfully? (It's complaining that it won't use my i486 version of > libstdc++ to compile the x64 version of xml-cppdom.) > > Thanks! > > --Kevin > |
From: Kevin G. <go...@gm...> - 2007-09-04 15:43:55
|
Almost there. Since xml-cppdom compiles against cppunit, I've still got a cross-compiling problem. I'm using an Ubuntu package of cppunit, so I don't have multiple architectures for that library. I'll see if I can dig them up somewhere. In the meantime, is there a command-line parameter I can pass to scons to get it to compile for just one architecture? Thanks! --Kevin On 9/4/07, Kevin Godby <go...@gm...> wrote: > And of course, as soon as I send the email, I find the solution. > > After installing the g++-multilib package, it cross-compiles fine. > > --Kevin > > On 9/4/07, Kevin Godby <go...@gm...> wrote: > > Hello. > > > > I'm trying to compile xml-cppdom (verion 0.7.10) on a fresh Ubuntu > > installation. When I run scons with no arguments, it tries to compile > > for both ia32 and x64 architectures. On my system the x64 > > architecture fails (and prevents the ia32 from attempting to compile). > > I've tried passing an argument of 'arch=ia32', but it doesn't appear > > to have any effect. > > > > Is there a way to disable cross-compiling? Or could you point me at > > the packages I need to install to get it to cross-compile > > successfully? (It's complaining that it won't use my i486 version of > > libstdc++ to compile the x64 version of xml-cppdom.) > > > > Thanks! > > > > --Kevin > > > |
From: Daniel E. S. <dan...@gm...> - 2007-09-04 15:54:04
|
Kevin, scons -h explains it all ;) You are looking for the var_arch=x64 option I believe. -d On 9/4/07, Kevin Godby <go...@gm...> wrote: > Almost there. > > Since xml-cppdom compiles against cppunit, I've still got a > cross-compiling problem. I'm using an Ubuntu package of cppunit, so I > don't have multiple architectures for that library. I'll see if I can > dig them up somewhere. > > In the meantime, is there a command-line parameter I can pass to scons > to get it to compile for just one architecture? > > Thanks! > > --Kevin > > On 9/4/07, Kevin Godby <go...@gm...> wrote: > > And of course, as soon as I send the email, I find the solution. > > > > After installing the g++-multilib package, it cross-compiles fine. > > > > --Kevin > > > > On 9/4/07, Kevin Godby <go...@gm...> wrote: > > > Hello. > > > > > > I'm trying to compile xml-cppdom (verion 0.7.10) on a fresh Ubuntu > > > installation. When I run scons with no arguments, it tries to compile > > > for both ia32 and x64 architectures. On my system the x64 > > > architecture fails (and prevents the ia32 from attempting to compile). > > > I've tried passing an argument of 'arch=ia32', but it doesn't appear > > > to have any effect. > > > > > > Is there a way to disable cross-compiling? Or could you point me at > > > the packages I need to install to get it to cross-compile > > > successfully? (It's complaining that it won't use my i486 version of > > > libstdc++ to compile the x64 version of xml-cppdom.) > > > > > > Thanks! > > > > > > --Kevin > > > > > > > ------------------------------------------------------------------------- |
From: Kevin G. <go...@gm...> - 2007-09-04 16:03:14
|
Huh. I read the help and must have just glanced over the var_ prefix. Oops. Looks like it's a good day to be programming! ;-) Thanks for your help! --Kevin On 9/4/07, Daniel E. Shipton <dan...@gm...> wrote: > Kevin, > > scons -h explains it all ;) You are looking for the var_arch=x64 > option I believe. > -d > > On 9/4/07, Kevin Godby <go...@gm...> wrote: > > Almost there. > > > > Since xml-cppdom compiles against cppunit, I've still got a > > cross-compiling problem. I'm using an Ubuntu package of cppunit, so I > > don't have multiple architectures for that library. I'll see if I can > > dig them up somewhere. > > > > In the meantime, is there a command-line parameter I can pass to scons > > to get it to compile for just one architecture? > > > > Thanks! > > > > --Kevin > > > > On 9/4/07, Kevin Godby <go...@gm...> wrote: > > > And of course, as soon as I send the email, I find the solution. > > > > > > After installing the g++-multilib package, it cross-compiles fine. > > > > > > --Kevin > > > > > > On 9/4/07, Kevin Godby <go...@gm...> wrote: > > > > Hello. > > > > > > > > I'm trying to compile xml-cppdom (verion 0.7.10) on a fresh Ubuntu > > > > installation. When I run scons with no arguments, it tries to compile > > > > for both ia32 and x64 architectures. On my system the x64 > > > > architecture fails (and prevents the ia32 from attempting to compile). > > > > I've tried passing an argument of 'arch=ia32', but it doesn't appear > > > > to have any effect. > > > > > > > > Is there a way to disable cross-compiling? Or could you point me at > > > > the packages I need to install to get it to cross-compile > > > > successfully? (It's complaining that it won't use my i486 version of > > > > libstdc++ to compile the x64 version of xml-cppdom.) > > > > > > > > Thanks! > > > > > > > > --Kevin > > > > > > > > > > > ------------------------------------------------------------------------- > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Xml-cppdom-devel mailing list > Xml...@li... > https://lists.sourceforge.net/lists/listinfo/xml-cppdom-devel > |