compiling in cygwin
Hannes Krueger
Hannes.Krueger at uibk.ac.at
Mon Oct 31 14:17:38 UTC 2005
Hello out there,
maybe somebody could also be interested in compiling minicom on cygwin.
I needed to do this, because we've attached (usb2.0) a nice external
RAID-Controller to a machine, which has to run WinXP (controlling some
scientific intrument). For easy ssh access I've installed cygwin, I like to
use this (via ssh) to check the status of the RAID, which is attached to the
same machine on a serial line.
I took minicom 2.1 source, which needed some small modifications:
1.) there is a directory called "aux" in the sources, this name is not allowed
on a Win system (some special DOS devicename). So I renamed this to "axx",
prior to unpacking the archive on the cygwin machine. Therefore some small
modifications needed for the ./configure file (search for "aux").
2.) compiling was straight forward then, but the linking failed. Linking was
possible by using the following call in "src" (cygncurses... added)
gcc -g -O2 -I../intl -Wall -W -o minicom minicom.o vt100.o config.o \
help.o updown.o util.o dial.o window.o wkeys.o ipc.o windiv.o \
sysdep1.o sysdep1_s.o sysdep2.o rwconf.o main.o file.o getsdir.o \
wildmat.o common.o /bin/cygncurses5.dll ../intl/libintl.a ../lib/libport.a \
-ltermcap
From now on, I'm able to login from anywhere onto this WinXP machine using
cygwin-ssh-server, and I can check the RAID throught serial line using
minicom :-)
best regards
hannes
More information about the minicom-devel
mailing list