maroc81 / picocom

Automatically exported from code.google.com/p/picocom
GNU General Public License v2.0
0 stars 1 forks source link

Problem in executing Picocom #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Hi All,
Please help me in the below issue.
I had built the picocom for beagle board rev-c3 running android.
I had copied the picocom exe to the board & tried to execute.

#CROSS-COMPILE=arm-eabi LDFLAGS=-static make
Above command had build the picocom successfully.

I had tried following commands on the board. 
All are giving same error- "./picocom :1:Syntax Error: "<" unexpected"
#./picocom
#./picocom /dev/ttyUSB0
#./picocom -b 4800 /dev/ttyUSB0

2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by vmadhu...@gmail.com on 20 May 2011 at 11:48

GoogleCodeExporter commented 9 years ago
Sorry, but while compiler have you used?

Original comment by darioiam...@gmail.com on 16 Jul 2011 at 6:08

GoogleCodeExporter commented 9 years ago

Original comment by nick.pat...@gmail.com on 21 Feb 2012 at 6:49

GoogleCodeExporter commented 9 years ago
In order to cross compile successfully, you should:

1) install a toolchain which includes the C-library, as for example:

 https://sourcery.mentor.com/sgpp/lite/arm/portal/release2029

2) include that toolchian bin/ into your PATH

3) change the definition of CC and LD in the Makefile:

CC = arm-none-linux-gnueabi-gcc
...
LD = arm-none-linux-gnueabi-ld

4) in the Makefile, add the -static option:

LDFLAGS = -static

(the debugging option -g is basically useless)

Original comment by ffum...@googlemail.com on 2 Mar 2012 at 5:09