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: Compiling, Linking, Debugging of your packages » How do I compile umk.exe without theide (freebsd)?
icon5.gif  How do I compile umk.exe without theide (freebsd)? [message #43252] Mon, 16 June 2014 13:37 Go to next message
rxantos is currently offline  rxantos
Messages: 71
Registered: October 2011
Member
How does one compile umk on a freebsd virtual machine without using theide to do so?

Does anyone have a make or cmake files?

Re: How do I compile umk.exe without theide (freebsd)? [message #43255 is a reply to message #43252] Mon, 16 June 2014 18:48 Go to previous messageGo to next message
dolik.rce is currently offline  dolik.rce
Messages: 1758
Registered: August 2008
Location: Czech Republic
Senior Contributor

rxantos wrote on Mon, 16 June 2014 13:37
How does one compile umk on a freebsd virtual machine without using theide to do so?

Does anyone have a make or cmake files?

Hi rxantos,

There is several options Smile

1) Simplest solution: download nightly tarball from http://www.ultimatepp.org/www$uppweb$nightly$en-us.html. It contains a makefile, which should work on freebsd.

2) Generate a makefile in theide on different machine. This would be actually the same makefile as in 1), just without the sources. This way is probably not as practical, but you can be used for other packages as well...

3) Use FreeBSD ports. There used to be U++ port in devel/upp. It'll be probably some older version, but it should be rather easy to update or you could use the old theide to build a newer one.

4) Last possible way is to use the universal makefile. It should be able to build any package. It is a long time since I haven't test it on any *BSD, but it used to work year or two ago.

Hopefully some of that will work for you Smile

Best regards,
Honza
Re: How do I compile umk.exe without theide (freebsd)? [message #43263 is a reply to message #43252] Wed, 18 June 2014 17:50 Go to previous message
Mindtraveller is currently offline  Mindtraveller
Messages: 916
Registered: August 2007
Location: Russia, Moscow rgn.
Experienced Contributor

I do make U++ based software under FreeBSD for some time. The best way I found is the following scheme:
1) ssh connection to production server (no X, just plain FreeBSD)
2) virtual machine (vmware in my case) with almost the same FreeBSD version as in production server, but with X+Gnome and other development software.
3) The development process and debugging is done under virtual machine. After code is ready, it is exported with Makefile.
4) Using rsync, exported sources are updated in production server.
5) Using ssh, an updated binary is built from new sources in production server.

It actually takes less than 30 seconds to export sources, rsync them to production and start rebuilding there (which is usually quick too).

P.S. Please consider switching from default GCC 4.2.1 to GCC 4.6/4.7 for better U++ compatibility.
Previous Topic: Parse error in debugger
Next Topic: UWord class: link problem
Goto Forum:
  


Current Time: Wed Nov 20 18:16:29 CET 2019

Total time taken to generate the page: 0.01275 seconds