473,486 Members | 1,932 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Compilation of code for both StrongArm and Win32

Hi,

I'm writting an application for a StrongArm target, that is able to run on a
win32 simulator. I'm need to write to the serial port and would like to use
open(), ioctl() and so on without having to use ifdef's for win32 (and then
use _open() etc.)

I'm looking for some sort of wrapper that wraps the win32 api with the
matching POSIX function definitions.

Is it possible and which library could do that? I was wondering if maybe
MinGW, Cygwin, Uwin or something else could do the trick?

Best Regards
Søren
Feb 8 '08 #1
1 1201
Hansen wrote:
I'm writting an application for a StrongArm target, that is able to
run on a win32 simulator. I'm need to write to the serial port and
would like to use open(), ioctl() and so on without having to use
ifdef's for win32 (and then use _open() etc.)

I'm looking for some sort of wrapper that wraps the win32 api with the
matching POSIX function definitions.

Is it possible and which library could do that? I was wondering if
maybe MinGW, Cygwin, Uwin or something else could do the trick?
You should try asking in a Windows programming newsgroup. This does
not seem to be a C++ language problem since accessing hardware is not
defined in the language, it's a platform thing.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Feb 8 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1688
by: Gernot Frisch | last post by:
Hi, I saw that the PocketHAL library has a faster memcpy for large blocks on an StrongARM processor. Can anyone give me the source for such a memcpy? -- -Gernot int main(int argc, char**...
2
1496
by: Connell Gauld | last post by:
Hi, I am having problems compiling a small project in VC++ 6. I have included the error below and the full project (including workspace) can be downloaded here:...
0
1326
by: David Jacques | last post by:
I am developing some c/c++ programs to fetch .zip files from various external spatial data providers. I need to build the libwww libary in order to make sure that I can write code to download...
10
2330
by: Sune | last post by:
Hi, previously I used Eclipse CDT for compiling my files just to get started with C and leave C++ behind. Now it's time to get a little more serious so I've moved my files to a new workplace and...
0
1956
by: Ganapathy | last post by:
I have COM dll code written in VC 6.0. When i tried compiling this code in VC 7, The MIDL cmpiler gets called twice. i.e. it initially compiles fully & immediately a line - 64 bit processing'...
6
1516
by: thomson | last post by:
Hi all, I have compiled by .net web applicaion in my local machine , and a dll has been created on the bin Directory, And i have copied the entire application using xcopy deployment to a...
6
2828
by: maxwell | last post by:
I'm trying to use the gpp utility (Gnu points to http://en.nothingisreal.com/wiki/GPP) to do conditional compilation in Python, and I'm running into a problem: the same '#' character introduces...
8
1608
by: Marc | last post by:
I am studying ASP.NET and have a simple question reading the first lines in this page: http://msdn.microsoft.com/en-us/library/ms366723(VS.80).aspx Are they talking about compilation of C#...
82
2553
by: raashid bhatt | last post by:
is there any standards that tell us how c code has to be compiled into machine code
0
7099
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6964
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
6842
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7319
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5430
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4864
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3070
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1378
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
598
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.