Solved

Porting regex.h

Posted on 2006-10-25
3
388 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

In this article, you will read about the trends across the human resources departments for the upcoming year. Some of them include improving employee experience, adopting new technologies, using HR software to its full extent, and integrating artifi…
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
The viewer will learn how to set up a document for the web and print and the recommended PPI for printing.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

832 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