Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - static libc linkage with M6: (4 Items)
   
static libc linkage with M6  
Same symptom as the M4 drop question below.  I checked my libc.so link and it points to the libc.so.2 that is in the M6 
tarball.

My 4.2.1 build produced libc.so linked binaries (of considerably smaller size :-) immediately prior to installing the M6
 drop install.  (Yes, I made realclean, etc.)

Also, some doc for mkxfs would be helpful since mkifs is just a symlink and the 6.3.2 doc has just a "mkxfs -- see mkefs
, mketfs, and mkifs".
RE: static libc linkage with M6  
All of mkefs, mketfs, and mkifs are symlinks to mkxfs, and mkxfs behaves
differently depending on which of these you invoke. That's why the Utilities
Reference points you to the docs for mkefs, mketfs, and mkifs.


Steve Reid (stever@qnx.com)
Technical Editor
QNX Software Systems 
 

> -----Original Message-----
> From: dave carlson [mailto:dcarls07@harris.com] 
> Sent: Thursday, April 10, 2008 9:00 AM
> To: general-toolchain
> Subject: static libc linkage with M6
> 
> 
> Same symptom as the M4 drop question below.  I checked my 
> libc.so link and it points to the libc.so.2 that is in the M6 tarball.
> 
> My 4.2.1 build produced libc.so linked binaries (of 
> considerably smaller size :-) immediately prior to installing 
> the M6 drop install.  (Yes, I made realclean, etc.)
> 
> Also, some doc for mkxfs would be helpful since mkifs is just 
> a symlink and the 6.3.2 doc has just a "mkxfs -- see mkefs, 
> mketfs, and mkifs".
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post6598
> 
Re: static libc linkage with M6  
It appears that even with a good symlink to a good libc.2.so, the 4.2.1 tool chain cannot follow the symlink and so 
builds static binaries.

Thanks for your help... :-(

dave
Re: static libc linkage with M6  
> 
> It appears that even with a good symlink to a good libc.2.so, the 4.2.1 tool 
> chain cannot follow the symlink and so builds static binaries.

When you say you added a good symlink did you mean a cygwin symlink? Or Windows shortcut or were you using the new Vista
 symlinks? cygwin symlinks won't work as the toolchain is now made up of native Windows binaries. And as far as I know 
Windows 2000 and XP doesn't have support for real symlinks.

A PR has been raised and hopefully the next Trinity2 milestone packages will be correct and have copies in place of the 
symlinks but in the meantime, copying over the libraries is the right thing to do.

Regards,

Ryan Mansfield