Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: LonelySTar on November 30, 2005, 01:37:59 am

Title: Making a automake like tar file
Post by: LonelySTar on November 30, 2005, 01:37:59 am
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
Title: Re: Making a automake like tar file
Post by: LonelySTar on November 30, 2005, 08:01:57 pm
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...???
Title: Re: Making a automake like tar file
Post by: yop on November 30, 2005, 08:12:20 pm
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.
Title: Re: Making a automake like tar file
Post by: takeshimiya on November 30, 2005, 09:06:32 pm
And you can generate a makefile.
Title: Re: Making a automake like tar file
Post by: Urxae on November 30, 2005, 09:42:38 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?
Title: Re: Making a automake like tar file
Post by: LonelySTar on November 30, 2005, 10:04:10 pm
I have somewhere read of a scons plugin. Does it exist?
Title: Re: Making a automake like tar file
Post by: rickg22 on November 30, 2005, 10:22:16 pm
I have somewhere read of a scons plugin. Does it exist?

http://forums.codeblocks.org/index.php?topic=593.msg3712#msg3712

and

http://forums.codeblocks.org/index.php/topic,489.0.html

Not a plugin, tho.
Title: Re: Making a automake like tar file
Post by: LonelySTar on November 30, 2005, 10:28:31 pm
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?
Title: Re: Making a automake like tar file
Post by: Urxae on November 30, 2005, 10:49:54 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:)...
Title: Re: Making a automake like tar file
Post by: rickg22 on November 30, 2005, 11:00:37 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.
Title: Re: Making a automake like tar file
Post by: mandrav on November 30, 2005, 11:32:35 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:)...

 :|
Title: Re: Making a automake like tar file
Post by: Urxae on November 30, 2005, 11:50:25 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 :).


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.