Home » Developing U++ » Releasing U++ » U++ as .lib
Re: U++ as .lib [message #11738 is a reply to message #11736] |
Mon, 24 September 2007 13:00 |
sergei
Messages: 94 Registered: September 2007
|
Member |
|
|
mr_ped wrote on Mon, 24 September 2007 11:54 | makefiles are firstly make-dependent.
The system/compiler is issue which can be solved by creating some configuration script and a modular universal makefile. (but it's not a simple thing to do)
Common linux way of building binaries is "configure && make && make install", i.e. the first step is to set up makefile for current system, and to switch on/off modules as you wish it.
So actually you really are reinventing makefiles.
What platforms do you want libs for?
So far mingw+linux+OSX/X11 can work with same (nasty) universal autoconf+makefile.
The other one is needed for MSC.
pkggen.exe looks to me less portable. Some makefile+platforms guru would do this very likely in shorter time.
|
pkggen.exe is written in U++, source attached. So I believe it should be possible to precompile it as binary for the main platforms.
I agree that CMake or some other make system, if cross-platform/compiler and working, would be a better solution. Yet the configure/make script will look rather ugly, right? Plus, pkggen scans .upp sources for file lists and dependencies. E.g. unless a package is added/removed, nothing has to be modified, neither pkggen.exe nor pkggen.txt. With CMake/configure, I think any modification to a package (add/remove file/dependency) will have to be represented in the script.
The solution IMHO should be a "minimal maintenance" one - one that would allow working on U++ with little regard to the libs. Unless CMake/configure can handle change of filelist, they don't really qualify. A combination of them + .upp scanner could work, though.
Note: I never used CMake/configure, so I might be wrong.
|
|
|
|
|
U++ as .lib
By: mirek on Thu, 20 September 2007 15:07
|
|
|
Re: U++ as .lib
By: sergei on Thu, 20 September 2007 15:28
|
|
|
Re: U++ as .lib
By: mirek on Thu, 20 September 2007 17:00
|
|
|
Re: U++ as .lib
By: sergei on Sat, 22 September 2007 17:44
|
|
|
Re: U++ as .lib
By: sergei on Sat, 22 September 2007 22:22
|
|
|
Re: U++ as .lib
By: cbpporter on Sun, 23 September 2007 00:04
|
|
|
Re: U++ as .lib
By: sergei on Sun, 23 September 2007 01:43
|
|
|
Re: U++ as .lib
By: cbpporter on Sun, 23 September 2007 10:19
|
|
|
Re: U++ as .lib
By: mirek on Sun, 23 September 2007 11:04
|
|
|
Re: U++ as .lib
By: mirek on Sun, 23 September 2007 14:11
|
|
|
Re: U++ as .lib
By: sergei on Sun, 23 September 2007 16:46
|
|
|
Re: U++ as .lib
By: mirek on Sun, 23 September 2007 19:04
|
|
|
Re: U++ as .lib
By: sergei on Sun, 23 September 2007 19:30
|
|
|
Re: U++ as .lib
By: mirek on Sun, 23 September 2007 19:55
|
|
|
Re: U++ as .lib
By: sergei on Sun, 23 September 2007 20:05
|
|
|
Re: U++ as .lib
By: mirek on Sun, 23 September 2007 21:34
|
|
|
Re: U++ as .lib
By: sergei on Sun, 23 September 2007 21:59
|
|
|
Re: U++ as .lib
By: mirek on Sun, 23 September 2007 22:21
|
|
|
Re: U++ as .lib
By: sergei on Sun, 23 September 2007 23:12
|
|
|
Re: U++ as .lib
By: mr_ped on Mon, 24 September 2007 11:54
|
|
|
Re: U++ as .lib
By: cbpporter on Mon, 24 September 2007 12:14
|
|
|
Re: U++ as .lib
By: sergei on Mon, 24 September 2007 13:00
|
|
|
Re: U++ as .lib
By: mr_ped on Mon, 24 September 2007 18:35
|
|
|
Re: U++ as .lib
By: sergei on Mon, 24 September 2007 19:57
|
Goto Forum:
Current Time: Tue May 07 01:28:41 CEST 2024
Total time taken to generate the page: 0.02186 seconds
|