Click here to Skip to main content
14,607,924 members

C / C++ / MFC

 
AnswerRe: What's the closest thing to anonymous function pointers I can achieve that compiles with GCC? Pin
Josh Gray210-Jul-20 3:30
MemberJosh Gray210-Jul-20 3:30 
GeneralRe: What's the closest thing to anonymous function pointers I can achieve that compiles with GCC? Pin
arnold_w10-Jul-20 11:19
Memberarnold_w10-Jul-20 11:19 
GeneralRe: What's the closest thing to anonymous function pointers I can achieve that compiles with GCC? Pin
k505410-Jul-20 11:52
mvek505410-Jul-20 11:52 
GeneralRe: What's the closest thing to anonymous function pointers I can achieve that compiles with GCC? Pin
Richard MacCutchan10-Jul-20 22:05
mveRichard MacCutchan10-Jul-20 22:05 
AnswerRe: What's the closest thing to anonymous function pointers I can achieve that compiles with GCC? Pin
CPallini12-Jul-20 20:33
mveCPallini12-Jul-20 20:33 
GeneralRe: What's the closest thing to anonymous function pointers I can achieve that compiles with GCC? Pin
arnold_w12-Jul-20 23:52
Memberarnold_w12-Jul-20 23:52 
GeneralRe: What's the closest thing to anonymous function pointers I can achieve that compiles with GCC? Pin
Richard MacCutchan13-Jul-20 2:00
mveRichard MacCutchan13-Jul-20 2:00 
GeneralRe: What's the closest thing to anonymous function pointers I can achieve that compiles with GCC? Pin
arnold_w13-Jul-20 3:53
Memberarnold_w13-Jul-20 3:53 
So I went to Project Properties -> C/C++ Build -> Settings -> MCU G++ Linker and replaced the following Command line pattern:
${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}
with
arm-none-eabi-g++ -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"" -Wl,-Map,output.map -Wl,--gc-sections -fno-exceptions -fno-rtti -o "MyProject.elf" @"objects.list"   -lm
When I build the project and look inside the console window, I see the following:
Invoking: MCU G++ Linker
arm-none-eabi-g++ -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"" -Wl,-Map,output.map -Wl,--gc-sections -fno-exceptions -fno-rtti -o "MyProject.elf" @"objects.list"   -lm -lm
c:/ac6/systemworkbench/plugins/fr.ac6.mcu.externaltools.arm-none.win32_1.17.0.201812190825/tools/compiler/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: cannot open linker script file -Wl,-Map,output.map: No such file or directory
What did I do wrong?
GeneralRe: What's the closest thing to anonymous function pointers I can achieve that compiles with GCC? Pin
Richard MacCutchan13-Jul-20 4:29
mveRichard MacCutchan13-Jul-20 4:29 
GeneralRe: What's the closest thing to anonymous function pointers I can achieve that compiles with GCC? Pin
arnold_w4-Aug-20 5:21
Memberarnold_w4-Aug-20 5:21 
Questionuse argv while debugging Pin
chipp_zanuff4-Jul-20 20:08
Memberchipp_zanuff4-Jul-20 20:08 
AnswerRe: use argv while debugging Pin
Richard MacCutchan4-Jul-20 21:09
mveRichard MacCutchan4-Jul-20 21:09 
GeneralRe: use argv while debugging Pin
chipp_zanuff4-Jul-20 22:15
Memberchipp_zanuff4-Jul-20 22:15 
GeneralRe: use argv while debugging Pin
Richard MacCutchan4-Jul-20 22:19
mveRichard MacCutchan4-Jul-20 22:19 
GeneralRe: use argv while debugging Pin
chipp_zanuff4-Jul-20 23:15
Memberchipp_zanuff4-Jul-20 23:15 
GeneralRe: use argv while debugging Pin
Richard MacCutchan5-Jul-20 0:11
mveRichard MacCutchan5-Jul-20 0:11 
GeneralRe: use argv while debugging Pin
chipp_zanuff5-Jul-20 6:17
Memberchipp_zanuff5-Jul-20 6:17 
GeneralRe: use argv while debugging Pin
Richard MacCutchan5-Jul-20 6:35
mveRichard MacCutchan5-Jul-20 6:35 
Questionpython language Pin
seotutorialszone4-Jul-20 10:40
Memberseotutorialszone4-Jul-20 10:40 
AnswerRe: python language Pin
chipp_zanuff4-Jul-20 20:13
Memberchipp_zanuff4-Jul-20 20:13 
AnswerRe: python language Pin
Richard MacCutchan4-Jul-20 21:06
mveRichard MacCutchan4-Jul-20 21:06 
AnswerRe: python language Pin
Patrice T5-Jul-20 0:16
mvePatrice T5-Jul-20 0:16 
AnswerRe: python language Pin
CPallini5-Jul-20 20:15
mveCPallini5-Jul-20 20:15 
QuestionCreate C++ Program for Android Gaming Pin
OnlyGame134-Jul-20 6:46
MemberOnlyGame134-Jul-20 6:46 
AnswerRe: Create C++ Program for Android Gaming Pin
Dave Kreskowiak4-Jul-20 6:56
mveDave Kreskowiak4-Jul-20 6:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.