Alright, finding no immediate classifications or categories I can really split them into, I find myself needing to organize them by certain spacings, trying to group certain sets together for optimal space concerns.

Other than alphabetics or the order you found them in, is there a specific reason for their current order? If they're out of order it won't be like "oh these should go together because they focus on the same things or some depend on others being already turned on"?

I'll give you a tip, just use the most generic options for the best, most univresal results -especially with CFLAGS. Use -Os for small size, -O3 for faster(but larger) and -O2 for widest compatibility. These settings let gcc itslef help you by figuring out what is best. If you start being specific with -fomit-frame-pointer etc, you'll just wind up creating binaries which run on less hardware -for instance, many of those flags you want to use are incompatible with AMD processors. You can add -pipe and -combine as they speed up compile times without changing the bins. fo LDFLAGS, all you really need to spcecify is -L/path/to/libs and -staic for staically linking binaries when(rarely) wanted. I have a program (src2pkg) which ahs been doing these things for a few years now and has *lots* of users, and I found out that the fancier youz try to be, the less people its' gonna work for. And giving your users a bunch of ways to change these options is just gonna confuse them. for (really) advanced users, leave a way for them to configure these options from the command-line or from a conf file. the best way to allow command-line configuration is to simply do nothinga nd let them pass these flags as environmental variables. Anyone who knows how they work/what they do, will be most comfortable with that anyway.

as far as ordering the only thing that I am certain of is that if you specify two opposite flags then the latter one will be used (for example if you specify -fno-PIC and later -fPIC then it will be compiled with Position Independent Code)_________________Web Programming - Pet Packaging 100 & 101

I'll give you a tip, just use the most generic options for the best, most univresal results -especially with CFLAGS. Use -Os for small size, -O3 for faster(but larger) and -O2 for widest compatibility. These settings let gcc itslef help you by figuring out what is best. If you start being specific with -fomit-frame-pointer etc, you'll just wind up creating binaries which run on less hardware -for instance, many of those flags you want to use are incompatible with AMD processors. You can add -pipe and -combine as they speed up compile times without changing the bins. fo LDFLAGS, all you really need to spcecify is -L/path/to/libs and -staic for staically linking binaries when(rarely) wanted. I have a program (src2pkg) which ahs been doing these things for a few years now and has *lots* of users, and I found out that the fancier youz try to be, the less people its' gonna work for. And giving your users a bunch of ways to change these options is just gonna confuse them. for (really) advanced users, leave a way for them to configure these options from the command-line or from a conf file. the best way to allow command-line configuration is to simply do nothinga nd let them pass these flags as environmental variables. Anyone who knows how they work/what they do, will be most comfortable with that anyway.

That's really odd, I use an AMD and most of the stuff in PCompile has run on mine. Which flags are you referring to amigo?

And I'm aiming to make it so that the average user is instructed to stick to the first two tabs or less, as the CFLAGS/LDFLAGS options are mainly there for maintainers to choose certain options as needed without having to type them in, just go to the tab, check if it's there, if not type it in, if it is check or uncheck it, and move on.

Most of the defaults are, as techno said, designed to work 99% of the time to make the code smaller and faster at a good ratio to each other, since we're usually dealing with old and small computers here.

Besides, it's fun!... okay I'm lying, I hate layout design, but it's not like getting teeth pulled, plus it leads to coding, which to me IS fun.

Amigo's src2pkg is a really useful tool and great for building a majority of packages. I had initially planned to use it as the backend of Pcompile, but wanted something a bit simpler that a new user would not get overwhelmed by but an advanced user could still use in their toolbag. I hope that it will be a useful learning tool to help with bringing the beginners to that advanced level. How many times do we see on the forums ./configure, make, makeinstall or for pets ./configure, make, new2dir makeinstall. Nobody ever takes that extra step to explain anything further (aside from the occasional ./configure --help)

btw -fomit-frame-pointer is enabled by default on most optimization levels.

speaking of configuration files ... since we are storing all the variables it is a small step to echo them to a file (we are already writing the package db entry to ~/.pcompile.pets <-subject to change to a directory if we will be writing more than one file)_________________Web Programming - Pet Packaging 100 & 101

How many times do we see on the forums ./configure, make, makeinstall or for pets ./configure, make, new2dir makeinstall. Nobody ever takes that extra step to explain anything further (aside from the occasional ./configure --help)

How many times do we see on the forums ./configure, make, makeinstall or for pets ./configure, make, new2dir makeinstall. Nobody ever takes that extra step to explain anything further (aside from the occasional ./configure --help)

If I compile something (lately) I make it a habit to post my "./configure" options if I post the pet. (THIS SHOULD BE COMPULSORY!) This is a good way to tell the more experienced around here what you did. Perhaps, with the pcompile gui that should be a default, ie, save a text file of the configure options within the .pet , considering that this is designed for relative newbys

I have used src2pkg, using SlaxerPup and I thought it was cool. I have tried to use it with mozilla source (compile Firefox or Seamonkey) but it failed, but this was about six months ago and it was a version big_bass posted ... I'll get back on the version.

To compile mozilla with src2pkg, you need to copy in a .mozconfig file or pass a whole bunch of config options.
As far as simplicity, you can't beat src2pkg. More than 80% of what you try to compile and package will be as simple as this:

src2pkg name-of-tarball
or:
src2pkg url-of-tarball
You can't get any simpler than that. And it knows how to handle about 18 different kinds of sources: autoconf, imake, jam, scons, cmake, three kinds of perl modules and so on. Plus it checks for and/or corrects hundreds of common errors in packages like wrong perms, misplaced files/dirs, etc.

Alright, after LOTS of problems compiling different apps because of various nondescript errors (like expected <blah,blah,blah> before <this>) in some programs' makes, I managed to get Transmission to compile as a pet -- is there anyone not currently using or having it installed that would be willing to test it? I can't, I've already got it installed and would hate for it to get wrecked by this pet. <G>

Tried to find something I hadn't been running but EVERYTHING I try to compile application-wise has been failing with errors. I tried one app, and it bitched about libtool, so I install the newest libtool, and boom same problem. Tried another app, it needed some library installed, tried to do that library, it had its OWN dependency list.

I swear to god once Karmic Ubuntu works I'm gonna grab Woof, learn it, and build me a puppy with all the newest libraries and dependencies built in!!!!!! Argh!

After the build was complete I found the files in the right directory in my build directory, but also they were already installed.

How does 2dirs work? Does it create an environment where everything in the prefix is prefixed by the directory for the pet dirs? Or does it let everything install then copy things out of there to put into the right directories?

Alright, nevermind, 2dirs behaves almost exactly like new2dir - without the questions. That's sad. I was hoping for some kind of "capture" where it captures writes and puts them elsewhere. Hmmm, maybe there's a way to do that...

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum