From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ivan Kalatchev" References: <001101ca930a$1052fa70$30f8ef50$@kalatchev@domain.hid> <4B4BADDD.7070900@domain.hid> <001f01ca9390$5fa20db0$1ee62910$@kalatchev@domain.hid> <4B4C84AC.3020207@domain.hid> <002001ca9399$99b07c40$cd1174c0$@kalatchev@domain.hid> <4B4C96D5.7060902@domain.hid> <002101ca93a1$a39d4050$ead7c0f0$@kalatchev@domain.hid> <4B4CA076.1050205@domain.hid> <002501ca93ae$2b168850$814398f0$@kalatchev@domain.hid> <4B4CD5E8.7040904@domain.hid> In-Reply-To: <4B4CD5E8.7040904@domain.hid> Date: Tue, 12 Jan 2010 15:34:06 -0500 Message-ID: <003601ca93c6$974e01c0$c5ea0540$@kalatchev@domain.hid> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Content-Language: en-ca Subject: Re: [Xenomai-help] Viper board (ARM XScale) problems with Xenomai-2.4.10 List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: 'Gilles Chanteperdrix' Cc: 'Xenomai help' Thanks, I'll do that Best regards, Ivan > -----Original Message----- > From: Gilles Chanteperdrix [mailto:gilles.chanteperdrix@xenomai.org > electrons.com] > Sent: January-12-10 3:05 PM > To: Ivan Kalatchev > Cc: 'Xenomai help' > Subject: Re: [Xenomai-help] Viper board (ARM XScale) problems with > Xenomai-2.4.10 > > Ivan Kalatchev wrote: > >>> my gcc is 3.3.4 > >>> > >>> I changed arith.h as you suggested, and it compiled, but then > >>> linker couldn't find rthal_arm_nodiv_ullimd definition, as there > >>> is no code for it for __GNUC__ < 4. > >> Ok, you need to change the other #ifdef a bit further. > > > > When I added __GNUC__ >= 4 to both #if __LINUX_ARM_ARCH__ in > > asm-arm/arith.h, I again received compiler error for some reason. Is > > there way to do what nodiv_ullimd is doing through Linux's do_div ? > > That's what I usually use. > > If you are interested in nodiv_llimd vs do_div based llimd, see the > test > case named "arith". > > -- > Gilles Chanteperdrix, Free Electrons > Kernel, drivers, real-time and embedded Linux > development, consulting, training and support. > http://free-electrons.com