[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

gcc3.0 i386 developer machine?



Hello,

During the HPPA porting, some problems with my package 'biew' turned up.

However, I believe they have more to do with the compiler (gcc 3.0) than
the platform. To verify this, I'd like to try compiling on a i386
machine with gcc 3.0. I have checked http://db.debian.org/machines.cgi
but all i386 machines are running potato or slink.

I could of course upgrade my own machine, but I fear the library
incompatibities on produced packages and would rather stick to the old
compiler for the time being.

So, does anyone know of an i386 machine running gcc 3.0? :)

If anyone is knowledgeable about changes in gcc, this is what I have
found to cause the problem:

(a header file)
[...]
    #define _INLINES <biewlib/sysdep/##__MACHINE__/_inlines.h>
    #include _INLINES
[...]

(compile command)

$ gcc -Wall -D__HAVE_PRAGMA_PACK__=1 -D__UNIX__ -D__OS__="unix" -Uunix
-D_CURSES_ -DHAVE_SELECT -D__OS_NAME__='"Unix/Curses"'
-D__MACHINE__=generic  -D__CPU_NAME__='"generic"' -D__DEFAULT_DISASM=1
-fno-builtin  -O2 -fomit-frame-pointer -DNDEBUG=1 -I. -c addendum.c -o
addendum.o

(error message)

biewlib/sysdep/_sys_dep.h:30:14: warning: pasting "/" and "__MACHINE__"
does not give a valid preprocessing token
biewlib/sysdep/_sys_dep.h:30:22: biewlib/sysdep/__MACHINE__/__config.h:
No such file or directory


But, if I replace the ##__MACHINE__ macro in the header file with
"generic" (as defined at the compile command line), then the
compilation is successful.

/Stefan



Reply to: