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: [email protected] > [mailto:[email protected]] On > Behalf Of Josh Blum > Sent: Wednesday, November 09, 2011 7:49 PM > To: [email protected] > 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: > root@usrp-e1xx:~/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 > [email protected] > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio _______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
