drmikeb  
                
                  
                    September 9, 2020,  6:35pm
                   
                  1 
               
             
            
              I’m running Ubuntu 18.04.5 LTS with arm-none-eabi-gcc and in trying to run Lab 2_1A I have missing architectures:
arm-none-eabi-gcc: error: unrecognized argument in option '-march=nocona'
arm-none-eabi-gcc: error: unrecognized argument in option '-mtune=haswell'
While Arm toolchain instructions for Bionic Beaver and earlier are no longer valid I did update the version from 3.0 to 3.3
For verification - result from the following within Jupyter Notebook:
%%bash
which arm-none-eabi-gcc
arm-none-eabi-gcc --version
Is:
/usr/bin/arm-none-eabi-gcc
arm-none-eabi-gcc (15:6.3.1+svn253039-1build1) 6.3.1 20170620 
            
              
           
          
            
            
              Hi,
I’m fairly sure this is caused by your system having CFLAGS as environment variables and overwriting the default ones in our build system, as those are x86 build settings. Can you try running the following:
unset CFLAGS; unset CPPFLAGS; make PLATFORM=CWLITEARM CRYPTO_TARGET=NONE
and see if that fixes things?
Alex
             
            
              
           
          
            
              
                drmikeb  
              
                  
                    September 9, 2020,  8:30pm
                   
                  3 
               
             
            
              Spectacular - that worked - thanks Alex!
For what it’s worth I experienced similar behavior in 20.04 - and I’m running Python from within a conda environment.
             
            
              
           
          
            
            
              Yeah, the %%bash blocks are actually just using your system shell, there’s nothing too fancy going on