This is the mail archive of the
mailing list for the Cygwin project.
Re: Cygwin Net - Compilation
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: DEEPA SIVASANKARANE <aj9035 at wayne dot edu>
- Cc: cygwin at cygwin dot com
- Date: Tue, 17 Jun 2003 12:42:37 -0400 (EDT)
- Subject: Re: Cygwin Net - Compilation
- Reply-to: cygwin at cygwin dot com
With the flags it's given, the only two directories that umsgcc will
search for include files are
"/home/Administrator/uClinux-dist/linux-2.4.x/include/" and "../include"
(which resolves to "/home/Administrator/uClinux-dist/include", looking at
the current directory). Are those the correct include directories? Do
the missing include files exist in those directories? If not, make sure
you specify the right include directories using the -I flag.
On Tue, 17 Jun 2003, DEEPA SIVASANKARANE wrote:
> Hi Igor,
> Greetings! I'm getting back to this problem, as I had
> to work on another lib. Anyway,just to recap the contents
> 1) I'm using an arch . specific gcc - umsgcc (specs below)
> 2) On compilation unable to find a few include files,
> so, did the foll. (as u suggested)
> 1. mount -u -c '/\' ; to get a "//c" cygdrive prefix.
> 2. mount c:/ /c ; to get $PATH to work.
> I still have the same problem with umsgcc. umsgcc is said to
> support the options that gcc supports. Any suggestions
> ost welcome.
> Make output being:
> make ARCH=UMS CROSS_COMPILE=ums -C linux-2.4.x || exit 1
> make: Entering directory `/home/Administrator/uClinux-dist/linux-2.4.x'
> arch/UMS/Makefile:67: warning: overriding commands for target `archclean'
> arch/UMS/platform/UMS/Rules.make:48: warning: ignoring old commands for target `archclean'
> //c/UMS/bin/umsgcc -fno-builtin -nostdinc -D__KERNEL__ -I/home/Administrator/uClinux-dist/linux-2.4.x/include/ -Wall -Wstrict-prototypes -Wno-trigraphs -O1 -g -fno-strict-aliasing -fno-common -I../include -pipe -DNO_MM -DNO_FPU -Wa, -DMAGIC_ROM_PTR -DUTS_SYSNAME=\"uClinux\" -DKBUILD_BASENAME=main -c -o init/main.o init/main.c
> init/main.c:14:25: No include path in which to find
> init/main.c:15:26: No include path in which to find
> init/main.c:16:34: No include path in which to find
> init/main.c:17:25: No include path in which to find
> Thank you,
> best regards,
> ---- Original message ----
> >Date: Tue, 13 May 2003 14:00:41 -0400 (EDT)
> >From: Igor Pechtchanski <email@example.com>
> >Subject: Re: Cygwin Net - Compilation
> >To: DEEPA SIVASANKARANE <firstname.lastname@example.org>
> >Cc: email@example.com
> >See <http://cygwin.com/faq/faq.html#SEC54>. You may also be able to run
> >the old toolset by setting your cygdrive prefix to "//" (the obvious way,
> >"mount -u -c //", won't work, but you can circumvent it by using
> >"mount -u -c '/\'") -- *NOTE that this will make you unable to access any
> >network share from that user account!*
> > Igor
> >P.S. Try passing the -specs=FILE option to umsgcc -- that should make it
> >read the specs from FILE, unless they *really* diverged from the gcc
|\ _,,,---,,_ firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ email@example.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html