The "Right" compiler

All development related issues welcome

Moderator: Moderator Team

Post Reply
folle_invasato
Posts: 134
Joined: Thu Jan 13, 2005 9:11 pm
Location: Pordenone, Italy

The "Right" compiler

Post by folle_invasato »

What in the "right" version of GCC that should be used when building ReactOS? RosBE comes with 2 version bundled, with version 3.4.5 the build of the current (updated today) trunk fails, with 4.1.2 the build succeeds, but the image produced is unusable (it locks ater the boot in qemu and VPC)..

Thanks in advance for the answers..

Haos
Test Team
Posts: 2954
Joined: Thu Mar 22, 2007 5:42 am
Contact:

Post by Haos »

Currently, 4.1.2 and 4.1.3 are the tested and working versions of GCC.
3.4.5 has some issues and is not working for the last two hundred revisions (more/less).

Regarding the locking issues:

- check the same revision, but an official build from the nightly trunk list. If those issues disappear - there must be something wrong with your source tree/RosBE/building process
- if those issues still happen in official build, be sure to use debugging and write output of com1 port to text file (very easy in Qemu, just add this switch: -serial file:debug.txt
Debug log will be written to debug.txt file,or any other, if you provide different filename). This situation would probably mean that it is your hardware (or hw>qemu interaction) that is causing those lockups. In this situation it`d be best if you visit reactos channel and speak to devs/testers. Probably, the bug will have to be located and filed into bugzilla.

GreatLord
Developer
Posts: 926
Joined: Tue Nov 30, 2004 10:26 am
Location: Sweden

Post by GreatLord »

gcc 3.4.5 is dead in reactos

It mean we do not longer support 3.4.5 we are using 4.1.2 or higher. sorry to say that but we start making our own gcc for windows. we are not longer using mingw 3.4.5, you need gcc 4.1.2 it with some patcher that are not in gcc tree yet. So we have done a nice packet call RosBE with everthing you need. you should try use the lates version and build reactos with.

peat
Posts: 27
Joined: Wed Feb 23, 2005 12:36 pm
Location: Rammenau Germany

Post by peat »

GreatLord wrote:gcc 3.4.5 is dead in reactos

...RosBE with everthing you need. you should try use the lates version and build reactos with.
Is or will there a RosBE for Linux ?

Z98
Release Engineer
Posts: 3379
Joined: Tue May 02, 2006 8:16 pm
Contact:

Post by Z98 »

Colin_Finck, the other release engineer, is working on one. But the nature of software installation on Linux kind of works against that.

Dark SavanT
Posts: 40
Joined: Wed Dec 15, 2004 8:26 pm

Post by Dark SavanT »

http://autopackage.org
maybe, it will be intresting for RosBE.
and AFAIK making deb and/or rpm packages not so difficult...

sorry for bad english...
Beer is not alcohol, ganja is not drug :)

hto
Developer
Posts: 2193
Joined: Sun Oct 01, 2006 3:43 pm

Post by hto »

But the nature of software installation on Linux kind of works against that.
Ship RosBE for linux in the sources.

Carlo Bramix
Posts: 282
Joined: Thu Jan 04, 2007 12:43 am
Location: Italy

Re: The "Right" compiler

Post by Carlo Bramix »

folle_invasato wrote:RosBE comes with 2 version bundled, with version 3.4.5 the build of the current (updated today) trunk fails, with 4.1.2 the build succeeds, but the image produced is unusable (it locks ater the boot in qemu and VPC)
Uh, this is a news for me...
I couldn't imagine that there were some issues with the versions of the compiler.
Although you should be able to get it working with optimizer turned off, it would be nice to understand why it works with a compiler and why it fails with another one.
I don't know, perhaps this may hide something else which could make troubles in the future (may we call it bug?)

Sincerely,

Carlo Bramini.

PeterK
Posts: 168
Joined: Mon Aug 07, 2006 9:24 am

Re: The "Right" compiler

Post by PeterK »

Carlo Bramix wrote:.. it would be nice to understand why it works with a compiler and why it fails with another one ..
Actual sources do only compile with 4.1.2 - this is not a bug.
The older one is simply out of date.

Unfortunately the ReactBE package from
http://www.reactos.org/wiki/index.php/H ... or_Windows
still contains both versions ..

Best regards,
Peter.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest