1,414 questions
2
votes
1
answer
60
views
Assistance with inline Assembly porting to SDCC
I am porting the GetCurrentMicro function in the Arduino Core STM8 to my SDCC code and I noticed the Cosmic C Compiler _asm function allows me to return a result as well as an input in a C var.
Is ...
1
vote
1
answer
134
views
How to efficiently log a byte string message in Python 3
I am trying to port a Python2 library to Python3. (My reason is a bit silly: just that Python3 ships with Ubuntu and so if my library works in Python3 then there are fewer installation steps.)
It is ...
-1
votes
1
answer
160
views
Convert Pascal real data type to C# type [duplicate]
I'm doing a proof of concept that involves porting some Pascal code over to C#.
The code involves financial calculations, so most of the fields are currency based (though not all).
All of the numeric ...
0
votes
1
answer
116
views
How did MinGW port GCC to Windows?
I'm trying to understand how MinGW ported GCC to Windows. I know that GCC originates from the Unix world and, for myriad reasons, cannot simply be copied across to Windows as an executable nor built ...
1
vote
0
answers
94
views
Find Maximum in Assembly code does not work for 64 bits register
I am following a book about Assembly for x86 called "Programming Ground UP" from Jonathan Bartlett.
The examples are written to x86 architecture and I am trying to adapt to x64.
Many ...
1
vote
0
answers
88
views
QT 4 LibQXT alternatives for QT6
I am currently trying to port a whole program from QT4 OpenSUSE to QT6 Debian 12.5 Kernal 6.1
The original code makes a lot of use of a QXT extension library, of which I have the following references :...
1
vote
0
answers
198
views
rust, building from source, cross build of native compiler
I am searching a way to build a native version of rustc in cross mode from source code. I have a specific target-A and libLLVM with backend for this target-A. So there are a two copies of libLLVM. One ...
0
votes
1
answer
76
views
Makefile - Header files not found even after inclusions
I am porting nRF8001 library to a stm32 mcu and in the makefile no matter how I include the header files it's not recognizing the path. I am not sure what's wrong with this makefile
TARGET=main
...
-4
votes
1
answer
62
views
rust how recreate function from js [closed]
function add(...args){
if (args.length === 0) return [];
const a = args[0];
let res = [];
for (let i = 0; i < a.length; i++){
const elements = args.map(x => x[i]);
res.push(Array....
0
votes
1
answer
87
views
How about porting the usbhost code generated by stm32cube to gd32?
I have encountered a problem in my project, I need to port the usbhost code framework generated by stm32cubemx to gd32, without modification, it can detect the insertion of the u-disk, but there will ...
1
vote
1
answer
63
views
How can I automatically reference a C++ DLL when using a C# class library in another project?
This is my first time using C++ dll.
I have created a C# class library project that uses a C++ dll.
After Googling, I ported the cpp dll using 'DllImport'
I built the project and confirmed that the '...
0
votes
0
answers
77
views
Porting code that wraps ODBC API to 64 bit questions
I am writing software (OSS), that utilizes ODBC API and yet I ran only on 32 bit. Now I figured out that I have to port to 64 bit due to lack of support on modern Mac OS X for 32 bit.
When I start ...
0
votes
0
answers
83
views
Issue with converting map_Kd texture into a usable format for three.js port
So, this is a somewhat uncommon issue. However, I'm attempting to create a headless Node.js renderer for OBJ and MTL files with Three.js. I've managed to rewrite the loaders to load from local files ...
1
vote
1
answer
112
views
Port INN code validation from Java to JavaScript
I want to validate the INN code. I have code snippet in Java which validates the INN code and want to port it to JavaScript to use it on my website (React):
for (int index = 0; index < ...
0
votes
1
answer
345
views
Minecraft/Spigot: Porting from Spigot 1.8 to 1.20 | Packets
Hello I wanted to port a old plugin from 1.8 to 1.20.
I never used a higher version than 1.8 spigot and I also didnt coded anything since 4 years in that either.
My old Plugin contained a function ...