cross compiling for x86 x8664, for RHEL, Ubuntu, SLES
location: linuxquestions.com - date: April 15, 2010
I wonder if there is an easy way to accomplish the following:
I made a tool and part of it needs to be compiled.
It would be easy if I can automate compilation for multiple platforms (x86 / x86_64 / RHEL / SLES / Ubuntu).
Is there a way to do this automated on a single host?
Or should I set up an os for each distro?
Anyone has good references on how to do something like this?
Also is there a way to generate RPM and deb files also on the same host without having to edit the meta files each time a version changes?
I did put something together but it is not really clean.
Compiling Nwchem with openmpi
- date: October 20, 2011
I have been trying to install/compile nwchem on Fedora 15 with openmpi using this tutorial http://www.nwchem-sw.org/index.php/Compiling_NWChem, but I'm running into some problems. First I created an install script:
echo "let's build NWCHEM"
setenv LARGE_FILES TRUE
setenv LIB_DEFINES -DDFLT_TOT_MEM=16777216
setenv TCGRSH /usr/bin/ssh
setenv NWCHEM_TOP /home/wcucluster.master/nwchem-6.0
setenv NWCHEM_TARGET LINUX
setenv NWCHEM_TARGET_CPU SGITFP
setenv USE_MPI y
setenv USE_MPIF y
setenv MPI_LOC /usr/lib/openmpi
setenv MPI_LIB $MPI_LOC/lib
setenv MPI_INCLUDE $MPI_LOC/include
setenv LIBMPI "-L $MPI_LIB -lmpi -lopen-pal -lopen-rte -lmpi_f90 -lmpi_f77"
make nwchem_config NWCHEM_MODULES=all
make >& make.log
I received this output in the terminal with errors:
let's build NWC
Cross compiling on Ubuntu for RedHat Enterprise Linux
location: ubuntuforums.com - date: May 17, 2011
I was wondering if anyone had managed to create a setup/build a toolchain that allowed them to compile C/C++ code on Ubuntu for a RedHat EL 5.5 / Cent OS 5.5 platform ?
I'd like to use the GNU compiler for this purpose.
If you have, I would be interested to see how it was done.
cross compiling GNUpdf
location: ubuntuforums.com - date: May 11, 2010
When i do ./configure --build i686-pc-linux-gnu --host i586-mingw32msvc
checking zlib in ... failed
configure: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib
Whereas zlib (package zlibc) is installed in my system. When i run "locate zlib " i get:
Cross compiling to 64bit on 32bit host
location: ubuntuforums.com - date: August 6, 2007
I have 2 Ubuntu machines at home - one with the 32-bit edition of Feisty and one with the 64-bit edition of Feisty.
I was wondering if it is possible to cross-compile 64-bit programs for the 64-bit Feisty on the 32-bit Feisty (I know that 32-bit binaries would work on the 64-bit with IA32 libs but wondering if 64-bit binaries can be produced on the 32-bit machine).
Having trouble compiling wine with freetype on 64bit Ubuntu 8.04
location: ubuntuforums.com - date: October 31, 2008
I am new to these forums although I've been lurking as an unregistered user for some time... I am using the 64bit version of Ubuntu 8.04 and I've been trying to install Wine, which I managed to successfully do but only when I used the --without-freetype option. I noticed that it takes a while to load though, even when loading notepad.exe. It seems to output a bunch of error msgs, which I think has something to do with it not being compiled with freetype. If I was to run ./configure without using that switch, then the configure script fails with this error message:
checking for freetype-config... freetype-config
checking for -lfreetype... not found
configure: error: FreeType development files not found.
Fonts will not be built. Dialog text may be invisible or unaligned.
Use the --without-freetype option if you really want this.
I followed all the instructions at http://wiki.winehq.org/WineOn64bit but its been of no help. I even created a libfreetype.so symlink to libfreety
location: ubuntuforums.com - date: December 11, 2007
Hey guys... I've got a D-Link DSL-502Tadsl modem -- it runs linux but as far as I can tell has no package management whatsoever.
I'd really like to get a few basic tools on there (netcat, tcpdump, etc).
The box does have tftp on it, so I can easily get the files across.... the question is what do I have to do to get them to run.
cat /proc/cpuinfo tells me this:
processor : 0
cpu model : MIPS 4KEc V4.8
BogoMIPS : 149.91
wait instruction : no
microsecond timers : yes
extra interrupt vector : yes
hardware watchpoint : yes
VCED exceptions : not available
VCEI exceptions : not available
I know that MIPS is an IBM processor and I'm guessing that it probably doesn't run x86... so I suppose I need to cross compile an ELF binary for it.
Is it just as simple as putting an extra flag into gcc? (if not, I'd appreciate it if someone could point me in the directi
What am I doing wrong when compiling Libvirt with ESX driver?
location: linuxquestions.com - date: January 3, 2014
So I like to tote myself as an intermediate linux user. But occasionally i take on a side project of my own imagination, and I fall out of my depth. Today I was finishing setting up Cuckoo Malware Sandbox configured to run an ESXI server, but I ran into a problem. I need to recompile libvirt for use with the esx driver (further reading: http://www.libvirt.org/drvesx.html). So even though I have already installed LibVirt, I grabbed the source from Git to recompile. I followed all the instructions here: http://libvirt.org/compiling.html (bottom of page at compile from Git checkout) but I am still getting the cuckoo error "Libvirt returned an exception on connection: unsupported configuration: libvirt was built without the 'esx' driver."
What I am missing?
Please let me know if you need more information.
[SOLVED] cross compiling armlinuxgnueabihf
location: linuxquestions.com - date: March 15, 2014
Im trying to build a debian image on a sd card from here:
When I enter
make a20-olinuxino_micro CROSS_COMPILE=arm-linux-gnueabihf-
/bin/bash: arm-linux-gnueabihf-gcc: command not found
I installed the package gcc-4.7-arm-linux-gnueabihf and I only get
arm-linux-gnueabihf-gcc-4.7 not arm-linux-gnueabihf-gcc
How should I fix that?
cross compiling sqlite3 for arm 7 processor
location: linuxquestions.com - date: November 22, 2010
Hi every one,
i am trying to cross compile sqlite3 with following options
(i got these options from previous threads in these forum)
./configure --host=arm-linux CC=/usr/local/arm-linux/bin/arm-linux-gcc AR=arm-linux-ar STRIP=arm-linux-strip RANLIB=arm-linux-ranlib
while executing make command i am getting following error
rm -fr .libs/libsqlite3.so .libs/libsqlite3.so.0 .libs/libsqlite3.so.0.8.6
/usr/local/arm-linux/bin/arm-linux-gcc -shared .libs/sqlite3.o -ldl -lpthread -Wl,-soname -Wl,libsqlite3.so.0 -o .libs/libsqlite3.so.0.8.6
(cd .libs && rm -f libsqlite3.so.0 && ln -s libsqlite3.so.0.8.6 libsqlite3.so.0)
(cd .libs && rm -f libsqlite3.so && ln -s libsqlite3.so.0.8.6 libsqlite3.so)
arm-linux-ar cru .libs/libsqlite3.a sqlite3.o
./libtool: line 5969: arm-linux-ar: command not found
make: *** [libsqlite3.la] Error 127
can anybody pls help me
mahesh j pawar
Page: 1 2 3 4 5 6 7 8 9 10