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 » Developing U++ » Bugs (& fixes) » Problem with FreeBSD
Re: Problem with FreeBSD [message #47144 is a reply to message #47124] Wed, 21 December 2016 00:19 Go to previous messageGo to previous message
Sender Ghost is currently offline  Sender Ghost
Messages: 301
Registered: November 2008
Senior Member
I fixed some mentioned issues (the patch attached, based on 10260 revision of uppsrc/ide/Builders/Build.cpp file):
1) Compatibility of build_info target for (BSD) make command:
- Remove usage of many quotes (') and unescaped characters for date command
(e.g. try to run `date '+#define bmYEAR %y%n' '#define bmMONTH %-m'` in console)

2) Parallel build:
- Add "build_info" target as first dependency to $(OutFile), instead of "prepare" target

Also I added following changes:
- Creation of build_info.h file as atomic operation
- Add removal of available build_info.h file for clean target

Overall, this allows to use parallel build with using make command. For example: make -j3

There is other possible issue, related to usage of theide/umk compiled before 9813 revision for export of U++ project(s), which uses C++11 features. There is a patch in 9813 revision (c4fa531) for this. Manual solution is to add -std=c++0x (or other) to CXXFLAGS of generated Makefile.

Edit: The attached patch was applied in 10564 revision (da2eaf7).
  • Attachment: uppsrc.diff
    (Size: 1.66KB, Downloaded 280 times)

[Updated on: Wed, 21 December 2016 16:33]

Report message to a moderator

 
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: Since Raspberry have not RTC clock, I propose add SetTime functionality
Next Topic: int64 in JSON
Goto Forum:
  


Current Time: Fri Jun 06 12:37:37 CEST 2025

Total time taken to generate the page: 0.06000 seconds