Re: [cc65] Problems with va_copy

From: Spiro Trikaliotis <ml-cc651trikaliotis.net>
Date: 2005-12-11 15:21:29
Hello Uz,

* On Sun, Dec 11, 2005 at 02:53:24PM +0100 Ullrich von Bassewitz wrote:
 
> I'm no friend of autoconf, because it is just a way of #ifdef
> management. It encourages people to write unportable programs, by
> supplying an automated way to manage all the needed #ifdefs.

Well, I find it very convenient if you want to find out of specific
properties of a machine. For example, if some libraries are available or
not, or if the compiler supports this or that.

As always, this tool can be good is used properly, and bad if used in
places where it should not.

> Apart from that, autoconf is not available on all platforms,

this is true.

> and there are many operating systems that don't have it by default
> (which means it has to be compiled and installed).

No. The machine just has to be able to run the generated configure
scripts, nothing more.
 
> There are reserved namespaces (for example, identifiers with two leading
> underscores). The compiler is free to use these reserved namespaces for its
> own identifiers. The compiler is not allowed to define identifiers that are in
> the user namespace.

Ok, good. Anyway, while this is the theory, we all know that compilers
have always polluted the namespaces with their own extensions.

> > Is this change already in today's snapshot?
> 
> I've started a snapshot build manually some time ago, and it's
> finished now, so the current snapshot does contain the changes.

Ok. Here are the results of
  cc65-snapshot-sources-2.11.9.20051211.tar.bz2 (13:04 CET)

- Debian/Sarge (Stable): works
  $ gcc --version
  gcc (GCC) 4.0.2 (Debian 4.0.2-2)

  It works if I generate debian packages, as well as started with 
  make -f make/gcc.mak

- Cygwin:
  The build stops with:
  make[4]: Leaving directory `/home/trikalio/cc65-snapshot-2.11.9.20051211/libsrc/geos/system'
  ar65: Error: `../geos.lib' is not a valid library file
  ar65: Error: `../geos.lib' is not a valid library file
  ar65: Error: `../geos.lib' is not a valid library file
  ar65: Error: `../geos.lib' is not a valid library file
  ar65: Error: `../geos.lib' is not a valid library file
  ar65: Error: `../geos.lib' is not a valid library file
  ar65: Error: `../geos.lib' is not a valid library file
  ar65: Error: `../geos.lib' is not a valid library file
  ar65: Error: `../geos.lib' is not a valid library file
  ar65: Error: `../geos.lib' is not a valid library file
  ar65: Error: `../geos.lib' is not a valid library file
  ar65: Error: `../geos.lib' is not a valid library file
  ar65: Error: `../geos.lib' is not a valid library file
  make[3]: *** [all] Error 1
  make[3]: Leaving directory `/home/trikalio/cc65-snapshot-2.11.9.20051211/libsrc/geos'
  make[2]: *** [geoslib] Error 1
  make[2]: Leaving directory `/home/trikalio/cc65-snapshot-2.11.9.20051211/libsrc'
  make[1]: *** [all] Error 1
  make[1]: Leaving directory `/home/trikalio/cc65-snapshot-2.11.9.20051211/libsrc'
  make: *** [libs] Error 2

  The gcc version:
  $ gcc --version
  gcc (GCC) 3.3.1 (cygming special)

Regards,
   Spiro.

-- 
Spiro R. Trikaliotis
http://www.trikaliotis.net/
http://cbm4win.sf.net/
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun Dec 11 15:21:49 2005

This archive was generated by hypermail 2.1.8 : 2005-12-11 15:21:51 CET