Re: GNU make builtin rules produce linker error due to command line arguments order

2010-04-06 Thread Robrecht Dewaele
Dave Korn wrote: On 07/04/2010 00:24, Robrecht Dewaele wrote: $ LDFLAGS=-lpopt make options Only put flags in LDFLAGS. Put libs in LDLIBS. The default rule is %: %.c # commands to execute (built-in): $(LINK.c) $^ $(LOADLIBES) $(LDLIBS) -o $@ and LINK.c embeds

GNU make builtin rules produce linker error due to command line arguments order

2010-04-06 Thread Robrecht Dewaele
Hello everyone, I'm not sure whether this is a make or a cygwin issue, but it has occured to me only on cygwin, so I thought to ask here first. To illustrate my problem, I have written a little testcase (options.c) which uses libpopt and illustrate how to reproduce the behaviour at the bottom

Re: unable to set icrnl (stty -F /dev/ttyS2 icrnl) for an ftdi device

2010-04-06 Thread Robrecht Dewaele
Christopher Faylor wrote: On Tue, Apr 06, 2010 at 10:17:48AM +0200, Corinna Vinschen wrote: On Apr 4 01:55, Robrecht Dewaele wrote: Hello everyone, I'm using cygwin 1.7.2 on Windows 7, and I am unable to set the icrnl flag for /dev/ttyS2 as shown at the bottom of my message

Re: unable to set icrnl (stty -F /dev/ttyS2 icrnl) for an ftdi device

2010-04-03 Thread Robrecht Dewaele
On 4/3/2010 5:55 PM, Robrecht Dewaele wrote: >> I'm using cygwin 1.7.2 on Windows 7, and I am unable to set the icrnl flag >> for >> /dev/ttyS2 as shown at the bottom of my message. The device attached >> to ttyS2 is a ARM development board which uses an ftdi chip

unable to set icrnl (stty -F /dev/ttyS2 icrnl) for an ftdi device

2010-04-03 Thread Robrecht Dewaele
Hello everyone, I'm using cygwin 1.7.2 on Windows 7, and I am unable to set the icrnl flag for /dev/ttyS2 as shown at the bottom of my message. The device attached to ttyS2 is a ARM development board which uses an ftdi chip for serial communication over USB. (The device is connected with USB, a