|
|
Home » Developing U++ » U++ Developers corner » POSIX releases...
|
|
|
|
Re: POSIX releases... [message #1411 is a reply to message #1409] |
Thu, 02 March 2006 23:36 |
|
mirek
Messages: 13984 Registered: November 2005
|
Ultimate Member |
|
|
masu wrote on Thu, 02 March 2006 17:28 | Yes, we have to investigate what header files, functions and libraries are needed on the host system and create the mentioned files accordingly.
Theoretically it should be possible to generate them from theIDE, cause all information is there for a given package.
But we must also include the check results into the sources, otherwise the autotool chain does not make sense, cause a config.h and Makefile will be generated from the autotools. And definitions in config.h must be used to differentiate between different platforms.
Matthias
|
Hm... actually, regarding libraries and headers, it is a simple "all or nothing" situation I believe. There is a very limited set of libraries needed to compile, if any of them is missing, compilation is not possible....
Means the only information that is needed
* platform
* CPU type (and perhaps the mode)
As for config.h inclusion, I guess something like
#ifdef AUTOMAKEFILE
#include "Config.h"
#endif
should work?
Mirek
P.S.: I am a bit undereducated here, I never used even the Makefile during my career;) (First Linux IDE was build using remote development capabilities, not makefiles). Do not laugh..
|
|
|
|
|
|
Re: POSIX releases... [message #1464 is a reply to message #1460] |
Sun, 05 March 2006 11:11 |
|
dr_jumba
Messages: 24 Registered: February 2006 Location: Ukraine
|
Promising Member |
|
|
I think the ide with config files is not so bad.
We could make several files such as freebsd.mk.inc, linux.mk.inc, etc. There we could define UPPDIR1, UPPOUT, includes, libs, Outfile and other required stuff.
Regarding U++ home dir, UPP_DIR and others. May be we can provide more flexible and intelligent way for installation?
I propose the following subject to discuss:
When user starts TheIDE for the first time it propose user to select the desired directory (checking the rights) or create a new working directory.
And regarding GCC32.bm. Where should it appear from? I have created it manually and it is still empty.
People on NetBSD have followed the same way, creating it manually
http://www.arilect.com/upp/forum/index.php?t=msg&S=9b572 76efafa5d8c266f16fe31ac191c&th=365&goto=1393#msg_139 3
[Updated on: Sun, 05 March 2006 11:12] Report message to a moderator
|
|
|
|
Re: POSIX releases... [message #1471 is a reply to message #1467] |
Sun, 05 March 2006 21:13 |
|
mirek
Messages: 13984 Registered: November 2005
|
Ultimate Member |
|
|
Just some naive ideas:
* what about providing bash based install script, that would play the role of autoconfig, invoked makefile, gave options to install files, asked questions etc?
* one my related petty idea:
what about creating bash file that actually contains gzipped (or bzipped) content?
I mean, find a way how bash file itself somehow rebuilds archive, decompresses it, then gives installation options (detects platform/CPU, compiles, installs, etc...)?
I would consider that cool - universal, CPU independent, single file installer
Mirek
|
|
|
Goto Forum:
Current Time: Thu Jun 13 05:40:50 CEST 2024
Total time taken to generate the page: 0.01182 seconds
|
|
|