Codeblocks compiler unknown2/15/2023 There is also no /z command-line option listed in the help file.Īlso, all the switches have a space after the letter. The mcc18.exe compiler uses - command line switches, and mplink uses / command-line switches. Searching thru the MPLAB Help files, I discovered: I might know even less than Don, and I only have MPLAB 7.20, but hey, I’ll take a stab at it. A plain old command based method would make my day. Is there a way I can compile the code without an IDE altogether, with like a makefile or something? I’m using VIM for editing and I only use MPLAB to click the build button. Is there some way I could get rid of this switch? What does it do anyway?Īlso, I was reading on the forums that some people compile the code under other IDEs such as Bloodshed or Codeblocks. I don’t get this error in MPLAB 7.20, but I don’t want to have to install 7.20 because I also need to be able to compile code based on Kevin’s FRC framework. MPLINK 3.90, LinkerCopyright (c) 2004 Microchip Technology Inc.Įrror - unknown switch: /z_MPLAB_BUILD=1 Executing: "C:\MCC18\bin\mplink.exe" /l"C:\mcc18\lib" "r" "user_routines_fast.o" "ifi_startup.o" "ifi_utilities.o" "main.o" "printf_lib.o" "user_routines.o" "C:\laptopVex\Vex_alltimers_wauton_jmpr.lib" /z_MPLAB_BUILD=1 /o"f" Everything compiles, but I get stuck on a silly linker error with an unknown switch. I can’t use 3.20 because the Vex code doesn’t compile with it. I’m trying to use MPLAB 8.10 with the 2.40 version of the C18 compiler and friends.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |