Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Installation, Compiling and Running of theide » [fatal error:] on Centos 7
Re: [fatal error:] on Centos 7 [message #47216 is a reply to message #47212] Thu, 29 December 2016 13:17 Go to previous messageGo to previous message
amrein is currently offline  amrein
Messages: 278
Registered: August 2008
Location: France
Experienced Member
To get theide and umk working out of the box, upp.spec needs to create its own GCC.bm.

The main differences between GCC.bm created by upp.spec and the one created inside the domake script explain why:

* The upp.spec file add this line to force the use of g++ or theide won't work out of the box:

COMPILER = "g++";

* The upp.spec force the use of libpng and libfreetype on Fedora to prevent error while linking. On Fedora:

DEBUG_LINK = "-lpng16 -lfreetype";
RELEASE_LINK = "-Wl,--gc-sections -lpng16 -lfreetype";

* The upp.spec replace the "zero" debugger with "gdb" because I can't find any "zero" debugger on main stream Linux rpm distributions:

DEBUGGER = "gdb";

* The upp.spec create the INCLUDE and LIB variables using pkg-config because includes and libraries are Linux distribution dependent.

INCLUDE = "$INCLUDEDIR";
LIB = "$LIBDIR";

* The upp.spec file doesn't force gcc to use c++11 and so the line << COMMON_CPP_OPTIONS = "-std=c++11"; >> is not included.


In fact, the best way for this would be to take the time to think about what's the best way to (1) package upp source (2) build upp (3) test upp. But not just for rpm based distributions but for all supported platforms (Linux, Windows, MacOS, ...). I think about templates, multi-threads compilation, virtual machines compiling last upp source (openSUSE Build Service for example), and more.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Can Ultimate++ be installed on Beaglebone Black running on Debian OS?
Next Topic: Can't compile U++ on most Linux distributions
Goto Forum:
  


Current Time: Tue May 14 01:40:35 CEST 2024

Total time taken to generate the page: 0.02491 seconds