Re: [AD] Stripping libraries

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Eric Botcazou wrote:
> > For the profiling switch, would we make allegro-config --cflags
> > dependent on the libraries argument?  For example, `allegro-config
> > --cflags profile` could include the `-pg' switch.
> 
> I'd rather not pass compiler options behind the back of the user.

On the other hand, if you make this consistent it could be a nice
addition. All compilation lines would look like this:

gcc `allegro-config --cflags $TARGET` *.c
gcc `allegro-config --libs $TARGET` -o prog *.o

where target could be 'release', 'debug' or 'profile'. The -g option
would then of course be included in cflags for debugmode too.

Hein

>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-< 
 Unix is user friendly. It's just very particular about who 
 it's friends are.

 Hein Zelle                     hein@xxxxxxxxxx
	                        http://www.icce.rug.nl/~hein
>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/