News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Making a automake like tar file

Started by LonelySTar, November 30, 2005, 01:37:59 AM

Previous topic - Next topic

LonelySTar

Hello together,
Is it possible to export a project into a automake like tar file? So that the packet can bes installed doing:
tar xvzf ...
./configure
make
make install
???
Thanks,
Nathan

LonelySTar

Mmhh ... It says, that with the new version, C::B uses automake for non-windows platforms (I am using Linux). But I can not find any automake files in the project directorie...???

yop

The source distribution of codeblocks for linux uses automake to build install it. When installed you can forget autotools, codeblocks generates command line arguments for the compiler and invokes it one command at a time.
Life would be so much easier if we could just look at the source code.

takeshimiya


Urxae

Quote from: Takeshi Miya on November 30, 2005, 09:06:32 PM
And you can generate a makefile.
Isn't that disabled in current SVN because it was way outdated and didn't work properly anymore?

LonelySTar

I have somewhere read of a scons plugin. Does it exist?

rickg22


LonelySTar

Mmmh ... ok. Is anybody doing a cross-platform project  distributed as source here?
I mean, I have a atotoolset project, and a I am thinking of using C::B. Is there an elegant way?

Urxae

#8
Quote from: LonelySTar on November 30, 2005, 10:28:31 PM
Well, there's Code::Blocks itself, of course. Only available as source and Windows binaries. Unfortunately they don't use autotools in any elegant way as far as I can tell, they just update the files manually (and, as it seems from reading the Unix/Linux boards, usually a bit late Rolling Eyes)...

Unfortunately they don't use autotools in any elegant way as far as I can tell, they just update the files manually (and, as it seems from reading the Unix/Linux boards, usually a bit late :roll:)...

rickg22

Quote from: Urxae on November 30, 2005, 10:49:54 PM
Unfortunately they don't use autotools in any elegant way as far as I can tell, they just update the files manually (and, as it seems from reading the Unix/Linux boards, usually a bit late :roll:)...

Urxae: That gives me a GREAT idea! How about adding, besides "generate makefile", a "generate autotools files"?

P.S. I was supposed to quote you but it seems i messed up and edited YOUR post instead. Sorry :oops: but it's fixed now.

mandrav

Quote from: Urxae on November 30, 2005, 10:49:54 PM
Unfortunately they don't use autotools in any elegant way as far as I can tell, they just update the files manually (and, as it seems from reading the Unix/Linux boards, usually a bit late :roll:)...

:|
Be patient!
This bug will be fixed soon...

Urxae

#11
Quote from: rickg22 on November 30, 2005, 11:00:37 PM
Quote from: Urxae on November 30, 2005, 10:49:54 PM
Unfortunately they don't use autotools in any elegant way as far as I can tell, they just update the files manually (and, as it seems from reading the Unix/Linux boards, usually a bit late :roll:)...

Urxae: That gives me a GREAT idea! How about adding, besides "generate makefile", a "generate autotools files"?
I was thinking after I posted that: "that might be an idea for a plugin, though"...

Quote
P.S. I was supposed to quote you but it seems i messed up and edited YOUR post instead. Sorry :oops: but it's fixed now.
hehe... no problem, looks intact except for the 'edited by rickg22' part :).


Quote from: mandrav on November 30, 2005, 11:32:35 PM
Quote from: Urxae on November 30, 2005, 10:49:54 PM
Unfortunately they don't use autotools in any elegant way as far as I can tell, they just update the files manually (and, as it seems from reading the Unix/Linux boards, usually a bit late :roll:)...

:|
Not that I personally mind, I use C::B itself to compile anyway.
Just my conclusions drawn from the forum spamming generated whenever files are added to the project...
Feel free to consider it motivation to automate this through a plugin or C::B change though ;). Or perhaps to make it part of the big compiler plugin overhaul you guys have planned post-1.0 if that'll work out better.