OpenCores
no use no use 1/1 no use no use
Is cygwin toolchain working properly
by Unknown on Dec 11, 2004
Not available!
Hi, I just download the cygwin toolchain from the opencores web, and
try it with the "Hello-UART" test made by Damjan Lampret. During make,
howere, it gives some errors as:
reset.S.5: Warning: rest of line ignored; first ignored character is '.'
reset.S.12: Error: invalid character '.' in mnemonic
..

So is the cygwin toolchain working properly. Does anyone test it ?

thanks
Is cygwin toolchain working properly
by jcastillo on Dec 11, 2004
jcastillo
Posts: 32
Joined: Jun 29, 2004
Last seen: Dec 21, 2021
Hello: That is because binutils are not correctly installed or they are not in the PATH. Regards Javier Castillo jcastillo@opensocdesign.com -----Mensaje original----- De: openrisc-bounces@opencores.org [mailto:openrisc-bounces@opencores.org] En nombre de zhang_lsv@yahoo.com Enviado el: sábado, 11 de diciembre de 2004 1:46 Para: openrisc@opencores.org Asunto: [openrisc] Is cygwin toolchain working properly Hi, I just download the cygwin toolchain from the opencores web, and try it with the "Hello-UART" test made by Damjan Lampret. During make, howere, it gives some errors as: reset.S.5: Warning: rest of line ignored; first ignored character is '.' reset.S.12: Error: invalid character '.' in mnemonic .. So is the cygwin toolchain working properly. Does anyone test it ? thanks _______________________________________________ http://www.opencores.org/mailman/listinfo/openrisc
Is cygwin toolchain working properly
by jcastillo on Dec 11, 2004
jcastillo
Posts: 32
Joined: Jun 29, 2004
Last seen: Dec 21, 2021
Hello: That is because binutils are not correctly installed or they are not in the PATH. Regards Javier Castillo jcastillo@opensocdesign.com -----Mensaje original----- De: openrisc-bounces@opencores.org [mailto:openrisc-bounces@opencores.org] En nombre de zhang_lsv@yahoo.com Enviado el: sábado, 11 de diciembre de 2004 1:46 Para: openrisc@opencores.org Asunto: [openrisc] Is cygwin toolchain working properly Hi, I just download the cygwin toolchain from the opencores web, and try it with the "Hello-UART" test made by Damjan Lampret. During make, howere, it gives some errors as: reset.S.5: Warning: rest of line ignored; first ignored character is '.' reset.S.12: Error: invalid character '.' in mnemonic .. So is the cygwin toolchain working properly. Does anyone test it ? thanks _______________________________________________ http://www.opencores.org/mailman/listinfo/openrisc
Is cygwin toolchain working properly
by Unknown on Dec 13, 2004
Not available!
Hi, Javier, Thank you for the reply. The package I downloaded http://www.opencores.org/projects.cgi/web/or1k/or1k-bin/or32-uclinux- 2003-04-13.cygwin.tar.gz contains all the binutil tools such as or32-uclinux-ar, -as. And I do set the path as required 'PATH=$PATH:/opt/or32-uclinux/bin' But when I compile any simple c program by typing or32-uclinux-gcc -g -c ..., it always gives me some errors like invalid character '.' in mnemonic So which binutil tool may cause this problem ? thanks zhang ----- Original Message ----- From: jcastillojcastillo@o...> To: Date: Sat Dec 11 13:52:05 CET 2004 Subject: [openrisc] Is cygwin toolchain working properly
Hello: That is because binutils are not correctly installed or they are not in the PATH. Regards Javier Castillo jcastillo@o... -----Mensaje original----- De: openrisc-bounces@o... [mailto:openrisc-bounces@o...] En nombre de zhang_lsv@y... Enviado el: sábado, 11 de diciembre de 2004 1:46 Para: openrisc@o... Asunto: [openrisc] Is cygwin toolchain working properly Hi, I just download the cygwin toolchain from the opencores web, and try it with the "Hello-UART" test made by Damjan Lampret. During make, howere, it gives some errors as: reset.S.5: Warning: rest of line ignored; first ignored character is '.' reset.S.12: Error: invalid character '.' in mnemonic .. So is the cygwin toolchain working properly. Does anyone test it ? thanks _______________________________________________ http://www.opencores.org/mailman/listinfo/openrisc


Is cygwin toolchain working properly
by Unknown on Dec 13, 2004
Not available!
Zhang, I believe that problem is from the assembler (gas). Thanks, Balaji V. Iyer. zhang_lsv@yahoo.com said:
Hi, Javier, Thank you for the reply. The package I downloaded http://www.opencores.org/projects.cgi/web/or1k/or1k-bin/or32-uclinux- 2003-04-13.cygwin.tar.gz contains all the binutil tools such as or32-uclinux-ar, -as. And I do set the path as required 'PATH=$PATH:/opt/or32-uclinux/bin' But when I compile any simple c program by typing or32-uclinux-gcc -g -c ..., it always gives me some errors like invalid character '.' in mnemonic So which binutil tool may cause this problem ? thanks zhang ----- Original Message ----- From: jcastillojcastillo@o...> To: Date: Sat Dec 11 13:52:05 CET 2004 Subject: [openrisc] Is cygwin toolchain working properly
Hello: That is because binutils are not correctly installed or they are not in the PATH. Regards Javier Castillo jcastillo@o... -----Mensaje original----- De: openrisc-bounces@o... [mailto:openrisc-bounces@o...] En nombre de zhang_lsv@y... Enviado el: sábado, 11 de diciembre de 2004 1:46 Para: openrisc@o... Asunto: [openrisc] Is cygwin toolchain working properly Hi, I just download the cygwin toolchain from the opencores web, and try it with the "Hello-UART" test made by Damjan Lampret. During make, howere, it gives some errors as: reset.S.5: Warning: rest of line ignored; first ignored character is '.' reset.S.12: Error: invalid character '.' in mnemonic .. So is the cygwin toolchain working properly. Does anyone test it ? thanks _______________________________________________ http://www.opencores.org/mailman/listinfo/openrisc
_______________________________________________ http://www.opencores.org/mailman/listinfo/openrisc




Is cygwin toolchain working properly
by Unknown on Dec 13, 2004
Not available!
Yes, I have the same suspicion. Who could help me to generate a correct one ? Nowadays the opencore CVS is not stable. I cannot even download a single directory from it. If anyone has the working cygwin exe, I am very appreciated if he could share it to me. Or if he has the whole downloaded package for or1k toolchain, it is also very helpful ... Thanks in advance. zhang ----- Original Message ----- From: Balaji V. Iyerbviyer@n...> To: Date: Mon Dec 13 21:38:28 CET 2004 Subject: [openrisc] Is cygwin toolchain working properly
Zhang, I believe that problem is from the assembler (gas). Thanks, Balaji V. Iyer. zhang_lsv@y... said:
> Hi, Javier,
>
> Thank you for the reply. The package I downloaded
>
http://www.opencores.org/projects.cgi/web/or1k/or1k-bin/or32-

uclinux-
> 2003-04-13.cygwin.tar.gz
>
> contains all the binutil tools such as or32-uclinux-ar, -as.

And I do set
> the path as required
> 'PATH=$PATH:/opt/or32-uclinux/bin'
>
> But when I compile any simple c program by typing
> or32-uclinux-gcc -g -c ..., it always gives me some errors

like
> invalid character '.' in mnemonic > > So which binutil tool may cause this problem ? > > thanks > > zhang > > ----- Original Message ----- > From: jcastillojcastillo@o...> > To: > Date: Sat Dec 11 13:52:05 CET 2004 > Subject: [openrisc] Is cygwin toolchain working properly >
> Hello:
>
> That is because binutils are not correctly installed or

they are
> not in the > PATH. > Regards > Javier Castillo > jcastillo@o... > -----Mensaje original----- > De: openrisc-bounces@o... > [mailto:openrisc-bounces@o...] > En nombre de zhang_lsv@y... > Enviado el: sábado, 11 de diciembre de 2004 1:46 > Para: openrisc@o... > Asunto: [openrisc] Is cygwin toolchain working properly > Hi, I just download the cygwin toolchain from the

opencores web,
> and
> try it with the "Hello-UART" test made by Damjan

Lampret.
> During make,
> howere, it gives some errors as:
> reset.S.5: Warning: rest of line ignored; first ignored

character
> is '.'
> reset.S.12: Error: invalid character '.' in mnemonic
> ..
> So is the cygwin toolchain working properly. Does anyone

test it ?
> thanks > _______________________________________________ > http://www.opencores.org/mailman/listinfo/openrisc > >
> _______________________________________________ > http://www.opencores.org/mailman/listinfo/openrisc >




Is cygwin toolchain working properly
by Unknown on Dec 13, 2004
Not available!
Zhang, The problem is that it is not able to find the path for the gas...check how you set your path. Also google a little, this way you can find some hlep about how other people have set up cross compilers. A keyword to search with be crossgcc. THis should get you started in your journey. Thanks, -Balaji V. Iyer. zhang_lsv@yahoo.com said:
Yes, I have the same suspicion. Who could help me to generate a correct one ? Nowadays the opencore CVS is not stable. I cannot even download a single directory from it. If anyone has the working cygwin exe, I am very appreciated if he could share it to me. Or if he has the whole downloaded package for or1k toolchain, it is also very helpful ... Thanks in advance. zhang ----- Original Message ----- From: Balaji V. Iyerbviyer@n...> To: Date: Mon Dec 13 21:38:28 CET 2004 Subject: [openrisc] Is cygwin toolchain working properly
Zhang, I believe that problem is from the assembler (gas). Thanks, Balaji V. Iyer. zhang_lsv@y... said:
> Hi, Javier,
>
> Thank you for the reply. The package I downloaded
>
http://www.opencores.org/projects.cgi/web/or1k/or1k-bin/or32-

uclinux-
> 2003-04-13.cygwin.tar.gz
>
> contains all the binutil tools such as or32-uclinux-ar, -as.

And I do set
> the path as required
> 'PATH=$PATH:/opt/or32-uclinux/bin'
>
> But when I compile any simple c program by typing
> or32-uclinux-gcc -g -c ..., it always gives me some errors

like
> invalid character '.' in mnemonic > > So which binutil tool may cause this problem ? > > thanks > > zhang > > ----- Original Message ----- > From: jcastillojcastillo@o...> > To: > Date: Sat Dec 11 13:52:05 CET 2004 > Subject: [openrisc] Is cygwin toolchain working properly >
> Hello:
>
> That is because binutils are not correctly installed or

they are
> not in the > PATH. > Regards > Javier Castillo > jcastillo@o... > -----Mensaje original----- > De: openrisc-bounces@o... > [mailto:openrisc-bounces@o...] > En nombre de zhang_lsv@y... > Enviado el: sábado, 11 de diciembre de 2004 1:46 > Para: openrisc@o... > Asunto: [openrisc] Is cygwin toolchain working properly > Hi, I just download the cygwin toolchain from the

opencores web,
> and
> try it with the "Hello-UART" test made by Damjan

Lampret.
> During make,
> howere, it gives some errors as:
> reset.S.5: Warning: rest of line ignored; first ignored

character
> is '.'
> reset.S.12: Error: invalid character '.' in mnemonic
> ..
> So is the cygwin toolchain working properly. Does anyone

test it ?
> thanks > _______________________________________________ > http://www.opencores.org/mailman/listinfo/openrisc > >
> _______________________________________________ > http://www.opencores.org/mailman/listinfo/openrisc >


_______________________________________________ http://www.opencores.org/mailman/listinfo/openrisc




Is cygwin toolchain working properly
by Unknown on Dec 14, 2004
Not available!
Hi, Matjaz, Attached is the .S file and the original .c file. The program is only for testing purpose with performing any meaningful work. thanks ! zhang /* add.c */ int main (void) { int add1, add2; int sum ; add1 = 1 ; add2 = 3 ; sum = add1 + add2 ; return 0; } ######### add.s ############# .file "add.c" .stabs "/cygdrive/c/data/processor/or1k/toolchain/test/add/",100,0,0,. Ltext0 .stabs "add.c",100,0,0,.Ltext0 .text .Ltext0: .stabs "gcc2_compiled.",60,0,0,0 .stabs "int:t(0,1)=r(0,1);- 2147483648;2147483647;",128,0,0,0 .stabs "char:t(0,2)=r(0,2);0;127;",128,0,0,0 .stabs "long int:t(0,3)=r(0,3);- 2147483648;2147483647;",128,0,0,0 .stabs "unsigned int:t(0,4)=r (0,4);0000000000000;0037777777777;",128,0,0,0 .stabs "long unsigned int:t(0,5)=r (0,5);0000000000000;0037777777777;",128,0,0,0 .stabs "long long int:t(0,6)=@s64;r (0,6);01000000000000000000000;0777777777777777777777;",128,0,0,0 .stabs "long long unsigned int:t(0,7)=@s64;r (0,7);0000000000000;01777777777777777777777;",128,0,0,0 .stabs "short int:t(0,8)=@s16;r(0,8);- 32768;32767;",128,0,0,0 .stabs "short unsigned int:t(0,9)=@s16;r (0,9);0;65535;",128,0,0,0 .stabs "signed char:t(0,10)=@s8;r(0,10);- 128;127;",128,0,0,0 .stabs "unsigned char:t(0,11)=@s8;r(0,11);0;255;",128,0,0,0 .stabs "float:t(0,12)=r(0,1);4;0;",128,0,0,0 .stabs "double:t(0,13)=r(0,1);8;0;",128,0,0,0 .stabs "long double:t(0,14)=r(0,1);8;0;",128,0,0,0 .stabs "complex int:t(0,15)=s8real:(0,1),0,32;imag: (0,1),32,32;;",128,0,0,0 .stabs "complex float:t(0,16)=r(0,16);8;0;",128,0,0,0 .stabs "complex double:t(0,17)=r(0,17);16;0;",128,0,0,0 .stabs "complex long double:t(0,18)=r(0,18);16;0;",128,0,0,0 .stabs "__builtin_va_list:t(0,19)=*(0,20)=(0,20)",128,0,0,0 .stabs "_Bool:t(0,21)=@s8;-16;",128,0,0,0 .align 4 .proc _main .stabs "main:F(0,1)",36,0,3,_main .global _main .type _main,@function _main: .stabn 68,0,3,.LM1-_main .LM1: # 00111000000100000000000000000000 # gpr_save_area 0 vars 12 current_function_outgoing_args_size 0 l.addi r1,r1,-16 l.sw 0(r1),r2 l.addi r2,r1,16 .LBB2: .stabn 68,0,6,.LM2-_main .LM2: l.addi r3,r0,1 # move immediate l.sw -4(r2),r3 .stabn 68,0,7,.LM3-_main .LM3: l.addi r3,r0,3 # move immediate l.sw -8(r2),r3 .stabn 68,0,8,.LM4-_main .LM4: l.lwz r4,-4(r2) # SI load l.lwz r3,-8(r2) # SI load l.add r3,r4,r3 l.sw -12(r2),r3 .stabn 68,0,9,.LM5-_main .LM5: l.addi r3,r0,0 # move immediate .LBE2: .stabn 68,0,10,.LM6-_main .LM6: l.ori r11,r3,0 # move reg to reg l.lwz r2,0(r1) l.jr r9 l.addi r1,r1,16 .endproc _main .Lfe1: .size _main,.Lfe1-_main .stabs "add1:(0,1)",128,0,4,-4 .stabs "add2:(0,1)",128,0,4,-8 .stabs "sum:(0,1)",128,0,5,-12 .stabn 192,0,0,.LBB2-_main .stabn 224,0,0,.LBE2-_main .Lscope0: .stabs "",36,0,0,.Lscope0-_main .text .stabs "",100,0,0,Letext Letext: .ident "GCC: (GNU) 3.1 20020121 (experimental)"
Is cygwin toolchain working properly
by Unknown on Dec 14, 2004
Not available!
* zhang_lsv@yahoo.com (zhang_lsv@yahoo.com) wrote:
Hi, Javier, Thank you for the reply. The package I downloaded http://www.opencores.org/projects.cgi/web/or1k/or1k-bin/or32-uclinux- 2003-04-13.cygwin.tar.gz contains all the binutil tools such as or32-uclinux-ar, -as. And I do set the path as required 'PATH=$PATH:/opt/or32-uclinux/bin' But when I compile any simple c program by typing or32-uclinux-gcc -g -c ..., it always gives me some errors like invalid character '.' in mnemonic So which binutil tool may cause this problem ?


i'm guessing this might be a problem with newline chars. Could you do

or32-uclinux-gcc -g -S program.c -o program.S

and send me program.S. the binary package you've installed should work and
it's been tested in several installs...

best regards,
p.

no use no use 1/1 no use no use
© copyright 1999-2026 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.