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

Re: New gcc 2.8.1



Hello,

I think you should add :
%{m68060:-D__M68020__ -D__mc68020__ %{!ansi:-Dmc68020}}
%{mshort:-D__MSHORT__}
to the line about cpp for 68060 compilation.

Other thing :
With this version of GCC I can't have the '\n' character to be
interpreted
correctly. It should be CR/LF sequence ("\015\012") but it's not when
compiling. I tried to make something using the UNIXMODE environment
variable set to ".,/d". I don't know precisely what is the meaning
but it should do it. When compiling under TOS there's a problem
because the compiler produces LF only. Under N.AES and MINTSHELL
there's no problem because LF is interpreted as '\n'.
The other problem is that if you compile the following program :

main()
	{
	printf("hello world !\n");
	printf("hello world !\n");
	printf("hello world !\n");
	exit(0);
	}

it produces the following output (under TOS) :
hello world !
             hello world !
                          hello world !
That's because '\n' is only LF.
Is there something that I don't know about UNIXMODE ?
What should I do ? I'm wondering ....

Thanks,
Bye for now,

-- Francois LE COAT
Eureka 2.12 Author (2D Graph describer 3D Modeller)
E-mail : mailto:lecoat@ief.u-psud.fr
WEB : http://www.ief.u-psud.fr/~lecoat

Christian Felsch wrote:
> I've upload a new gcc-281 to my server:
> ftp://ftp.rz.tu-harburg.de/pub/software/systems/atari/gnu/gcc/2.8.1/gcc-281a.lzh
> 
> Changes since last version (gcc-281.lzh):
>   - add 68060-support to assembler specs
>   - add the multi-line-macro-patch to cpp
> 
>  Chris.