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
Solved

Porting regex.h

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Microsoft  Partnership 1 88
Why is compiler in oracle server ? 9 75
How to set up a video conference between two classrooms 8 35
Supermicro 91 error 8 36
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.
Examines three attack vectors, specifically, the different types of malware used in malicious attacks, web application attacks, and finally, network based attacks.  Concludes by examining the means of securing and protecting critical systems and inf…
This video shows how use content aware, what it’s used for, and when to use it over other tools.
Video by: Tony
This video teaches viewers how to export a project from Adobe Premiere Pro and the various file types involved.

837 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