This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: arm-wince-pe: argc/argv in startup


Have you tried looking at the win32 sources? They come with visual C++.
Maybe you could implement the function manually based on that info.

----- Original Message -----
From: "Craig Vanderborgh" <craigv@voxware.com>
To: <crossgcc@sources.redhat.com>
Sent: Monday, December 30, 2002 10:34 AM
Subject: arm-wince-pe: argc/argv in startup


Hello All:

I have been able to get a binutils-2.11.90/gcc-3.2 toolchain going.
I am now interested in making argc/argv available in "main()" so
that I can create executables w/gcc that accept command-line args.

Unfortunately it is not at all clear how to do this w/wince 3.0.
I tried to use the mingw sources as a guide, but M$ provides a
function called (__getmainargs) on Windows 95/98/2k... that is
not available on wince.  Dumping out the contents of "corelibc.lib"
hasn't been particularly instructive either.  Does anyone know
how to get command-line arguments for wince 3.0??

TIA, and Happy New Year,
craig vanderborgh
voxware incorporated

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]