English Amiga Board


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

 
 
Thread Tools
Old 22 October 2017, 14:19   #1
Hedeon
Semi-Retired
 
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 1,993
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 offline  
Old 03 January 2018, 20:56   #2
cla
dev
 
cla's Avatar
 
Join Date: Aug 2014
Location: Copenhagen
Age: 48
Posts: 65
Send a message via ICQ to cla
No one knows this answer?
cla is offline  
Old 13 February 2018, 00:31   #3
Hedeon
Semi-Retired
 
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 1,993
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 offline  
Old 12 March 2018, 00:42   #4
Hedeon
Semi-Retired
 
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 1,993
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 offline  
Old 12 March 2018, 09:28   #5
bebbo
bye
 
Join Date: Jun 2016
Location: Some / Where
Posts: 680
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, 20:35   #6
Hedeon
Semi-Retired
 
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 1,993
I might.

Newlib ported, stdc++ recompiled. Both with gcc 5.3. Some debugging to do.
Hedeon is offline  
Old 12 April 2018, 10:33   #7
bebbo
bye
 
Join Date: Jun 2016
Location: Some / Where
Posts: 680
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, 10:34   #8
Marlon_
AmigaDev.com
 
Marlon_'s Avatar
 
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
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 13:17.
Marlon_ is offline  
Old 12 April 2018, 13:15   #9
Hedeon
Semi-Retired
 
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 1,993
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 offline  
Old 04 November 2018, 11:26   #10
Hedeon
Semi-Retired
 
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 1,993
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 offline  
Old 04 November 2018, 15:08   #11
Cowcat
Registered User
 
Join Date: Apr 2013
Location: Mallorca
Posts: 758
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 22:31
HOL Genre 2.0 - Origin CodyJarrett HOL data problems 1 25 August 2010 13:53
Amiga Assembly sources - Please help! W4r3DeV1L Amiga scene 21 16 July 2008 08:13
EA and Origin spiff Retrogaming General Discussion 3 28 March 2007 12:55
Equivalent libraries from standard c to amiga c _ThEcRoW Coders. General 6 14 December 2005 17: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 03:37.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.08057 seconds with 15 queries