ts-7000
[Top] [All Lists]

[ts-7000] Configuring Cygwin cross toolchain

To:
Subject: [ts-7000] Configuring Cygwin cross toolchain
From: "Lee" <>
Date: Thu, 16 Feb 2006 21:36:10 -0000
Hi. I'm working with the TS-7250, doing development under Cygwin. 
I've run into a problem I beleive is with the path configuration. On 
my first experiment with the board, I wrote some code to blink the 
LEDs, which worked fine. My next try was to configure the serial port 
and send and recieve some characters. After some checking I 
discovered that the compiler was including the header files for the 
Cygwin default gcc (x86). I've got a pretty good background with 
embedded systems, but none with linux configuration. Is there any 
standard makefile for setting up paths, etc?

The includes from my code are:
#include <stdio.h> 
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/mman.h>
#include <sys/time.h>
#include <fcntl.h>
#include <termios.h>


My makefile includes the following lines:
ARMINCLUDE1 = -I/opt/crosstool/arm-unknown-linux-gnu/gcc-3.3.2-glibc-
2.3.2/arm-unknown-linux-gnu/include
ARMINCLUDE3 = -I/opt/crosstool/arm-unknown-linux-gnu/gcc-3.3.2-glibc-
2.3.2/arm-unknown-linux-gnu/lib/gcc-lib/arm-unknown-linux-
gnu/3.3.2/include

On my attempts to compile my code there have been problems finding a 
number of items. The most common are:
error: parse error before "size_t"
error: parse error before "__gnuc_va_list"

These are from header files, since I haven't used them.

I realize there's probably more info needed, but any suggestions I 
can get would be appreciated. Thanks.

Lee  







 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



<Prev in Thread] Current Thread [Next in Thread>
  • [ts-7000] Configuring Cygwin cross toolchain, Lee <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU