logo
Welcome, Guest. Please Login or Register.
18. April 2024, 09:08:30


Home Help Search Login RegisterWIKIUHSDR Download

Amateurfunk Sulingen
Diskussions- und Newsboard des DARC-Ortsverbandes I40  |  allgemeine Kategorie  |  UHSDR Firmware (Moderators: DF8OE, DL1PQ)  |  Topic: gcc-8-branch revision 267074 <- zurück vorwärts ->
Pages: [1] Go Down Print
   Author  Topic: gcc-8-branch revision 267074  (Read 1308 times)
DF8OE
Administrator
*****

Offline

Posts: 6268



Stellvertr. OVV I40, Jugend / Nachwuchsreferent

View Profile WWW
gcc-8-branch revision 267074
« on: 28. December 2018, 11:07:23 »

Hi to all,

I just installed the brand new gcc (release on 20th of December) and compared size of binary to the last version of the compiler.

and - surprise, surprise - here the result:

fw-mchf.bin, full build:
old gcc: 479712 bytes
new gcc: 410728 bytes

Nothing changed - only use of newest gcc... Very interesting and nice to see. So our full build fits again in 512KB MCU.

vy 73
Andreas
Logged

Wenn der Wind des Wandels weht, nageln die einen Fenster und Türen zu und verbarrikadieren sich. Die anderen gehen nach draußen und bauen Windmühlen...
qrz.com-Seite von DF8OE
-----------------------------------------------------
>>>> Die Inhalte meiner Beiträge dürfen ohne meine explizite Erlaubnis in jedwedem Medium weiterverbreitet werden! <<<<
DL8EBD
positron
Urgestein
*****

Offline

Posts: 1926





View Profile
Re:gcc-8-branch revision 267074
« Reply #1 on: 28. December 2018, 11:23:21 »

wow, fast 70k gespart. Nicht schlecht!
Logged

bitte keine technische Fragen oder Diskussionen via PN, dafür ist das Forum da.
vy73
Thomas
DB4PLE
positron
Urgestein
*****

Offline

Posts: 1278





View Profile
Re:gcc-8-branch revision 267074
« Reply #2 on: 28. December 2018, 12:34:24 »

Hi Andreas,

I just noticed the release of the new compiler, too. Interestingly it did not change much on the F7/H7 resulting binary sizes although basically the same processor instruction set is used...

73
Danilo

Logged
DF8OE
Administrator
*****

Offline

Posts: 6268



Stellvertr. OVV I40, Jugend / Nachwuchsreferent

View Profile WWW
Re:gcc-8-branch revision 267074
« Reply #3 on: 28. December 2018, 12:50:19 »

Hi Danilo,

yes - I noticed that, too. Very interesting. May be 2-update was a little bit confused at F4. I do not habe compared object files. Possibly this is a linker and not a compiler result...

vy 73
Andreas
Logged

Wenn der Wind des Wandels weht, nageln die einen Fenster und Türen zu und verbarrikadieren sich. Die anderen gehen nach draußen und bauen Windmühlen...
qrz.com-Seite von DF8OE
-----------------------------------------------------
>>>> Die Inhalte meiner Beiträge dürfen ohne meine explizite Erlaubnis in jedwedem Medium weiterverbreitet werden! <<<<
DB4PLE
positron
Urgestein
*****

Offline

Posts: 1278





View Profile
Re:gcc-8-branch revision 267074
« Reply #4 on: 28. December 2018, 14:16:48 »

Hi Andreas,

I think, no, we use same linking strategy on all machines in Makefile.  Of course, there could be something subtle in some of the settings, but they look very, very similar.

73
Danilo


Logged
DF8OE
Administrator
*****

Offline

Posts: 6268



Stellvertr. OVV I40, Jugend / Nachwuchsreferent

View Profile WWW
Re:gcc-8-branch revision 267074
« Reply #5 on: 28. December 2018, 14:20:06 »

Hi Danilo,

I know. But I am not able to see in a quick way was is going on internally in gcc software. There must be something that is working different on -q2-update and -q4-major and on F4 <--> F7/H7... I already have tested resulting binaries on all processor types and everything looks fine.

vy 73
Andreas
Logged

Wenn der Wind des Wandels weht, nageln die einen Fenster und Türen zu und verbarrikadieren sich. Die anderen gehen nach draußen und bauen Windmühlen...
qrz.com-Seite von DF8OE
-----------------------------------------------------
>>>> Die Inhalte meiner Beiträge dürfen ohne meine explizite Erlaubnis in jedwedem Medium weiterverbreitet werden! <<<<
DB4PLE
positron
Urgestein
*****

Offline

Posts: 1278





View Profile
Re:gcc-8-branch revision 267074
« Reply #6 on: 28. December 2018, 14:55:49 »

Hi,

good, then make this the default compiler for builds. However, at least on Windows we have issues with building in Eclipse and this compiler (more precisely the linker).

73
Danilo
Logged
DF8OE
Administrator
*****

Offline

Posts: 6268



Stellvertr. OVV I40, Jugend / Nachwuchsreferent

View Profile WWW
Re:gcc-8-branch revision 267074
« Reply #7 on: 28. December 2018, 15:23:20 »

Hi Danilo,

of course I am following the discussion and I want to test if Eclipse @Linux is doing the job. I haven't used Eclipse since months  . How can I set quickly a new path for toolchain so that I can  switch fast between different toolchains? Is there any non-project related setting which overrides all project specific setting?

vy 73
Andreas
Logged

Wenn der Wind des Wandels weht, nageln die einen Fenster und Türen zu und verbarrikadieren sich. Die anderen gehen nach draußen und bauen Windmühlen...
qrz.com-Seite von DF8OE
-----------------------------------------------------
>>>> Die Inhalte meiner Beiträge dürfen ohne meine explizite Erlaubnis in jedwedem Medium weiterverbreitet werden! <<<<
DB4PLE
positron
Urgestein
*****

Offline

Posts: 1278





View Profile
Re:gcc-8-branch revision 267074
« Reply #8 on: 28. December 2018, 17:21:30 »

Hi Andreas and others,

changing the paths is simple in Eclipse, just go to Window->Preferences->MCU-> ...
See https://github.com/df8oe/UHSDR/wiki/Windows-10-x64-Compiler-Setup-and-Build-Environment#setting-up-everything-in-eclipse. Basically applies to Linux as well. You don't need to set the build tools path normally, these are standard linux tools.

73
Danilo
Logged
Pages: [1] Go Up Print 
Diskussions- und Newsboard des DARC-Ortsverbandes I40  |  allgemeine Kategorie  |  UHSDR Firmware (Moderators: DF8OE, DL1PQ)  |  Topic: gcc-8-branch revision 267074 <- zurück vorwärts ->
Jump to: 


Login with username, password and session length

 Es wird die Verwendung von Browsern die auf der "Blink"-Engine basieren und mindestens
1024x768 Pixel Bildschirmauflösung für die beste Darstellung empfohlen
 
Amateurfunk Die Beiträge sind, sofern nicht anders vermerkt, unter der folgenden Lizenz veröffentlicht:
GNU Free Documentation License 1.3 GNU Free Documentation License 1.3
verbindet!
Powered by MySQL Powered by PHP Diskussions- und Newsboard des DARC-Ortsverbandes I40 | Powered by YaBB SE
© 2001-2004, YaBB SE Dev Team. All Rights Reserved.
- modified by Andreas Richter (DF8OE)
Impressum & Disclaimer
Valid XHTML 1.0! Valid CSS!