[lwip-users] where is cc.h and sys_arch.h/c

655 views
Skip to first unread message

BugTraker

unread,
May 17, 2010, 6:10:24 PM5/17/10
to lwip-...@nongnu.org
Hi All,

I'm new to lwIP, read wiki about porting lwIP for RTOS but it mentions
cc.h sys_arch.c sys_arch.h files. Where are they?
Should I create them on my own? If so does it make any difference where?


Regards.

_______________________________________________
lwip-users mailing list
lwip-...@nongnu.org
http://lists.nongnu.org/mailman/listinfo/lwip-users

--
You received this message because you are subscribed to the Google Groups "osdeve.mirror.tcpip.lwip" group.
To post to this group, send email to osdeve_mirro...@googlegroups.com.
To unsubscribe from this group, send email to osdeve_mirror_tcpi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/osdeve_mirror_tcpip_lwip?hl=en.

Kieran Mansley

unread,
May 18, 2010, 4:30:42 AM5/18/10
to Mailing list for lwIP users
On Mon, 2010-05-17 at 23:10 +0100, BugTraker wrote:
> Hi All,
>
> I'm new to lwIP, read wiki about porting lwIP for RTOS but it mentions
> cc.h sys_arch.c sys_arch.h files. Where are they?
> Should I create them on my own? If so does it make any difference where?
>

You have two choices:
1) Hope that someone else has already ported lwIP to the compiler, OS,
hardware that you are using, and use their port which should include
those files.

2) If no one else has done this already, then you'll have to write them
yourself. There are some in the lwIP contrib module (available from CVS
or the download section of the lwIP site on savannah). It doesn't
matter particularly where they go, as long as you configure your
compiler/Makefiles appropriately to find them.

Kieran

gold...@gmx.de

unread,
May 18, 2010, 2:36:30 AM5/18/10
to Mailing list for lwIP users
BugTraker wrote:
> Hi All,
>
> I'm new to lwIP, read wiki about porting lwIP for RTOS but it mentions
> cc.h sys_arch.c sys_arch.h files. Where are they?
>
Example files for porting lwIP to win32 or unix can be found in the
contrib module in CVS or as a ZIP file in the download area.
> Should I create them on my own?
Yes, they have to fit to your processor/architecture (an to your OS if
you are using NO_SYS==0).
> If so does it make any difference where?
>
No. Just put the header files in a place where lwIP can find them (i.e.
you don't have to modify files including them).

Simon

BugTraker

unread,
May 18, 2010, 6:17:55 PM5/18/10
to Mailing list for lwIP users
I think there should be port folder or something like that for ports with scratch files inside, would help people to get up and
running quickly.


Bugtraker.

Kieran Mansley

unread,
May 20, 2010, 6:58:15 AM5/20/10
to Mailing list for lwIP users
On Tue, 2010-05-18 at 23:17 +0100, BugTraker wrote:
> I think there should be port folder or something like that for ports with scratch files inside, would help people to get up and
> running quickly.
>

See the ports directory in the lwIP contrib module.

Kieran


_______________________________________________
lwip-users mailing list
lwip-...@nongnu.org
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply all
Reply to author
Forward
0 new messages