Jeff Webb wrote: > Matthias Fechner wrote: >> Eric Noulard schrieb: >>> Is it possible to run/boot a 32bit xenomai on a 64 bit system >>> or should I really need to install a 32bit only system on my 64 bit >>> machine? >>> If yes how to do this properly? >>> If no >>> - is there a planned support for 64bit in xenomai/adeos? >>> - what should I do to use Xenomai on my 64 bit machine? >> >> I had exactly the same problem and I installed a second 32-bit Linux on >> my harddisk and easily linked some dirs from my old 64-bit installation >> to save space (e.g. /usr/src, /usr/local). > > I installed the FC6 i386 version on a second partition as well. After > that, I followed the steps outlined in the attached file to build kernel > and Xenomai RPMs.
Hmm, that tickles my fantasy once again: Could we derive generic .specs from your files to include them in the Xenomai distribution? Then some additional Makefile rules could provide a "make rpm" that generates packages for kernel and userland (when given some kernel.tar.bz2). Basically, your steps generalised and automated. This would help us to provide, e.g., an i386 pre-built package with reasonable default config, something I still consider useful. But, of course, it must not cost any effort :). Automated rpm generation would be a big step in that direction. BTW, have you seen my Xenomai.spec for the SuSE packages I once posted? Attached is an updated version. It splits the Xenomai userland in several sub-packages to allow selective installation. > >> But the best is a Xenomai which supports 64-bit AMD processors :) > > Of course! Yeah. Who's going to do this? ;) [Really, it depends on someone feeling enough need to work on this (or sponsor the work). A few pieces are already there from previous RTAI efforts towards x86-64 support. But now it takes a clean implementation over recent Linux/I-pipe/Xenomai.] Jan
# # spec file for package xenomai (Version 2.3.0) # # Copyright (c) 2006 Jan Kiszka. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via [email protected] # # norootforbuild # usedforbuild aaa_base acl attr audit-libs autoconf automake bash bind-libs bind-utils binutils bison bzip2 coreutils cpio cpp cracklib cvs cyrus-sasl db diffutils e2fsprogs file filesystem fillup findutils flex gawk gcc gcc-c++ gdbm gdbm-devel gettext gettext-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv klogd less libacl libattr libcom_err libgcc libnscd libstdc++ libstdc++-devel libtool libxcrypt libzio m4 make man mktemp module-init-tools ncurses ncurses-devel net-tools netcfg openldap2-client openssl pam pam-modules patch perl permissions popt procinfo procps psmisc pwdutils rcs readline rpm sed strace sysvinit tar tcpd texinfo timezone unzip util-linux vim zlib zlib-devel Name: xenomai BuildRequires: gcc URL: http://www.xenomai.org/ License: LGPL Group: System/Base Summary: Xenomai Userland (libraries, tools, tests) Version: 2.3.0 Release: 2 Source0: xenomai-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Xenomai is a real-time development framework cooperating with the Linux kernel, in order to provide a pervasive, interface-agnostic, hard real-time support to user-space applications, seamlessly integrated into the GNU/Linux environment. Authors: -------- Philippe Gerum <[EMAIL PROTECTED]> and others %debug_package %prep %setup -q %build CFLAGS="$RPM_OPT_FLAGS -Wall -DNDEBUG" \ CXXFLAGS="$RPM_OPT_FLAGS -Wall -DNDEBUG" \ ./configure \ --prefix=%{_prefix} \ --libdir=%{_libdir} \ --mandir=%{_mandir} \ --enable-x86-tsc --enable-x86-sep make %{?jobs:-j%jobs} %install [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT make install-user DESTDIR=$RPM_BUILD_ROOT %files %defattr(-,root,root) %{_bindir}/* %{_sbindir}/* %{_libdir}/lib*.so* %{_mandir}/* /usr/share/xenomai/* %package doc Group: Documentation/HTML Summary: Xenomai API Documentation %description doc Xenomai API Documentation %files doc %defattr(-,root,root) %docdir /usr/share/doc /usr/share/doc/* %package devel Group: Development/Libraries/C and C++ Summary: Xenomai Headers and Libraries %description devel Xenomai Headers and Libraries %files devel %defattr(-,root,root) /usr/include/* %{_libdir}/lib*.a %{_libdir}/lib*.la %{_libdir}/posix.wrappers %changelog -n xenomai * Fri Jan 5 2007 - [EMAIL PROTECTED] - rebased over 2.3 release * Sun Dec 10 2006 - [EMAIL PROTECTED] - move posix.wrappers to devel - rebased over SVN + reorder-installation.patch * Wed Nov 22 2006 - [EMAIL PROTECTED] - initial version based on 2.3-rc2
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
