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 » Community » U++ community news and announcements » New experimental Linux/FreeBSD release
Re: New experimental Linux/FreeBSD release [message #53598 is a reply to message #53564] Tue, 14 April 2020 14:23 Go to previous messageGo to next message
amrein is currently offline  amrein
Messages: 278
Registered: August 2008
Location: France
Experienced Member
Today, I share an early version of the new Makefile to get developers opinions.

I'm sharing the Makefile and an empty domake that shows how Makefile will call it.
This domake doesn't do anything so you can type 'make' without worrying. Only 'make clean' target is 'dangerous' here.

Type 'make' to see how it works.
Re: New experimental Linux/FreeBSD release [message #53628 is a reply to message #53598] Thu, 16 April 2020 17:10 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
For what is worth, I have tested nightly posix release with Raspberry PI 3 1GB and raspbian and all works flawlessly. 25 minutes to get theide running.

Building UWord takes about 7:30....

[Updated on: Thu, 16 April 2020 20:48]

Report message to a moderator

icon4.gif  Re: New experimental Linux/FreeBSD release [message #53641 is a reply to message #53424] Sat, 18 April 2020 12:11 Go to previous messageGo to next message
amrein is currently offline  amrein
Messages: 278
Registered: August 2008
Location: France
Experienced Member
Bug. With the new umk, there is no more difference between generated Makefiles:

umk ../uppsrc ide CLANG +POSIX,LINUX -rsM ; mv -f Makefile Makefile.ide.linux
umk ../uppsrc ide CLANG +POSIX,OSX11 -rsM ; mv -f Makefile Makefile.ide.osx11
umk ../uppsrc ide CLANG +POSIX,WIN32 -rsM ; mv -f Makefile Makefile.ide.win32

md5sum $(ls Makefile.* | sort)
Re: New experimental Linux/FreeBSD release [message #53661 is a reply to message #53641] Sun, 19 April 2020 17:17 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Thats actually bugfix Smile

Previously umk did not differntiate between output binary name and makefile.

To specify makefile name, you now can use M=makefile (https://www.ultimatepp.org/app$ide$umk$en-us.html).

(BTW, I started work on improved commandline, however I expect final product after 2020.1 release).
Re: New experimental Linux/FreeBSD release [message #53665 is a reply to message #53661] Mon, 20 April 2020 07:59 Go to previous messageGo to next message
amrein is currently offline  amrein
Messages: 278
Registered: August 2008
Location: France
Experienced Member
I tested the last rev-14335 on Linux. The -M= option works according to specification but the generated makefiles are still the same.

There are identical, regardless of passed flags (LINUX, X11, WIN32, OSX11):

umk ../uppsrc ide CLANG +POSIX,LINUX     -rs -M=Makefile.ide.LINUX
umk ../uppsrc ide CLANG +POSIX,LINUX,X11 -rs -M=Makefile.ide.LINUX-X11
umk ../uppsrc ide CLANG +POSIX,WIN32     -rs -M=Makefile.ide.WIN32
umk ../uppsrc ide CLANG +POSIX,OSX11     -rs -M=Makefile.ide.OSX11

md5sum Makefile.ide.*



Résultat:
ade7b1a69e50e605b4a113fe761c0d0b  Makefile.ide.LINUX
ade7b1a69e50e605b4a113fe761c0d0b  Makefile.ide.LINUX-X11
ade7b1a69e50e605b4a113fe761c0d0b  Makefile.ide.OSX11
ade7b1a69e50e605b4a113fe761c0d0b  Makefile.ide.WIN32


With an older version, umk rev-14205, the resulting files are differents:

umk.old ../uppsrc ide CLANG +POSIX,LINUX     -rsM ; mv -f Makefile Makefile.ide.LINUX
umk.old ../uppsrc ide CLANG +POSIX,LINUX,X11 -rsM ; mv -f Makefile Makefile.ide.LINUX-X11
umk.old ../uppsrc ide CLANG +POSIX,WIN32     -rsM ; mv -f Makefile Makefile.ide.WIN32
umk.old ../uppsrc ide CLANG +POSIX,OSX11     -rsM ; mv -f Makefile Makefile.ide.OSX11

md5sum Makefile.ide.*



12ee3d49848f69d4034381bebe91a210  Makefile.ide.LINUX
458b67aa2e9f7d652aa6ef4a40cd822c  Makefile.ide.LINUX-X11
7b0ce34377577d122d34ac644d01e99f  Makefile.ide.OSX11
002fd3fecfb6dc4948b497cc7e835fc2  Makefile.ide.WIN32


I searched but couldn't find the bug.

[Updated on: Mon, 20 April 2020 08:21]

Report message to a moderator

Re: New experimental Linux/FreeBSD release [message #53667 is a reply to message #53665] Mon, 20 April 2020 10:39 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
I am sorry for misunderstanding your bug report. Should be now fixed in the trunk.

I have also started printing flags in verbose mode...

Mirek
Re: New experimental Linux/FreeBSD release [message #53703 is a reply to message #53667] Wed, 22 April 2020 18:28 Go to previous messageGo to next message
pvictor is currently offline  pvictor
Messages: 67
Registered: December 2015
Member
Missing } at the end of CtrlCore/UtilX11.cpp (Upp 14346)

Victor
Re: New experimental Linux/FreeBSD release [message #53706 is a reply to message #53703] Wed, 22 April 2020 19:40 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Thank you, fixed...
Re: New experimental Linux/FreeBSD release [message #53708 is a reply to message #53706] Wed, 22 April 2020 23:35 Go to previous messageGo to next message
amrein is currently offline  amrein
Messages: 278
Registered: August 2008
Location: France
Experienced Member
Experimental Linux/FreeBSD/OpenBSD/OSX11 release : http://dl.free.fr/oLYL88VWq

Not official. Only for testing.

This is what I was working on.
It's not so complex and it should work on every POSIX OS. At least on Linux, FreeBSD and OpenBSD.
It also support rpm distribution (with 'rpmbuild -tb upp-14352MS.tar.xz')

(Patch for OpenBSD Package Organizer configs included).

I stop there because I think Mirek wants something simpler, smaller and easier to maintain.
At least, you can use the buildrequires.posix file to enhance the current posix release tarball.

[Updated on: Wed, 22 April 2020 23:53]

Report message to a moderator

Re: New experimental Linux/FreeBSD release [message #53709 is a reply to message #53708] Thu, 23 April 2020 00:56 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
amrein wrote on Wed, 22 April 2020 23:35
Experimental Linux/FreeBSD/OpenBSD/OSX11 release : http://dl.free.fr/oLYL88VWq

Not official. Only for testing.

This is what I was working on.
It's not so complex and it should work on every POSIX OS. At least on Linux, FreeBSD and OpenBSD.
It also support rpm distribution (with 'rpmbuild -tb upp-14352MS.tar.xz')

(Patch for OpenBSD Package Organizer configs included).

I stop there because I think Mirek wants something simpler, smaller and easier to maintain.
At least, you can use the buildrequires.posix file to enhance the current posix release tarball.


Thank you!
Re: New experimental Linux/FreeBSD release [message #53718 is a reply to message #53709] Fri, 24 April 2020 11:57 Go to previous messageGo to next message
amrein is currently offline  amrein
Messages: 278
Registered: August 2008
Location: France
Experienced Member
There's a strange error when I use umk to build theide.
At link time, at the end of the wall build process, it fails saying:


...
Linking...
clang-9: error: unsupported option '--libs'
clang-9: error: unsupported option '--libs'
...
clang-9: error: no such file or directory: '`pkg-config'
clang-9: error: no such file or directory: 'freetype2`'
clang-9: error: no such file or directory: '`pkg-config'
clang-9: error: no such file or directory: 'x11`'
clang-9: error: no such file or directory: '`pkg-config'
clang-9: error: no such file or directory: 'fontconfig`'
...


My command line (fresh build umk rev 14364):

./umk uppsrc ide CLANG -rbs ./theide

[Updated on: Fri, 24 April 2020 12:15]

Report message to a moderator

Re: New experimental Linux/FreeBSD release [message #53720 is a reply to message #53718] Fri, 24 April 2020 16:17 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
amrein wrote on Fri, 24 April 2020 11:57
There's a strange error when I use umk to build theide.
At link time, at the end of the wall build process, it fails saying:


...
Linking...
clang-9: error: unsupported option '--libs'
clang-9: error: unsupported option '--libs'
...
clang-9: error: no such file or directory: '`pkg-config'
clang-9: error: no such file or directory: 'freetype2`'
clang-9: error: no such file or directory: '`pkg-config'
clang-9: error: no such file or directory: 'x11`'
clang-9: error: no such file or directory: '`pkg-config'
clang-9: error: no such file or directory: 'fontconfig`'
...


My command line (fresh build umk rev 14364):

./umk uppsrc ide CLANG -rbs ./theide


Sorry, my mistake. I was adding response file support because of win32 commandline limitation, clashed with ` ` expansions. Will fix ASAP.
Re: New experimental Linux/FreeBSD release [message #53723 is a reply to message #53718] Fri, 24 April 2020 18:00 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Hopefully fixed.
icon14.gif  Re: New experimental Linux/FreeBSD release [message #53727 is a reply to message #53723] Fri, 24 April 2020 19:59 Go to previous message
amrein is currently offline  amrein
Messages: 278
Registered: August 2008
Location: France
Experienced Member
It works again.
Previous Topic: MacOS releases news
Next Topic: umk (small) improvements
Goto Forum:
  


Current Time: Fri Mar 29 02:50:30 CET 2024

Total time taken to generate the page: 0.01680 seconds