English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Language > Coders. C/C++

 
 
Thread Tools
Old 22 October 2017, 15:19   #1
Hedeon
Sonnet Hacker

 
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 837
Origin/sources of the Amiga C libraries

Hello all,

I've been fiddling with MorphOS and WarpOS lately. MorphOS has a nice up-to-date libc.a and WarpOS is lacking one. As I have ppc-morphos-gcc (for now 2.95.3) now building WarpOS binaries, i'd like to upgrade the WarpOS C libraries as it is lacking some functions I need. I looked at libnix, clib2, glibc, libc6 and newlib but got confused.

The question is:

From what source is the libc.a from MorphOS compiled? I can't find it in the SDK source. libstd++ is there, though. Anyone remembers were libc_wos.a comes from?

And while I am at it, from which source is vc.lib compiled from VBCC?

Thanks for any help.
Hedeon is online now  
Old 03 January 2018, 21:56   #2
cla
dev

cla's Avatar
 
Join Date: Aug 2014
Location: Copenhagen
Age: 43
Posts: 63
Send a message via ICQ to cla
No one knows this answer?
cla is offline  
Old 13 February 2018, 01:31   #3
Hedeon
Sonnet Hacker

 
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 837
Nope.

Got a new libgcc and libstd++ now for WarpOS based on gcc4. But if I compile stuff like putwc() is missing. I already have borrowed stuff from libnix and clib2 but those do not support wchar. So I still need a newer (g)libc.
Hedeon is online now  
Old 12 March 2018, 01:42   #4
Hedeon
Sonnet Hacker

 
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 837
Or newlib. Looks easy enough to port. Busy with the libgloss functions and if this works, I'll have a nice up-to-date c lib.

Side effect is I learn a lot about gcc and c.
Hedeon is online now  
Old 12 March 2018, 10:28   #5
bebbo
Registered User

 
Join Date: Jun 2016
Location: Hamburg/Germany
Posts: 307
Quote:
Originally Posted by Hedeon View Post
Or newlib. Looks easy enough to port. Busy with the libgloss functions and if this works, I'll have a nice up-to-date c lib.

Side effect is I learn a lot about gcc and c.
Do you put it on github?
bebbo is offline  
Old 11 April 2018, 21:35   #6
Hedeon
Sonnet Hacker

 
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 837
I might.

Newlib ported, stdc++ recompiled. Both with gcc 5.3. Some debugging to do.
Hedeon is online now  
Old 12 April 2018, 11:33   #7
bebbo
Registered User

 
Join Date: Jun 2016
Location: Hamburg/Germany
Posts: 307
Quote:
Originally Posted by Hedeon View Post
I might.

Newlib ported, stdc++ recompiled. Both with gcc 5.3. Some debugging to do.
Sources in china reported that a sack of rice has fallen over.
bebbo is offline  
Old 12 April 2018, 11:34   #8
Marlon_
Amiga Programmer

Marlon_'s Avatar
 
Join Date: Mar 2016
Location: Sundsvall, Sweden
Age: 30
Posts: 493
Quote:
Originally Posted by bebbo View Post
sources in china reported that a sack of rice has fallen over.

Last edited by Marlon_; 12 April 2018 at 14:17.
Marlon_ is offline  
Old 12 April 2018, 14:15   #9
Hedeon
Sonnet Hacker

 
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 837
Quote:
Originally Posted by bebbo View Post
Sources in china reported that a sack of rice has fallen over.
And Germany had an opinion.
Hedeon is online now  
Old 04 November 2018, 12:26   #10
Hedeon
Sonnet Hacker

 
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 837
Sources for NewLib for WarpOS at:

https://github.com/Sakura-IT/Newlib_WarpOS

It's a cut-and-paste job, but it does what it is supposed to do.
Hedeon is online now  
Old 04 November 2018, 16:08   #11
Cowcat
Registered User
 
Join Date: Apr 2013
Location: Mallorca
Posts: 482
Quote:
it does what it is supposed to do.
It does awesomely.
Cowcat is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Amiga Shopper C Guide Book - Using Amiga libraries Example jonesypeter Coders. C/C++ 6 19 April 2017 23:31
HOL Genre 2.0 - Origin CodyJarrett HOL data problems 1 25 August 2010 14:53
Amiga Assembly sources - Please help! D4Ni3L3 Amiga scene 21 16 July 2008 09:13
EA and Origin spiff Retrogaming General Discussion 3 28 March 2007 13:55
Equivalent libraries from standard c to amiga c _ThEcRoW Coders. General 6 14 December 2005 18:01

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:58.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.07199 seconds with 13 queries