Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Problem to load libcompiler.so plugin on NetBSD 10.1
Miguel Gimenez:
--- Quote ---wxExecute() tries to call "gcc -dumpversion". Maybe on NetBSD is needed different flags
--- End quote ---
Open the console and do the call yourself, gcc should return the version as numbers separated by dots. Try also -dumpfullversion, just in case.
Beesdeckar:
Yes, it is functional when I do it manually in console
--- Code: ---/home/programmer/wxWidgets-3.2.5$ gcc -dumpversion
10.5.0
/home/programmer/wxWidgets-3.2.5$ gcc -dumpfullversion
10.5.0
--- End code ---
Miguel Gimenez:
Do you have the shell configured correctly (in Setting -> Environment settings -> General settings -> Shell to run commands in)?.
The default for Mac was not correct, NetBSD may be similar. The default is
--- Code: ---/bin/sh -c
--- End code ---
Wkerry:
Miguel,
Watch the source code for CB used by Beesdeckar and ensure that it is the latest as the other thread has "When I checkout from current branch then build successfully finished.", which could mean anything.
Beesdeckar:
--- Quote from: Miguel Gimenez on January 22, 2025, 03:49:18 pm ---Do you have the shell configured correctly (in Setting -> Environment settings -> General settings -> Shell to run commands in)?.
--- End quote ---
When I remove libcompiler from plugins and codeblocks then successfully starts I am seeing correct setting: "/bin/sh -c"
But I think it has nothing with my problem. Above problem is relating to registering compilers in start phase of codeblocks (libcompiler.so).
Yesterday I tried to debug it more deeply wxExecute() and found that it is probably problem with using fork() in multithreaded application on NetBSD.
I am trying to discuss with wxWidgets's guys about it in their forum:
https://forums.wxwidgets.org/viewtopic.php?t=51840
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version