<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'Shared Linux Library converted to FreeBSD one' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'Shared Linux Library converted to FreeBSD one' posted on the 'FreeBSD' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Wed, 19 Jun 2013 02:45:29 -0700</pubDate>
    <lastBuildDate>Wed, 19 Jun 2013 02:45:29 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>Shared Linux Library converted to FreeBSD one</title>
      <link>http://www.programmersheaven.com/mb/freeBSD/374124/374124/shared-linux-library-converted-to-freebsd-one/</link>
      <description>Hi there,&lt;br /&gt;
I was wondering if one could do the following. I have some shared library mylib.so compiled natively in 64bit Linux with the gfortran compiler. I new this was not going to work but I took that library and try to write a simple code which calls it in FreeBSD. Then compile the main.cpp natively in FreeBSD and tried to link the main.o with the mylib.so which was compiled in Linux and it is a native Linux library. I could not link. I got errors.&lt;br /&gt;
&lt;br /&gt;
Do not please tell me to compile the executable in Linux and run it in FreeBSD through the Linux compatibility ABI. I do not want to run a Linux executable in FreeBSD. I do not care. I want to be able to compile code in FreeBSD and link it with this Linux library. In order to do this I should be able to remove any code related to Linux  and replace it with the corresponding code (from the object file) a freebsd library should have.&lt;br /&gt;
&lt;br /&gt;
Anyways I could achieve that?&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/freeBSD/374124/374124/shared-linux-library-converted-to-freebsd-one/</guid>
      <pubDate>Wed, 13 Aug 2008 06:24:17 -0700</pubDate>
      <category>FreeBSD</category>
    </item>
  </channel>
</rss>