Home » Developing U++ » Releasing U++ » U++ as .lib
Re: U++ as .lib [message #11747 is a reply to message #11743] |
Mon, 24 September 2007 19:57 |
sergei
Messages: 94 Registered: September 2007
|
Member |
|
|
mr_ped wrote on Mon, 24 September 2007 18:35 | Good point about .upp files.
IMHO processing the .upp files directly trough (GNU) Makefile string manipulation functions may be possible (but pushing it to the limit - if possible).
Usually pretty often things like perl scripts are used, but that's adding another dependency, and I don't like such idea.
Under common posix/linux shell environment there's always good old sed and similar, but I have no idea how to process such things under bare windows.
|
The only thing definitely present on Windows is .bat (batches). But processing strings in batches is true hell (there is replace, but no way to tokenize), and is probably very slow too. There are also .vbs (VB scripts), but these could be disabled due to security risks (high likeness of them being viruses). Other scripts would either require some dependency or have to be compiled to exe - not much better than a dedicated C++ program...
OTOH, why not use a C/C++ program for Windows (amd maybe OSX), and use scripts for Linux/Posix (AFAIK it's next to impossible to precompile a binary to support all distros)? Or write something in plain C/C++, to be compileable with GCC anywhere?
Edit: Thinking of it, pkggen uses the U++ package headers it creates. So, if it's run the first time on Windows like pkggen.exe LINUX POSIX (or whatever other flags are required), the resulting source tree should be all that is required to compile pkggen from source on Linux.
[Updated on: Mon, 24 September 2007 20:56] Report message to a moderator
|
|
|
|
|
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: Mon May 06 16:17:26 CEST 2024
Total time taken to generate the page: 0.02080 seconds
|