x
This website is using cookies. We use cookies to ensure that we give you the best experience on our website. More info. That's Fine
HPC:Factor Logo 
 
Latest Forum Activity

CeGCC on modern linux

1 2
stingraze Page Icon Posted 2022-01-30 11:11 PM
#
Avatar image of stingraze
Subscribers
H/PC Vanguard

Posts:
3,001
Location:
Japan
Status:
Does this help, maybe?

Output unicode strings in Windows console app
https://stackoverflow.com/questions/2492077/output-unicode-strings-i...
 Top of the page
Alt Bass Page Icon Posted 2022-01-31 8:34 AM
#
Avatar image of Alt Bass
H/PC Sensei

Posts:
1,154
Location:
Russia
Status:
Quote
Alt Bass - 2022-01-31 12:24 AM

The problem with stdout can be that Windows is treating Console output and stdout differently, on NT kernel AT LEAST.
hotfix
 Top of the page
watamario15 Page Icon Posted 2022-04-05 3:40 AM
#
Avatar image of watamario15
H/PC Newbie

Posts:
4
Location:
Japan
Status:
I've used this compiler for my small project.

You can use the official build for Debian buster on Ubuntu 20.04 LTS with the following commands, building it yourself should be better, though:
sudo bash -c 'echo >> /etc/apt/sources.list' 
sudo bash -c 'echo "deb [trusted=yes] https://max.kellermann.name/debian cegcc_buster-default main" >> /etc/apt/sources.list' 
sudo apt update 
sudo apt install gcc-arm-mingw32ce 


And I found the following issues:

  • You must strip (-s) when you static link the C/C++ runtime library. It gets 10MB+ if you forget to do that.

  • Some macros have wrong definitions. e.g. WS_MINIMIZEBOX shows the maximize button. This is because this build of CeGCC uses header files for Windows PC, not for Windows CE. I don't know why Microsoft changed the static numbers for Windows CE, though.

 Top of the page
1 2
Jump to forum:
Seconds to generate: 0.127 - Cached queries : 41 - Executed queries : 29
Server Time now is: Tuesday, 17 May 2022 - 5:44