Solved

Porting regex.h

Posted on 2006-10-25
3
375 Views
Last Modified: 2013-11-15
I am researching a small operating system, visopsys on how it works,
the source code can be downloaded here:
http://visopsys.org/files/visopsys/visopsys-0.63-src.zip

It compiled using all self wriiten include file and C library(It doesn't use gnu standard one).
At the same time it doesn't has the regex.h which is in the standard gcc library. How do I port the regex.h to that program?
0
Comment
Question by:william007
3 Comments
 
LVL 24

Accepted Solution

by:
fridom earned 250 total points
ID: 17803320
Well you have to go for the source and try to recompile them. I have however no ide how easy that is really. I once have found libpcre and I used this on Linux and Windows so I know it's quite portable. It includes also the regex.h stuff rom the regular expressions. So you may like to give it a try also. Goto http://www.pcre.org/ grep the sources install them on your System and try to compile it.

Regards
Friedrich
0
 
LVL 45

Assisted Solution

by:sunnycoder
sunnycoder earned 250 total points
ID: 17803728
gnu code is normally well organized with platform dependent part abstracted to a few files. Your porting effort would be limited to porting these few files.
Go through documentation and code organization to determine the exact effort involved.
0
 
LVL 9

Author Comment

by:william007
ID: 17828659
Thanks=)
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Global Keyboard Hooks Blocked 4 70
Image Deployment Tool 9 75
C++ :Change value from  DisableCMD registry 4 44
forensics tools for file amendments/associations 2 60
I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
Healthcare organizations in the United States must adhere to the guidance of both the HIPAA (Health Insurance Portability and Accountability Act) and HITECH (Health Information Technology for Economic and Clinical Health Act) for securing and protec…
The viewer will learn how to create multiple layers to apply various filters and how to delete areas from each layer’s filter.
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now