discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Build problem on E100


From: Josh Blum
Subject: Re: [Discuss-gnuradio] Build problem on E100
Date: Wed, 09 Nov 2011 19:45:44 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1


On 11/09/2011 07:24 PM, Nowlan, Sean wrote:
> What generates the various flags.make files? I had to edit these by hand to 
> put the correct flags in. I'm pretty sure I shouldn't need to do that.
> 

So the gnuradio install on this image, was built natively  with that
toolchain file: http://files.ettus.com/e1xx_images/e1xx-001/

In any case, you can manually specify those flags on the command line by
setting the same variable in the toolchain file (this was the only
purpose of having the toolchain file to begin with):

-DCMAKE_CXX_FLAGS:STRING="-mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp
-g" -DCMAKE_C_FLAGS:STRING="-mcpu=cortex-a8 -mfpu=neon
-mfloat-abi=softfp -g"

Also mentionings of the flags here:
http://code.ettus.com/redmine/ettus/projects/usrpe1xx/wiki/FAQ

-josh

> -----Original Message-----
> From: address@hidden [mailto:address@hidden On Behalf Of Josh Blum
> Sent: Wednesday, November 09, 2011 7:49 PM
> To: address@hidden
> Subject: Re: [Discuss-gnuradio] Build problem on E100
> 
> 
> 
> 
> 
> On 11/09/2011 02:57 PM, Nowlan, Sean wrote:
>> I tried it again (without the typo) and it failed in the same manner. For 
>> some reason the C_FLAGS are not being picked up. Any ideas?
>>
>> $cmake 
>> -DCMAKE_TOOLCHAIN_FILE=/home/root/gnuradio/cmake/Toolchains/arm_cortex
>> _a8_native.cmake ../
>>
>> $make VERBOSE=1
>>
> 
> I dont know what to say, I just ran that command exactly.
> 
> Touched all of the dotprod files so they rebuild:
> address@hidden:~/src/gnuradio.git/gnuradio-core/src/lib/filter# touch
> *dotprod*
> 
> And make VERBOSE=1 gives me: http://pastebin.com/GZRGGr7Z So the flags are 
> definitely there in this case.
> 
> -josh
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio



reply via email to

[Prev in Thread] Current Thread [Next in Thread]