?
Solved

Porting regex.h

Posted on 2006-10-25
3
Medium Priority
?
407 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 24

Accepted Solution

by:
fridom earned 1000 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 1000 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
If you're a modern-day technology professional, you may be wondering if certifications are really necessary. They are. Here's why.
This video demonstrates basic masking and how to edit the mask to reveal the desired image.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

777 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