PDA

View Full Version : C++ compiler on Vu+



rodolphedj
26-11-13, 08:25
Hi,

I need to compile some applications on my vu+ solo2.
Could you please explain me or give me a link how to setup gcc ?


root@vusolo2:/usr/local/src/libmcrypt-2.5.8# ./configure --prefix=/usr/local --build=mips
checking build system type... mips-unknown-elf
checking host system type... mips-unknown-elf
checking target system type... mips-unknown-elf
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make sets $(MAKE)... (cached) no
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
See `config.log' for more details.


it seems i need cross-compile.
If right, let me know If I can use a virtual image on my laptop. which linux ?

thanks

Trial
26-11-13, 09:14
Hi,
you can create a cross development kit (CDK) with:

git clone git://code.vuplus.com/git/openvuplus.git
cd openvuplus
make image MACHINE=vusolo2

With this you create a complete build environment and an image for the solo2. First run takes from several hours up to a few days depending on the used PC. I made it a few times with Ubuntu.

ciao

rodolphedj
26-11-13, 11:56
thanks a lot

with these keywords, I find this blog (http://blog.videgro.net/2013/05/how-to-compile-software-for-vu-plus/)

Lqjdv
14-12-13, 21:24
thanks a lot

With this you create a complete build environment and an image for the solo2.

Ok this step are ok but then? Can anyone help me to compile a package tar.gz from a third-party source tarball tar.gz!??

bitbake source.env
bitbake devshell
Then I became a failure: "Unknown devshell nothing to do."
---
oe_autoconf
oe_automake??
----
Can anyone explain me how I compile a package after I build the enviroment and create an Image. So I think I do not need to build an image before I'd like to build an package.
I think I can start instantly but how???

Thanks

javierc
12-04-15, 02:59
Hi, I want compile a simple program, an udp client for my Vu plus Uno. Not is possible do it in the vu uno, Is needed install on a separate linux distribution?

Regards

birdman
12-04-15, 11:05
I've compiled some things for my box by using a Debian MIPS installation in a VirtualBox machine on my PC.

Wouldn't work for anything wanting to link in with OpenVix code, but seems fine for "simple" generic things (and I had it lying around anyway).

javierc
12-04-15, 21:29
I've compiled some things for my box by using a Debian MIPS installation in a VirtualBox machine on my PC.

Wouldn't work for anything wanting to link in with OpenVix code, but seems fine for "simple" generic things (and I had it lying around anyway).

Thanks, I would like isntall the compiler in the vu , is it not possible?

Regards